How do I get all supported CSS properties in WebKit?
- by NV
In Firefox, Opera and IE I can get it via:
for (k in document.body.style) console.log(k)
- opacity
background
height
textAlign
.
... long list ...
.
pointerEvents
In WebKit an output is quite different:
for (k in document.body.style) console.log(k)
- cssText
length
parentRule
getPropertyValue
getPropertyCSSValue
removeProperty
getPropertyPriority
setProperty
item
getPropertyShorthand
isPropertyImplicit