mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
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.
This commit is contained in:
parent
bf9d05d97a
commit
1c6133aa52
Notes:
github-actions[bot]
2024-09-06 05:51:10 +00:00
Author: https://github.com/AtkinsSJ
Commit: 1c6133aa52
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1291
17 changed files with 346 additions and 27 deletions
8
Userland/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl
Normal file
8
Userland/Libraries/LibWeb/CSS/CSSLayerStatementRule.idl
Normal file
|
@ -0,0 +1,8 @@
|
|||
#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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue