summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Forward.h
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/Forward.h
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/Forward.h')
-rw-r--r--Userland/Libraries/LibWeb/Forward.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Forward.h b/Userland/Libraries/LibWeb/Forward.h
index 2b092f926b..702b890e03 100644
--- a/Userland/Libraries/LibWeb/Forward.h
+++ b/Userland/Libraries/LibWeb/Forward.h
@@ -219,7 +219,7 @@ class SVGSVGElement;
namespace Web::Layout {
enum class LayoutMode;
enum class PaintPhase;
-class BlockBox;
+class BlockContainer;
class BlockFormattingContext;
class Box;
class ButtonBox;