mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
LibWeb: Add the CSSStyleSheet.rules
alias for CSSStyleSheet.cssRules
This commit is contained in:
parent
9b1ea4e2fc
commit
f303905875
Notes:
sideshowbarker
2024-07-16 22:24:48 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/f303905875 Pull-request: https://github.com/SerenityOS/serenity/pull/23327 Reviewed-by: https://github.com/awesomekling
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user