summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/Label.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-02-25 11:04:29 +0100
committerAndreas Kling <kling@serenityos.org>2023-02-28 12:21:56 +0100
commit7e76a51cb058bfc8c3074eab35a88609d6b80bf7 (patch)
tree3cbe1f1e1b15df340f377141000705ab380b31c0 /Userland/Libraries/LibWeb/Layout/Label.cpp
parent60f699338d8574d39e475a71d05e479911390a5a (diff)
downloadserenity-7e76a51cb058bfc8c3074eab35a88609d6b80bf7.zip
LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport
The name "initial containing block" was wrong for this, as it doesn't correspond to the HTML element, and that's specifically what it's supposed to do! :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/Label.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/Label.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/Label.cpp b/Userland/Libraries/LibWeb/Layout/Label.cpp
index 394589ea7c..94d2371d67 100644
--- a/Userland/Libraries/LibWeb/Layout/Label.cpp
+++ b/Userland/Libraries/LibWeb/Layout/Label.cpp
@@ -7,10 +7,10 @@
#include <LibGUI/Event.h>
#include <LibWeb/DOM/Document.h>
#include <LibWeb/DOM/Element.h>
-#include <LibWeb/Layout/InitialContainingBlock.h>
#include <LibWeb/Layout/Label.h>
#include <LibWeb/Layout/LabelableNode.h>
#include <LibWeb/Layout/TextNode.h>
+#include <LibWeb/Layout/Viewport.h>
#include <LibWeb/Painting/LabelablePaintable.h>
namespace Web::Layout {