1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:27:35 +00:00

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
parent 63ca149be5
commit 03c225b023
4 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,4 @@
#import <ARIA/ARIAMixin.idl>
#import <CSS/CSSStyleDeclaration.idl>
#import <DOM/Attr.idl>
#import <DOM/ChildNode.idl>
#import <DOM/DOMTokenList.idl>
@ -62,8 +61,6 @@ interface Element : Node {
readonly attribute Element? nextElementSibling;
readonly attribute Element? previousElementSibling;
[ImplementedAs=style_for_bindings] readonly attribute CSSStyleDeclaration style;
DOMRect getBoundingClientRect();
DOMRectList getClientRects();