mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 18:45:07 +00:00
LibHTML: Add a StyledNode class.
I'd like to try doing DOM -> style tree -> layout tree. I'm not exactly sure how it's gonna work, but we'll figure it out as we go.
This commit is contained in:
parent
8f3f5ac8ce
commit
7a3f59ae3f
3 changed files with 48 additions and 0 deletions
10
LibHTML/CSS/StyledNode.cpp
Normal file
10
LibHTML/CSS/StyledNode.cpp
Normal file
|
@ -0,0 +1,10 @@
|
|||
#include <LibHTML/CSS/StyledNode.h>
|
||||
|
||||
StyledNode::StyledNode(const Node* node)
|
||||
: m_node(node)
|
||||
{
|
||||
}
|
||||
|
||||
StyledNode::~StyledNode()
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue