mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibWeb/CSS: Move property code from CSSStyleDeclaration to *Properties
CSSStyleDeclaration is a base class that's used by various collections of style properties or descriptors. This commit moves all style-property-related code into CSSStyleProperties, where it belongs. As noted in the previous commit, we also apply the CSSStyleProperties prototype now.
This commit is contained in:
parent
83bb92c4e0
commit
a28197669a
Notes:
github-actions[bot]
2025-03-19 13:54:14 +00:00
Author: https://github.com/AtkinsSJ
Commit: a28197669a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3983
12 changed files with 276 additions and 295 deletions
|
@ -1,9 +1,6 @@
|
|||
#import <CSS/GeneratedCSSStyleProperties.idl>
|
||||
|
||||
// https://drafts.csswg.org/cssom/#cssstyledeclaration
|
||||
[Exposed=Window]
|
||||
interface CSSStyleDeclaration {
|
||||
|
||||
[CEReactions] attribute CSSOMString cssText;
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
|
@ -16,9 +13,4 @@ interface CSSStyleDeclaration {
|
|||
[CEReactions] CSSOMString removeProperty(CSSOMString property);
|
||||
|
||||
readonly attribute CSSRule? parentRule;
|
||||
|
||||
[CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
|
||||
|
||||
};
|
||||
|
||||
CSSStyleDeclaration includes GeneratedCSSStyleProperties;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue