How do I get all supported CSS properties in WebKit?
        Posted  
        
            by NV
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by NV
        
        
        
        Published on 2010-04-10T21:01:51Z
        Indexed on 
            2010/04/10
            21:03 UTC
        
        
        Read the original article
        Hit count: 318
        
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
© Stack Overflow or respective owner