LibWeb: Move Element.prototype.style to ElementCSSInlineStyle mixin

Also adds the `PutForwards` extended attribute allowing setting the
style property.
This commit is contained in:
Simon Wanner 2023-03-20 19:31:13 +01:00 committed by Tim Flynn
commit 03c225b023
Notes: sideshowbarker 2024-07-16 23:23:26 +09:00
4 changed files with 11 additions and 3 deletions

View file

@ -0,0 +1,6 @@
#import <CSS/CSSStyleDeclaration.idl>
// https://w3c.github.io/csswg-drafts/cssom/#elementcssinlinestyle
interface mixin ElementCSSInlineStyle {
[SameObject, PutForwards=cssText, ImplementedAs=style_for_bindings] readonly attribute CSSStyleDeclaration style;
};