A live CSSStyleDeclaration-like object: its real methods (cssText, getPropertyValue, setProperty, ...) work as
declared, and any other property name is treated as a camelCase CSS property (declaration.backgroundColor reads /
writes the "background-color" declaration), matching what a real element.style supports.
A live CSSStyleDeclaration-like object: its real methods (cssText, getPropertyValue, setProperty, ...) work as declared, and any other property name is treated as a camelCase CSS property (declaration.backgroundColor reads / writes the "background-color" declaration), matching what a real element.style supports.