mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
This patch adds bindings for the following objects: - StyleSheet - StyleSheetList - CSSStyleSheet You can get to a document's style sheets via Document.styleSheets and iterate through them using StyleSheetList's item() and length(). That's it in terms of functionality at this point, but still neat. :^)
6 lines
284 B
Text
6 lines
284 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);
|
|
};
|