LibWeb: Implement CSSStyleDeclaration.parentRule

This readonly attribute returns the containing CSS rule, or null (in the
case of element inline style).
This commit is contained in:
Andreas Kling 2024-06-14 16:38:23 +02:00 committed by Andreas Kling
commit a12d28fd30
Notes: sideshowbarker 2024-07-18 03:23:00 +09:00
8 changed files with 55 additions and 10 deletions

View file

@ -13,7 +13,7 @@ interface CSSStyleDeclaration {
[CEReactions] undefined setProperty(CSSOMString property, [LegacyNullToEmptyString] CSSOMString value, optional [LegacyNullToEmptyString] CSSOMString priority = "");
[CEReactions] CSSOMString removeProperty(CSSOMString property);
[FIXME] readonly attribute CSSRule? parentRule;
readonly attribute CSSRule? parentRule;
[FIXME, CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
};