LibWeb: Add the CSSStyleSheet.rules alias for CSSStyleSheet.cssRules

This commit is contained in:
Tim Ledbetter 2024-02-24 07:46:59 +00:00 committed by Andreas Kling
parent 9b1ea4e2fc
commit f303905875
Notes: sideshowbarker 2024-07-16 22:24:48 +09:00

View File

@ -16,7 +16,7 @@ interface CSSStyleSheet : StyleSheet {
// FIXME: undefined replaceSync(USVString text);
// https://drafts.csswg.org/cssom/#legacy-css-style-sheet-members
// FIXME: [SameObject] readonly attribute CSSRuleList rules;
[SameObject, ImplementedAs=css_rules] readonly attribute CSSRuleList rules;
// FIXME: long addRule(optional DOMString selector = "undefined", optional DOMString style = "undefined", optional unsigned long index);
undefined removeRule(unsigned long index);
};