summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/HTML/HTMLImageElement.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-11-22 15:53:01 +0100
committerAndreas Kling <kling@serenityos.org>2020-11-22 15:56:27 +0100
commit5aeab9878ebb3b9749be633e9d5812a3181141ca (patch)
treed36c2af3ff959b79ce7886a57a78357015078936 /Libraries/LibWeb/HTML/HTMLImageElement.h
parentf358f2255fec7228b7ddf510936a2b7a150e509e (diff)
downloadserenity-5aeab9878ebb3b9749be633e9d5812a3181141ca.zip
LibWeb: Rename LayoutNode classes and move them into Layout namespace
Bring the names of various boxes closer to spec language. This should hopefully make things easier to understand and hack on. :^) Some notable changes: - LayoutNode -> Layout::Node - LayoutBox -> Layout::Box - LayoutBlock -> Layout::BlockBox - LayoutReplaced -> Layout::ReplacedBox - LayoutDocument -> Layout::InitialContainingBlockBox - LayoutText -> Layout::TextNode - LayoutInline -> Layout::InlineNode Note that this is not strictly a "box tree" as we also hang inline/text nodes in the same tree, and they don't generate boxes. (Instead, they contribute line box fragments to their containing block!)
Diffstat (limited to 'Libraries/LibWeb/HTML/HTMLImageElement.h')
-rw-r--r--Libraries/LibWeb/HTML/HTMLImageElement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/HTML/HTMLImageElement.h b/Libraries/LibWeb/HTML/HTMLImageElement.h
index 011296ad93..a07762bd63 100644
--- a/Libraries/LibWeb/HTML/HTMLImageElement.h
+++ b/Libraries/LibWeb/HTML/HTMLImageElement.h
@@ -53,7 +53,7 @@ private:
void animate();
- virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;
+ virtual RefPtr<Layout::Node> create_layout_node(const CSS::StyleProperties* parent_style) override;
ImageLoader m_image_loader;
};