In Firefox, Opera, and IE, I can get them through:
>> for (k in document.body.style) console.log (k)
-> opacity
background
height
textAlign
.
... long list ...
.
pointerEvents In WebKit, the result is completely different:
>> for (k in document.body.style) console.log (k)
-> cssText
length
parentRule
getPropertyValue
getPropertyCSSValue
removeProperty
getPropertyPriority
setProperty
item
getPropertyShorthand
isPropertyImplicit
Update: The latest WebKit lists CSS properties in HTMLElement.style , just like all browsers do.
javascript dom css webkit
NVI Apr 10 '10 at 21:01 2010-04-10 21:01
source share