mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibWeb: Make CSSStyleDeclaration an abstract class
This patch moves the CSS property+value storage down to a new subclass of CSSStyleDeclaration called PropertyOwningCSSStyleDeclaration. The JavaScript wrapper for CSSStyleDeclaration now calls virtual functions on the C++ object. This is preparation for supporting computed style CSSStyleDeclaration objects which won't have internal property storage, but rather an internal element pointer. :^)
This commit is contained in:
parent
10679b6df2
commit
0bcab60463
9 changed files with 106 additions and 69 deletions
|
@ -22,6 +22,7 @@ class CSSStyleRule;
|
|||
class CSSStyleSheet;
|
||||
class ElementInlineCSSStyleDeclaration;
|
||||
class Length;
|
||||
class PropertyOwningCSSStyleDeclaration;
|
||||
class Screen;
|
||||
class Selector;
|
||||
class StyleProperties;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue