ladybird/Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl
Andreas Kling 3db847c64a LibWeb: Implement CSSRule and CSSStyleDeclaration serialization
There are a handful of FIXME's here, but this seems generally good.
Note that CSS *values* don't get serialized in a spec-compliant way
since we currently rely on StyleValue::to_string() which is ad-hoc.
2021-10-01 20:17:15 +02:00

7 lines
189 B
Text

interface CSSStyleRule {
attribute CSSOMString selectorText;
attribute CSSOMString cssText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
};