diff options
author | Andreas Kling <kling@serenityos.org> | 2021-10-06 20:02:41 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-06 20:10:36 +0200 |
commit | c4826eae4fedaaa00985401aa33c6a7b2f70c11d (patch) | |
tree | a82c9c9025f501bc2e440ec5fb0c57748620bb9b /Userland/Applications/Browser | |
parent | 5408913b22abcbae26a15423bfa6b373182d8c6e (diff) | |
download | serenity-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/Applications/Browser')
-rw-r--r-- | Userland/Applications/Browser/Tab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index 46db749e8b..098e3eadb4 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -30,7 +30,7 @@ #include <LibGUI/Window.h> #include <LibJS/Interpreter.h> #include <LibWeb/HTML/SyntaxHighlighter/SyntaxHighlighter.h> -#include <LibWeb/Layout/BlockBox.h> +#include <LibWeb/Layout/BlockContainer.h> #include <LibWeb/Layout/InitialContainingBlock.h> #include <LibWeb/Loader/ResourceLoader.h> #include <LibWeb/OutOfProcessWebView.h> |