summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/TableBox.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-10-06 20:02:41 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-06 20:10:36 +0200
commitc4826eae4fedaaa00985401aa33c6a7b2f70c11d (patch)
treea82c9c9025f501bc2e440ec5fb0c57748620bb9b /Userland/Libraries/LibWeb/Layout/TableBox.cpp
parent5408913b22abcbae26a15423bfa6b373182d8c6e (diff)
downloadserenity-c4826eae4fedaaa00985401aa33c6a7b2f70c11d.zip
LibWeb: Rename Layout::BlockBox => BlockContainer
There's a subtle difference here. A "block box" in the spec is a block-level box, while a "block container" is a box whose children are either all inline-level boxes in an IFC, or all block-level boxes participating in a BFC. Notably, an "inline-block" box is a "block container" but not a "block box" since it is itself inline-level.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/TableBox.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/TableBox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TableBox.cpp b/Userland/Libraries/LibWeb/Layout/TableBox.cpp
index 8fb8b9eccc..179ac6b233 100644
--- a/Userland/Libraries/LibWeb/Layout/TableBox.cpp
+++ b/Userland/Libraries/LibWeb/Layout/TableBox.cpp
@@ -10,12 +10,12 @@
namespace Web::Layout {
TableBox::TableBox(DOM::Document& document, DOM::Element* element, NonnullRefPtr<CSS::StyleProperties> style)
- : Layout::BlockBox(document, element, move(style))
+ : Layout::BlockContainer(document, element, move(style))
{
}
TableBox::TableBox(DOM::Document& document, DOM::Element* element, CSS::ComputedValues computed_values)
- : Layout::BlockBox(document, element, move(computed_values))
+ : Layout::BlockContainer(document, element, move(computed_values))
{
}