fixed firefox bugs and improve specs.html
'css' -> 'getStyle' and 'setStyle'