mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 09:48:56 +00:00
LibWeb: Implement CSSNestedDeclarations type
This is basically a list of properties, without a block around it. It'll be part of CSSStyleRules' contents.
This commit is contained in:
parent
5b4d1b5b05
commit
9c66ab356a
Notes:
github-actions[bot]
2024-10-17 18:57:40 +00:00
Author: https://github.com/AtkinsSJ
Commit: 9c66ab356a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1842
Reviewed-by: https://github.com/awesomekling
13 changed files with 155 additions and 26 deletions
9
Userland/Libraries/LibWeb/CSS/CSSNestedDeclarations.idl
Normal file
9
Userland/Libraries/LibWeb/CSS/CSSNestedDeclarations.idl
Normal file
|
@ -0,0 +1,9 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
#import <CSS/CSSStyleDeclaration.idl>
|
||||
|
||||
// https://drafts.csswg.org/css-nesting-1/#cssnesteddeclarations
|
||||
[Exposed=Window]
|
||||
interface CSSNestedDeclarations : CSSRule {
|
||||
// FIXME: Should be a CSSStyleProperties, once we have that
|
||||
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue