mirror of
https://github.com/SerenityOS/serenity
synced 2026-04-26 17:45:15 +02:00
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)
7 lines
218 B
Plaintext
7 lines
218 B
Plaintext
#import <CSS/CSSGroupingRule.idl>
|
|
|
|
// https://drafts.csswg.org/css-cascade-5/#the-csslayerblockrule-interface
|
|
[Exposed=Window]
|
|
interface CSSLayerBlockRule : CSSGroupingRule {
|
|
readonly attribute CSSOMString name;
|
|
}; |