LibHTML: Create anonymous blocks around inline children of blocks.

This commit is contained in:
Andreas Kling 2019-07-08 17:42:23 +02:00
commit fc127eb769
Notes: sideshowbarker 2024-07-19 13:22:00 +09:00
9 changed files with 33 additions and 17 deletions

View file

@ -2,7 +2,7 @@
#include <LibHTML/Layout/LayoutNode.h>
#include <LibHTML/CSS/StyledNode.h>
LayoutNode::LayoutNode(const Node* node, const StyledNode& styled_node)
LayoutNode::LayoutNode(const Node* node, const StyledNode* styled_node)
: m_node(node)
, m_styled_node(styled_node)
{