summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSRule.idl
AgeCommit message (Collapse)Author
2021-10-01LibWeb: Implement CSSRule and CSSStyleDeclaration serializationAndreas Kling
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-09-29LibWeb: Make CSSRule and CSSRuleList available to JavaScript :^)Andreas Kling
This patch makes both of these classes inherit from RefCounted and Bindings::Wrappable, plus some minimal rejigging to allow us to keep using them internally while also exposing them to web content.