ladybird/Userland/Libraries/LibWeb/CSS/CSSStyleRule.idl
Sam Atkins 7723873016 LibWeb/CSS: Make CSSStyleRule be a CSSGroupingRule
As part of this, we can now fill in the missing serialization steps.

The parsing is a stub for now, and will be filled out in a subsequent
commit.
2024-10-14 08:08:37 +02:00

9 lines
322 B
Text

#import <CSS/CSSGroupingRule.idl>
#import <CSS/CSSStyleDeclaration.idl>
// https://drafts.csswg.org/cssom/#the-cssstylerule-interface
[Exposed=Window]
interface CSSStyleRule : CSSGroupingRule {
attribute CSSOMString selectorText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
};