Files
serenity/Userland/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl
Sam Atkins 068d7236cc LibWeb/CSS: Add CSSOM types for @layer rules
Depending on usage, `@layer` has two forms, with two different CSSOM
types. One simply lists layer names and the other defines a layer with
its contained rules.

(cherry picked from commit 1c6133aa523fe29c25b11284d8b3353de0a03c0f)
2024-10-20 21:09:21 -04:00

8 lines
275 B
Plaintext

#import <CSS/CSSRule.idl>
// https://drafts.csswg.org/css-cascade-5/#the-csslayerstatementrule-interface
[Exposed=Window]
interface CSSLayerStatementRule : CSSRule {
// FIXME: Should be a FrozenArray<CSSOMString>
readonly attribute sequence<CSSOMString> nameList;
};