ladybird/Userland/Libraries/LibWeb/CSS/CSSStyleSheet.idl
Andreas Kling 3a4565beec LibWeb: Make CSSRule and CSSRuleList available to JavaScript :^)
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.
2021-09-29 21:21:57 +02:00

6 lines
281 B
Text

interface CSSStyleSheet : StyleSheet {
// readonly attribute CSSRule? ownerRule;
[SameObject] readonly attribute CSSRuleList cssRules;
// unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
// undefined deleteRule(unsigned long index);
};