Skip to content

Truly independent web browser

LibWeb: Give whitespace-only text a box only where it can render

Aliaksandr Kalenik7eb3fd1001fa
diff --git a/Libraries/LibWeb/CSS/StyleInvalidation.cpp b/Libraries/LibWeb/CSS/StyleInvalidation.cpp
index 7f2e8f4a106..1b95712b38c 100644
--- a/Libraries/LibWeb/CSS/StyleInvalidation.cpp
+++ b/Libraries/LibWeb/CSS/StyleInvalidation.cpp
@@ -33,6 +33,7 @@ RequiredInvalidationAfterStyleChange decode_style_invalidation(u32 packed)
result.non_inherited_property_inheritance_sources_changed = packed & to_underlying(NonInheritedInheritanceSource);
result.affects_hit_testing = packed & to_underlying(AffectsHitTesting);
result.repaint_highlights = packed & to_underlying(RepaintHighlights);
+ result.white_space_collapse_changed = packed & to_underlying(WhiteSpaceCollapseChanged);
return result;
}
diff --git a/Libraries/LibWeb/CSS/StyleInvalidation.h b/Libraries/LibWeb/CSS/StyleInvalidation.h
index 51af406f15a..7cac98117c0 100644
--- a/Libraries/LibWeb/CSS/StyleInvalidation.h
+++ b/Libraries/LibWeb/CSS/StyleInvalidation.h
@@ -99,6 +99,9 @@ struct RequiredInvalidationAfterStyleChange {
bool repaint_propagated_text_decorations : 1 { false };
// Highlight pseudo-elements are painted by text descendants, even when the element has no box.
bool repaint_highlights : 1 { false };
+ // The white space of the element's text children collapses where it did not, or the other way round, so the white
+ // space text among them may gain or lose its box.
+ bool white_space_collapse_changed : 1 { false };
bool affects_hit_testing : 1 { false };
// A non-inherited property changed without any other invalidation, which happens when a running
// animation covers the property. Descendants that explicitly inherit non-inherited properties
@@ -123,6 +126,7 @@ struct RequiredInvalidationAfterStyleChange {
m_inherited_style_groups_changed |= other.m_inherited_style_groups_changed;
repaint_propagated_text_decorations |= other.repaint_propagated_text_decorations;
repaint_highlights |= other.repaint_highlights;
+ white_space_collapse_changed |= other.white_space_collapse_changed;
affects_hit_testing |= other.affects_hit_testing;
non_inherited_property_inheritance_sources_changed |= other.non_inherited_property_inheritance_sources_changed;
}
@@ -136,6 +140,7 @@ struct RequiredInvalidationAfterStyleChange {
&& !recompute_descendant_styles
&& !inherited_style_changed()
&& !repaint_highlights
+ && !white_space_collapse_changed
&& !affects_hit_testing
&& !repaint_propagated_text_decorations
&& !non_inherited_property_inheritance_sources_changed;
diff --git a/Libraries/LibWeb/CSS/UpdateStyle.cpp b/Libraries/LibWeb/CSS/UpdateStyle.cpp
index e5d12d12408..b22780e2b87 100644
--- a/Libraries/LibWeb/CSS/UpdateStyle.cpp
+++ b/Libraries/LibWeb/CSS/UpdateStyle.cpp
@@ -142,6 +142,8 @@ static void apply_element_style_invalidation_after_style_change(Layout::BegunRea
}
if (invalidation.needs_layout_tree_rebuild())
element.set_needs_layout_tree_rebuild(read, DOM::SetNeedsLayoutTreeUpdateReason::StyleChange, invalidation.layout_tree_rebuild_root());
+ else if (invalidation.white_space_collapse_changed)
+ element.set_needs_layout_tree_update(true, DOM::SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange);
}
static void apply_document_style_invalidation_after_style_change(DOM::Document& document, RequiredInvalidationAfterStyleChange const& invalidation)
diff --git a/Libraries/LibWeb/DOM/CharacterData.cpp b/Libraries/LibWeb/DOM/CharacterData.cpp
index ac532c0d691..31c6850a25d 100644
--- a/Libraries/LibWeb/DOM/CharacterData.cpp
+++ b/Libraries/LibWeb/DOM/CharacterData.cpp
@@ -5,14 +5,17 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
+#include <AK/CharacterTypes.h>
#include <AK/Utf16StringBuilder.h>
#include <LibJS/Runtime/ExternalMemory.h>
#include <LibUnicode/Segmenter.h>
+#include <LibWeb/CSS/ComputedValues.h>
#include <LibWeb/CSS/Invalidation/LanguageInvalidator.h>
#include <LibWeb/CSS/PseudoClass.h>
#include <LibWeb/CSS/StyleEngineInput.h>
#include <LibWeb/DOM/CharacterData.h>
#include <LibWeb/DOM/Document.h>
+#include <LibWeb/DOM/Element.h>
#include <LibWeb/DOM/MutationType.h>
#include <LibWeb/DOM/Range.h>
#include <LibWeb/DOM/Text.h>
@@ -48,6 +51,33 @@ CharacterData::RareData const* CharacterData::character_data_rare_data() const
GC_DEFINE_ALLOCATOR(CharacterData);
+static bool ends_in_ascii_whitespace(Utf16String const& data)
+{
+ return !data.is_empty() && is_ascii_space(data.code_unit_at(data.length_in_code_units() - 1));
+}
+
+// Whether white space text may follow the node among the boxes of its parent, with no in-flow box between them.
+static bool whitespace_text_may_follow(Node const& node)
+{
+ for (auto const* sibling = node.next_sibling(); sibling; sibling = sibling->next_sibling()) {
+ if (auto const* text = as_if<Text>(*sibling))
+ return text->data().is_ascii_whitespace();
+ auto const* element = as_if<Element>(*sibling);
+ auto const* box_values = element ? element->style_group<CSS::ComputedValues::BoxValues>() : nullptr;
+ if (!box_values)
+ continue;
+ auto display = box_values->display_value();
+ // The children of a display: contents element continue the boxes before it.
+ if (display.is_contents())
+ return true;
+ auto is_out_of_flow = box_values->float_value() != CSS::Float::None
+ || first_is_one_of(box_values->position_value(), CSS::Positioning::Absolute, CSS::Positioning::Fixed);
+ if (!display.is_none() && !is_out_of_flow)
+ return false;
+ }
+ return false;
+}
+
CharacterData::CharacterData(Document& document, NodeType type, Utf16String data)
: Node(document, type)
, m_data(move(data))
@@ -198,17 +228,20 @@ WebIDL::ExceptionOr<void> CharacterData::replace_data(size_t offset, size_t coun
Layout::RustFFI::FfiBoxMarks marks {};
marks.text_data_changed = true;
mark_box(marks);
- // Whitespace alone may render as nothing, so a text that turns into it or out of it may gain or lose its box.
- if (whitespace_only_changed && is_connected()) {
- if (has_layout_box())
+ // White space alone may render as nothing, so a text that turns into it or out of it may gain or lose its box.
+ // So may white space text after it, which renders nothing after text ending in collapsible white space.
+ auto trailing_whitespace_changed = ends_in_ascii_whitespace(old_data) != ends_in_ascii_whitespace(m_data);
+ if (is_connected() && (whitespace_only_changed || (trailing_whitespace_changed && whitespace_text_may_follow(*this)))) {
+ if (!has_layout_box())
+ set_needs_layout_tree_update(true, SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange);
+ else if (whitespace_only_changed)
set_needs_layout_tree_update(true, SetNeedsLayoutTreeUpdateReason::CharacterDataReplaceData);
- else if (auto* parent = this->parent())
- parent->set_needs_layout_tree_update(true, SetNeedsLayoutTreeUpdateReason::CharacterDataReplaceData);
-
- // NB: Paint timing stops looking at text that is all white space, which this text no longer is.
- if (!m_data.is_ascii_whitespace())
- PaintTiming::text_node_may_be_painted_for_the_first_time(as<Text>(*this));
+ if (auto* parent = this->parent())
+ parent->set_needs_layout_tree_update(true, SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange);
}
+ // NB: Paint timing stops looking at text that is all white space, which this text no longer is.
+ if (whitespace_only_changed && is_connected() && !m_data.is_ascii_whitespace())
+ PaintTiming::text_node_may_be_painted_for_the_first_time(as<Text>(*this));
}
bump_character_data_version();
diff --git a/Libraries/LibWeb/DOM/CommitMessages.cpp b/Libraries/LibWeb/DOM/CommitMessages.cpp
index c40a7c38d81..d89c1e20cbc 100644
--- a/Libraries/LibWeb/DOM/CommitMessages.cpp
+++ b/Libraries/LibWeb/DOM/CommitMessages.cpp
@@ -60,6 +60,13 @@ void CommitMessages::append(Layout::BegunRead const& read, Layout::RustFFI::FfiC
.layout_tree_update_reason = SetNeedsLayoutTreeUpdateReason::PseudoElementBoxEscapedRebuildRoot,
});
return;
+ case Layout::RustFFI::FfiCommitMessageKind::WhitespaceTextBoxesStale:
+ m_messages.append({
+ .identity = identity,
+ .kind = Kind::NeedsLayoutTreeUpdate,
+ .layout_tree_update_reason = SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange,
+ });
+ return;
case Layout::RustFFI::FfiCommitMessageKind::TopLayerZoneRebuildNeeded:
m_messages.append({ .identity = identity, .kind = Kind::TopLayerZoneRebuildNeeded });
return;
diff --git a/Libraries/LibWeb/DOM/Node.cpp b/Libraries/LibWeb/DOM/Node.cpp
index dbf2d447778..f93547c06dd 100644
--- a/Libraries/LibWeb/DOM/Node.cpp
+++ b/Libraries/LibWeb/DOM/Node.cpp
@@ -2512,6 +2512,15 @@ void Node::recompute_editable_subtree_flags_and_repaint()
marks.is_editing_host = node.is_editing_host();
marks.produces_line_box_fragment_when_empty = produces_line_box_fragment_when_empty(node);
node.mark_box(marks);
+ // White space that renders nothing has no box, except where the caret anchors in it: an editing host's text.
+ if (auto* text = as_if<Text>(node); text && text->is_connected() && text->data().is_ascii_whitespace()) {
+ if (marks.produces_line_box_fragment_when_empty != text->has_layout_box()) {
+ if (!text->has_layout_box())
+ text->set_needs_layout_tree_update(true, SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange);
+ if (auto* parent = text->parent())
+ parent->set_needs_layout_tree_update(true, SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange);
+ }
+ }
return TraversalDecision::Continue;
});
document().page().keyboard_scroll_editability_changed(document());
@@ -2674,6 +2683,7 @@ static bool is_structural_boundary_self_rebuild_reason(SetNeedsLayoutTreeUpdateR
{
switch (reason) {
case SetNeedsLayoutTreeUpdateReason::NodeInsertBefore:
+ case SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange:
case SetNeedsLayoutTreeUpdateReason::NodeRemove:
case SetNeedsLayoutTreeUpdateReason::NodeSetTextContent:
case SetNeedsLayoutTreeUpdateReason::CharacterDataReplaceData:
@@ -2784,7 +2794,8 @@ void Node::set_needs_layout_tree_update(bool value, SetNeedsLayoutTreeUpdateReas
Layout::RustFFI::render_state_apply_layout_tree_update_mark(marks, box_owner.style_node().value(),
{
.reuse_reason = reuse_reason,
- .is_child_list_insertion = reason == SetNeedsLayoutTreeUpdateReason::NodeInsertBefore,
+ .is_child_list_insertion = reason == SetNeedsLayoutTreeUpdateReason::NodeInsertBefore
+ || reason == SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange,
.is_structural_boundary_self_rebuild = is_structural_boundary_self_rebuild_reason(reason),
});
}
@@ -2797,7 +2808,8 @@ void Node::set_needs_layout_tree_update(bool value, SetNeedsLayoutTreeUpdateReas
u8 Node::layout_tree_update_reuse_reason(SetNeedsLayoutTreeUpdateReason reason)
{
- if (reason == SetNeedsLayoutTreeUpdateReason::NodeInsertBefore)
+ // A white space text that gains or loses its box changes its parent's child list as an insertion does.
+ if (reason == SetNeedsLayoutTreeUpdateReason::NodeInsertBefore || reason == SetNeedsLayoutTreeUpdateReason::WhitespaceTextBoxChange)
return ChildListInsertion;
if (reason == SetNeedsLayoutTreeUpdateReason::PseudoElementChange)
return PseudoElementChange;
diff --git a/Libraries/LibWeb/DOM/Node.h b/Libraries/LibWeb/DOM/Node.h
index adb9ba33df3..4e2c0054793 100644
--- a/Libraries/LibWeb/DOM/Node.h
+++ b/Libraries/LibWeb/DOM/Node.h
@@ -138,6 +138,7 @@ enum class SetNeedsLayoutReason {
X(SVGResourceElementRemoved) \
X(SVGResourceReferenceChange) \
X(TopLayerMembershipChange) \
+ X(WhitespaceTextBoxChange) \
X(WritingSuggestionChange)
enum class SetNeedsLayoutTreeUpdateReason {
diff --git a/Libraries/LibWeb/Rust/src/css/style/bridge.rs b/Libraries/LibWeb/Rust/src/css/style/bridge.rs
index 2d4c9a9f8f3..ec96d508f5d 100644
--- a/Libraries/LibWeb/Rust/src/css/style/bridge.rs
+++ b/Libraries/LibWeb/Rust/src/css/style/bridge.rs
@@ -81,6 +81,9 @@ pub enum FfiStyleInvalidationField {
EngineComputed = 1 << 23,
/// Highlight pseudo-elements, which text descendants paint, repaint.
RepaintHighlights = 1 << 24,
+ /// The white space of the element's text children collapses where it did not, or the other way round, so the white
+ /// space text among them may gain or lose its box.
+ WhiteSpaceCollapseChanged = 1 << 25,
}
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq)]
diff --git a/Libraries/LibWeb/Rust/src/css/style/inputs.rs b/Libraries/LibWeb/Rust/src/css/style/inputs.rs
index c5bc60da55e..a904ce439f8 100644
--- a/Libraries/LibWeb/Rust/src/css/style/inputs.rs
+++ b/Libraries/LibWeb/Rust/src/css/style/inputs.rs
@@ -899,6 +899,18 @@ impl RetainedState {
}
}
+ /// Whether the text node collapses its white space, as the element it inherits from publishes: its slot, its
+ /// parent, or the host of the shadow root it is a child of. `None` where no element publishes a style for it.
+ #[must_use]
+ pub fn text_collapses_white_space(&self, node: StyleNodeID) -> Option<bool> {
+ let parent = self
+ .tree
+ .inheritance_parent(node)
+ .filter(|parent| !self.tree.is_relation_only(*parent))?;
+ let view = self.published_style_record_view(self.published_element_record(parent))?;
+ Some(view.white_space_collapse() == crate::css::css_enums::white_space_collapse::COLLAPSE)
+ }
+
/// Whether the text node's data is nothing but ASCII whitespace.
#[must_use]
pub fn text_is_ascii_whitespace(&self, node: StyleNodeID) -> bool {
diff --git a/Libraries/LibWeb/Rust/src/css/style/style_invalidation.rs b/Libraries/LibWeb/Rust/src/css/style/style_invalidation.rs
index 1048ec35405..493f3ccf5e8 100644
--- a/Libraries/LibWeb/Rust/src/css/style/style_invalidation.rs
+++ b/Libraries/LibWeb/Rust/src/css/style/style_invalidation.rs
@@ -53,6 +53,7 @@ struct StyleInvalidation {
any_computed_value_changed: bool,
affects_hit_testing: bool,
repaint_highlights: bool,
+ white_space_collapse_changed: bool,
}
impl StyleInvalidation {
@@ -103,6 +104,7 @@ impl StyleInvalidation {
self.any_computed_value_changed |= other.any_computed_value_changed;
self.affects_hit_testing |= other.affects_hit_testing;
self.repaint_highlights |= other.repaint_highlights;
+ self.white_space_collapse_changed |= other.white_space_collapse_changed;
}
/// Whether the damage stays in the box of its element: no layout tree, stacking context, visual context, scroll
@@ -137,6 +139,7 @@ impl StyleInvalidation {
any_computed_value_changed: has(FfiStyleInvalidationField::AnyComputedValueChanged),
affects_hit_testing: has(FfiStyleInvalidationField::AffectsHitTesting),
repaint_highlights: has(FfiStyleInvalidationField::RepaintHighlights),
+ white_space_collapse_changed: has(FfiStyleInvalidationField::WhiteSpaceCollapseChanged),
}
}
@@ -156,6 +159,8 @@ impl StyleInvalidation {
u32::from(self.any_computed_value_changed) * FfiStyleInvalidationField::AnyComputedValueChanged as u32;
packed |= u32::from(self.affects_hit_testing) * FfiStyleInvalidationField::AffectsHitTesting as u32;
packed |= u32::from(self.repaint_highlights) * FfiStyleInvalidationField::RepaintHighlights as u32;
+ packed |=
+ u32::from(self.white_space_collapse_changed) * FfiStyleInvalidationField::WhiteSpaceCollapseChanged as u32;
packed
}
}
@@ -179,6 +184,7 @@ pub(super) fn child_reaction_facts_of_damage(damages: impl IntoIterator<Item = u
&& !damage.recompute_descendants
&& damage.inherited_groups == 0
&& !damage.repaint_highlights
+ && !damage.white_space_collapse_changed
&& !damage.affects_hit_testing
&& !damage.repaint_text_decorations
&& !damage.non_inherited_inheritance_source
@@ -558,6 +564,11 @@ fn property_invalidation(property: u16, old: ComputedValuesView<'_>, new: Comput
) {
result.ensure_visual_context(VISUAL_CONTEXT_UPDATE_VALUES);
}
+ if property == property_id::WHITE_SPACE_COLLAPSE {
+ let collapse = crate::css::css_enums::white_space_collapse::COLLAPSE;
+ result.white_space_collapse_changed =
+ (old.white_space_collapse() == collapse) != (new.white_space_collapse() == collapse);
+ }
if property == property_id::TEXT_DECORATION_LINE {
result.repaint_text_decorations = true;
} else if matches!(
diff --git a/Libraries/LibWeb/Rust/src/layout/box_removal.rs b/Libraries/LibWeb/Rust/src/layout/box_removal.rs
index ad7a867875d..fd86f5984e5 100644
--- a/Libraries/LibWeb/Rust/src/layout/box_removal.rs
+++ b/Libraries/LibWeb/Rust/src/layout/box_removal.rs
@@ -11,7 +11,7 @@
use super::LayoutNodeArena;
use super::layout_changes::LayoutWrite;
-use super::node_data::{NodeFlag, NodeSlotId};
+use super::node_data::{NodeFlag, NodeKind, NodeSlotId};
use super::node_facts::{self, has_flag};
use super::quote_depth::box_subtree_moves_quote_depth;
use super::tree_builder::node_kind_is_node_with_style;
@@ -63,6 +63,80 @@ pub(crate) struct BoxRemoval {
}
impl LayoutNodeArena {
+ /// Whether white space text may come at or after `sibling` among the children of its parent, before the next one
+ /// with an in-flow box. The children of a `display: contents` element continue the boxes before it.
+ fn whitespace_text_may_follow(&self, sibling: Option<StyleNodeID>) -> bool {
+ use crate::css::css_enums::float;
+ use crate::css::style::bridge::element_adjustment_fact::RENDERED_IN_TOP_LAYER;
+ self.with_style_store(|engine| {
+ let mut sibling = sibling;
+ while let Some(current) = sibling {
+ if current.text_index().is_some() {
+ return engine.tree().text_is_ascii_whitespace(current);
+ }
+ let Some(facts) = engine.element_published_box_facts(current) else {
+ return true;
+ };
+ if facts.display.is_contents() {
+ return true;
+ }
+ let lays_out_elsewhere = facts.display.is_none()
+ || facts.position == positioning::ABSOLUTE
+ || facts.position == positioning::FIXED
+ || facts.float_ != float::NONE
+ || engine.element_adjustment_facts(current) & RENDERED_IN_TOP_LAYER != 0;
+ if !lays_out_elsewhere {
+ return false;
+ }
+ sibling = engine.tree().next_sibling_in_dom_order(current);
+ }
+ false
+ })
+ }
+
+ /// Whether white space text right after the in-flow box `child` of `parent` renders nothing both while `child` is
+ /// there and once it leaves: `child` is block-level, and so is the in-flow box before it, or there is none in a
+ /// parent whose content starts with no line.
+ fn whitespace_after_renders_nothing_either_way(&self, parent: NodeSlotId, child: NodeSlotId) -> bool {
+ let ends_a_line = |row: NodeSlotId| {
+ let data = self.data(row);
+ let display = self.display_of(row);
+ !has_flag(data, NodeFlag::Anonymous)
+ && node_kind_is_node_with_style(data.kind.get())
+ && !display.is_internal_table()
+ && !display.is_table_caption()
+ && (data.kind.get() == NodeKind::BreakNode || !display.is_inline_outside())
+ };
+ if !ends_a_line(child) {
+ return false;
+ }
+ let mut previous = self.data(child).previous_sibling.get();
+ while !previous.is_invalid()
+ && node_kind_is_node_with_style(self.data(previous).kind.get())
+ && node_facts::node_is_out_of_flow(self.data(previous), self.node_style_if_live(previous))
+ {
+ previous = self.data(previous).previous_sibling.get();
+ }
+ if previous.is_invalid() {
+ return !matches!(
+ self.data(parent).kind.get(),
+ NodeKind::InlineNode | NodeKind::ListItemBox
+ );
+ }
+ ends_a_line(previous)
+ }
+
+ /// The anonymous wrapper whose only child is `row`, as an absolutely positioned box that is inline-level in flow
+ /// has among block-level siblings, which leaves with it.
+ fn anonymous_wrapper_holding_only(&self, row: NodeSlotId) -> Option<NodeSlotId> {
+ let parent = self.data(row).parent.get();
+ (!parent.is_invalid()
+ && has_flag(self.data(parent), NodeFlag::Anonymous)
+ && self.data(parent).first_child.get() == row
+ && self.data(parent).last_child.get() == row)
+ .then_some(parent)
+ }
+
fn display_of(&self, row: NodeSlotId) -> FfiDisplay {
self.node_style_if_live(row)
.map_or_else(FfiDisplay::block, |style| style.display())
@@ -103,6 +177,13 @@ impl LayoutNodeArena {
if child_data.parent.get() != parent || node_facts::node_is_out_of_flow(child_data, child_style) {
return false;
}
+ // White space text after the box renders depending on the box before it, so it may gain or lose its box with
+ // the one that leaves.
+ if !self.whitespace_after_renders_nothing_either_way(parent, child)
+ && self.whitespace_text_may_follow(StyleNodeID::from_raw(facts.next_sibling.style_node))
+ {
+ return false;
+ }
let parent_data = self.data(parent);
if !node_kind_is_node_with_style(parent_data.kind.get()) {
return false;
@@ -187,6 +268,10 @@ impl LayoutNodeArena {
// The box's own style still says what it was, so its level comes from where it sits: a block container with
// block-level children holds block-level boxes, one with inline-level children inline-level ones, of which
// only an atomic inline leaves in place.
+ // A build that takes the box out would leave the anonymous wrapper that holds only it behind.
+ if self.anonymous_wrapper_holding_only(row).is_some() {
+ return false;
+ }
let box_is_block_level = !has_flag(self.data(parent_row), NodeFlag::ChildrenAreInline);
if !box_is_block_level && self.data(row).kind.get() == super::node_data::NodeKind::InlineNode {
return false;
@@ -249,12 +334,13 @@ impl BoxRemoval {
if parent_contains_removed_abspos_box {
arena.note_contained_abspos_child_removal(parent_row, child_row);
}
+ let dropped_row = arena.anonymous_wrapper_holding_only(child_row).unwrap_or(child_row);
owed.push(
- LayoutWrite::PrepareSubtreeForRemoval { root: child_row }
+ LayoutWrite::PrepareSubtreeForRemoval { root: dropped_row }
.apply(arena)
.host_work,
);
- let dropped = LayoutWrite::DropSubtree { root: child_row }.apply(arena);
+ let dropped = LayoutWrite::DropSubtree { root: dropped_row }.apply(arena);
assert!(dropped.was_attached, "a box detached in place is its parent's child");
owed.push(dropped.host_work);
if arena.data(parent_row).first_child.get().is_invalid() {
diff --git a/Libraries/LibWeb/Rust/src/layout/commit.rs b/Libraries/LibWeb/Rust/src/layout/commit.rs
index 9cb17ea7a87..f5b370fe68f 100644
--- a/Libraries/LibWeb/Rust/src/layout/commit.rs
+++ b/Libraries/LibWeb/Rust/src/layout/commit.rs
@@ -18,6 +18,9 @@ pub enum FfiCommitMessageKind {
/// The node is the element a box escaped its rebuild root under, so its layout tree has to be
/// built again.
LayoutTreeRebuildRequested,
+ /// The node is the element whose box keeps a white space text whose box the build could not add or take away
+ /// without building the element's child list again.
+ WhitespaceTextBoxesStale,
/// A top layer member was reached with no box and nothing scheduled to rebuild it, so the
/// document has to run another top layer zone pass. This one is about the document itself.
TopLayerZoneRebuildNeeded,
diff --git a/Libraries/LibWeb/Rust/src/layout/tree_builder.rs b/Libraries/LibWeb/Rust/src/layout/tree_builder.rs
index 6651bf78840..88fe5921439 100644
--- a/Libraries/LibWeb/Rust/src/layout/tree_builder.rs
+++ b/Libraries/LibWeb/Rust/src/layout/tree_builder.rs
@@ -27,6 +27,12 @@ use crate::layout::tree_update_marks::layout_tree_update_reuse_reason;
use crate::layout::{ComputedValuesView, FfiDisplay};
use crate::painting::paint_read::PaintRead;
+mod whitespace_text_boxes;
+
+use whitespace_text_boxes::{
+ predicted_whitespace_text_needs_box, starts_with_whitespace_text, whitespace_text_needs_box,
+};
+
type LayoutNode = NodeSlotId;
pub(crate) struct TreeBuilderState {
@@ -45,6 +51,9 @@ pub(crate) struct TreeBuilderState {
/// The elements a finished build asks the document to rebuild. `None` asks for the whole tree:
/// the container the box escaped into stands for no element.
layout_tree_rebuild_requests: Vec<Option<StyleNodeID>>,
+ /// The elements whose kept child lists hold a white space text whose box the build could not add or take away in
+ /// place, for the document to have their child lists built again. `None` names the document.
+ whitespace_text_box_rebuild_requests: Vec<Option<StyleNodeID>>,
/// Whether the build reached an element no style update settled, which it built no box for.
reached_unstyled_element: bool,
/// What the build found out that the document has to be told, in the order it found it out.
@@ -73,6 +82,7 @@ impl Default for TreeBuilderState {
layout_tree_update_escaped_rebuild_roots: false,
new_subtree_root: NodeSlotId::INVALID,
layout_tree_rebuild_requests: Vec::new(),
+ whitespace_text_box_rebuild_requests: Vec::new(),
reached_unstyled_element: false,
reports: Vec::new(),
pinned_style_records: Vec::new(),
@@ -502,13 +512,6 @@ pub(crate) fn principal_box_placement_decision(
}
}
-/// Which way a sibling walk runs.
-#[derive(Clone, Copy, PartialEq, Eq)]
-enum SiblingDirection {
- Previous,
- Next,
-}
-
/// Whether the box an element already has can take the children that were just inserted under it,
/// rather than being rebuilt around them.
///
@@ -523,9 +526,6 @@ struct ChildListInsertionReuse<'a, 'host> {
/// Whether a `::first-letter` owner styles the first letter of this subtree, whose source
/// range only a full build can find again.
has_first_letter_owner: bool,
- /// The last layout child, when it is an anonymous inline run that an inserted text node would
- /// have to join.
- trailing_inline_wrapper: LayoutNode,
}
/// Which narrower rebuilds the build settled on for one node.
@@ -644,7 +644,9 @@ fn may_update_pseudo_elements_in_place(
child = layout.next_sibling(child);
}
- if first_letter_owner_covers_subtree(layout, engine, element, layout_node) {
+ if first_letter_owner_covers_subtree(layout, engine, element, layout_node)
+ || starts_with_whitespace_text(engine, element)
+ {
return false;
}
@@ -732,24 +734,12 @@ fn may_reuse_layout_node_for_child_list_insertion(
return false;
}
- let last_layout_child = layout.last_child(layout_node);
- let trailing_inline_wrapper = if !last_layout_child.is_invalid()
- && node_facts::has_flag(layout.data(last_layout_child), NodeFlag::Anonymous)
- && node_facts::has_flag(layout.data(last_layout_child), NodeFlag::ChildrenAreInline)
- && !node_is_generated_for_pseudo_element(layout.data(last_layout_child))
- {
- last_layout_child
- } else {
- NodeSlotId::INVALID
- };
-
let mut test = ChildListInsertionReuse {
layout,
engine,
element,
layout_node,
has_first_letter_owner: false,
- trailing_inline_wrapper,
};
test.has_first_letter_owner = first_letter_owner_covers_subtree(layout, engine, element, layout_node);
test.run()
@@ -801,7 +791,6 @@ fn may_rebuild_child_list(
element,
layout_node,
has_first_letter_owner: false,
- trailing_inline_wrapper: NodeSlotId::INVALID,
};
test.child_list_can_be_rebuilt()
}
@@ -823,132 +812,46 @@ impl ChildListInsertionReuse<'_, '_> {
self.arena().needs_layout_tree_update(node)
}
- fn is_out_of_flow(&self, node: LayoutNode) -> bool {
- let data = self.layout.data(node);
- node_kind_is_node_with_style(data.kind.get()) && node_is_out_of_flow(self.layout, node)
- }
-
- fn parent_collapses_whitespace(&self) -> bool {
- self.layout
- .style(self.layout_node)
- .is_some_and(|style| style.white_space_collapse() == white_space_collapse::COLLAPSE)
- }
-
- /// Whether a text node holding only collapsing whitespace can be spliced in where it sits,
- /// which needs the boxes on both sides of it to be children of this box.
- fn collapsing_whitespace_can_be_inserted(&self, text: StyleNodeID) -> bool {
- let mut will_join_trailing_inline_wrapper = false;
- if !self.can_place_next_to_sibling(
- self.engine.tree().previous_sibling_in_dom_order(text),
- SiblingDirection::Previous,
- &mut will_join_trailing_inline_wrapper,
- ) || !self.can_place_next_to_sibling(
- self.engine.tree().next_sibling_in_dom_order(text),
- SiblingDirection::Next,
- &mut will_join_trailing_inline_wrapper,
- ) {
- return false;
- }
-
- // Incremental inline insertion always reuses a trailing anonymous inline wrapper. If the
- // whitespace belongs to a different run, only a full rebuild can place it correctly.
- self.trailing_inline_wrapper.is_invalid() || will_join_trailing_inline_wrapper
+ /// Whether the white space text `text` has a box once the inserted children are built, or `None` where an inserted
+ /// child's box is not certain before it is built.
+ fn whitespace_text_needs_box_after_insertion(&self, text: StyleNodeID) -> Option<bool> {
+ predicted_whitespace_text_needs_box(self.layout, self.engine, self.layout_node, text)
}
- fn can_place_next_to_layout_node(
- &self,
- sibling_layout_node: LayoutNode,
- direction: SiblingDirection,
- pseudo_element: Option<u8>,
- will_join_trailing_inline_wrapper: &mut bool,
- ) -> bool {
- if sibling_layout_node.is_invalid() {
- return true;
- }
- if self.is_out_of_flow(sibling_layout_node) && (pseudo_element.is_some() || direction == SiblingDirection::Next)
- {
- return false;
- }
-
- let mut sibling_layout_node = sibling_layout_node;
- loop {
- let parent = self.layout.parent(sibling_layout_node);
- if parent.is_invalid() || parent == self.layout_node {
- break;
- }
- sibling_layout_node = parent;
- }
- if self.layout.parent(sibling_layout_node) != self.layout_node {
- return false;
- }
- let children_are_inline = node_facts::has_flag(self.layout.data(self.layout_node), NodeFlag::ChildrenAreInline);
- if let Some(generated_for) = pseudo_element {
- // ::after cannot anchor a newly appended anonymous wrapper. In normal flow,
- // inline ::before content also has to remain in its existing inline run, while
- // blockified flex/grid pseudo-elements remain separate items.
- if direction == SiblingDirection::Next {
- return children_are_inline;
+ /// Whether every white space text child that is not being inserted keeps having a box, or keeps having none, once
+ /// the inserted children are built. A text that has to gain or lose its box changes the anonymous wrappers around
+ /// it, which only a build of the child list places right.
+ fn whitespace_text_boxes_stay(&self) -> bool {
+ self.dom_children().all(|child| {
+ if child.text_index().is_none() || !self.engine.tree().text_is_ascii_whitespace(child) {
+ return true;
}
-
- let pseudo_display = self
- .engine
- .pseudo_published_box_facts(self.element, pseudo_kind_of(generated_for))
- .map(|facts| facts.display);
- let parent_display = self.layout.display(self.layout_node);
- let pseudo_belongs_to_inline_run = pseudo_display
- .is_some_and(|display| display.is_inline_outside() || display.is_contents())
- && !parent_display.is_flex_inside()
- && !parent_display.is_grid_inside();
- return children_are_inline || !pseudo_belongs_to_inline_run;
- }
- if node_facts::has_flag(self.layout.data(sibling_layout_node), NodeFlag::Anonymous) {
- if sibling_layout_node != self.trailing_inline_wrapper {
- return false;
+ let has_box = !self.box_of(child).is_invalid();
+ if !has_box && self.needs_layout_tree_update(child) {
+ return true;
}
- *will_join_trailing_inline_wrapper = true;
- }
- true
+ self.whitespace_text_needs_box_after_insertion(child) == Some(has_box)
+ })
}
- fn can_place_next_to_sibling(
- &self,
- sibling: Option<StyleNodeID>,
- direction: SiblingDirection,
- will_join_trailing_inline_wrapper: &mut bool,
- ) -> bool {
- let mut sibling = sibling;
- while let Some(current) = sibling {
- if self
- .published_display(current)
- .is_some_and(|display| display.is_contents())
- {
- return false;
- }
- let sibling_layout_node = self.box_of(current);
- if !sibling_layout_node.is_invalid() {
- return self.can_place_next_to_layout_node(
- sibling_layout_node,
- direction,
- None,
- will_join_trailing_inline_wrapper,
- );
+ /// Whether the box has an anonymous child other than one of its generated boxes, as table fixup makes around
+ /// table-internal children.
+ fn has_anonymous_child_box(&self) -> bool {
+ let mut child = self.layout.first_child(self.layout_node);
+ while !child.is_invalid() {
+ let data = self.layout.data(child);
+ if node_facts::has_flag(data, NodeFlag::Anonymous) && !node_is_generated_for_pseudo_element(data) {
+ return true;
}
- sibling = match direction {
- SiblingDirection::Next => self.engine.tree().next_sibling_in_dom_order(current),
- SiblingDirection::Previous => self.engine.tree().previous_sibling_in_dom_order(current),
- };
+ child = self.layout.next_sibling(child);
}
+ false
+ }
- let generated_for = match direction {
- SiblingDirection::Previous => GENERATED_FOR_BEFORE,
- SiblingDirection::Next => GENERATED_FOR_AFTER,
- };
- self.can_place_next_to_layout_node(
- self.arena().bound_pseudo_element_row(self.element, generated_for),
- direction,
- Some(generated_for),
- will_join_trailing_inline_wrapper,
- )
+ /// Whether the inserted text `text` renders nothing: white space that gets no box.
+ fn inserted_text_gets_no_box(&self, text: StyleNodeID) -> bool {
+ self.engine.tree().text_is_ascii_whitespace(text)
+ && self.whitespace_text_needs_box_after_insertion(text) == Some(false)
}
fn dom_children(&self) -> impl Iterator<Item = StyleNodeID> + '_ {
@@ -961,17 +864,10 @@ impl ChildListInsertionReuse<'_, '_> {
}
/// Whether every child that has no box yet can be spliced in without the parent's own box
- /// being rebuilt: a collapsing whitespace text node, or an element that renders nothing.
+ /// being rebuilt: white space that gets no box, or an element with display: none.
fn pending_children_can_preserve_parent(&self) -> bool {
- let collapses_whitespace = self.parent_collapses_whitespace();
- let mut has_pending_collapsing_whitespace = false;
- let mut inserted_whitespace_run_must_stay_last = false;
for child in self.dom_children() {
if !self.box_of(child).is_invalid() {
- if inserted_whitespace_run_must_stay_last {
- return false;
- }
- has_pending_collapsing_whitespace = false;
if self.needs_layout_tree_update(child) || self.arena().child_needs_layout_tree_update(Some(child)) {
return false;
}
@@ -980,17 +876,10 @@ impl ChildListInsertionReuse<'_, '_> {
if !self.needs_layout_tree_update(child) {
continue;
}
- if child.text_index().is_some()
- && self.engine.tree().text_is_ascii_whitespace(child)
- && collapses_whitespace
- && !self.has_first_letter_owner
- && self.collapsing_whitespace_can_be_inserted(child)
- {
- inserted_whitespace_run_must_stay_last |= has_pending_collapsing_whitespace;
- has_pending_collapsing_whitespace = true;
- continue;
- }
if child.text_index().is_some() {
+ if self.inserted_text_gets_no_box(child) {
+ continue;
+ }
return false;
}
if !self.published_display(child).is_some_and(|display| display.is_none()) {
@@ -1000,36 +889,6 @@ impl ChildListInsertionReuse<'_, '_> {
true
}
- /// Whether a row inserted between two existing rows would make the table fixup wrap whitespace
- /// that sits at the edge of a row group today.
- fn has_table_row_sibling(&self, sibling: Option<StyleNodeID>, direction: SiblingDirection) -> bool {
- let mut sibling = sibling;
- while let Some(current) = sibling {
- let sibling_layout_node = self.box_of(current);
- if !sibling_layout_node.is_invalid() {
- return self.layout.parent(sibling_layout_node) == self.layout_node
- && node_kind_is_node_with_style(self.layout.data(sibling_layout_node).kind.get())
- && self.layout.display(sibling_layout_node).is_table_row();
- }
-
- if !current.text_index().is_some() {
- let Some(sibling_display) = self.published_display(current) else {
- return false;
- };
- if !sibling_display.is_none() {
- return self.needs_layout_tree_update(current) && sibling_display.is_table_row();
- }
- } else if !self.engine.tree().text_is_ascii_whitespace(current) {
- return false;
- }
- sibling = match direction {
- SiblingDirection::Next => self.engine.tree().next_sibling_in_dom_order(current),
- SiblingDirection::Previous => self.engine.tree().previous_sibling_in_dom_order(current),
- };
- }
- false
- }
-
/// Whether a child before `inserted_child` resets a counter that counts down from its last item. The start value
/// of such a counter counts every increment in its scope, which includes the inserted child.
fn earlier_child_counts_a_counter_down(&self, inserted_child: StyleNodeID) -> bool {
@@ -1177,10 +1036,7 @@ impl ChildListInsertionReuse<'_, '_> {
continue;
}
if !self.needs_layout_tree_update(child) {
- // A full build may give such a text node a box again.
- if !is_element {
- return false;
- }
+ // A text without a box is built again, which gives it one where it renders.
continue;
}
if !is_element || self.published_display(child).is_none_or(|display| display.is_none()) {
@@ -1207,6 +1063,9 @@ impl ChildListInsertionReuse<'_, '_> {
}
fn run(&self) -> bool {
+ if !self.whitespace_text_boxes_stay() {
+ return false;
+ }
if self.pending_children_can_preserve_parent() {
// An empty set means every insertion was canceled before layout. Moves are marked dirty
// at their destination, so they still enter one of the rejection paths above.
@@ -1224,6 +1083,11 @@ impl ChildListInsertionReuse<'_, '_> {
let parent_lays_out_inline_children =
parent_lays_out_flow && (parent_children_are_inline || !parent_has_children);
let parent_lays_out_block_children = parent_lays_out_flow && !parent_children_are_inline;
+ // An inline box, and a block container of nothing but inline-level boxes, lay out their inline content as their
+ // own children, so inserted text lands among them where it sits in the DOM.
+ let parent_holds_its_inline_content = (parent_lays_out_inline_children
+ || (parent_display.is_inline_outside() && parent_display.is_flow_inside()))
+ && !self.has_anonymous_child_box();
let parent_lays_out_table_rows = parent_display.is_table_row_group()
|| parent_display.is_table_header_group()
|| parent_display.is_table_footer_group();
@@ -1238,30 +1102,6 @@ impl ChildListInsertionReuse<'_, '_> {
return false;
}
- if parent_lays_out_table_rows {
- // NB: Table fixup discards whitespace at the edge of a row group. Inserting a row outside
- // that whitespace makes it interior, so only a rebuild can create its anonymous table-row box.
- for child in self.dom_children() {
- if !child.text_index().is_some()
- || !self.box_of(child).is_invalid()
- || self.needs_layout_tree_update(child)
- || !self.engine.tree().text_is_ascii_whitespace(child)
- {
- continue;
- }
- if self.has_table_row_sibling(
- self.engine.tree().previous_sibling_in_dom_order(child),
- SiblingDirection::Previous,
- ) && self.has_table_row_sibling(
- self.engine.tree().next_sibling_in_dom_order(child),
- SiblingDirection::Next,
- ) {
- return false;
- }
- }
- }
-
- let collapses_whitespace = self.parent_collapses_whitespace();
let mut will_insert_inline_child = false;
let mut will_insert_block_child = false;
let mut all_inserted_block_children_are_in_flow = true;
@@ -1273,11 +1113,6 @@ impl ChildListInsertionReuse<'_, '_> {
// A fieldset keeps its content in a structural anonymous content box that appended children must also enter.
let mut all_indirect_existing_children_are_in_text_run_wrappers =
self.layout.data(self.layout_node).kind.get() != NodeKind::FieldSetBox;
- let mut has_pending_collapsing_whitespace = false;
- // In a full build, an out-of-flow block or more whitespace after inserted whitespace joins the anonymous wrapper
- // that whitespace starts. The incremental insertion finds that wrapper only while it stays the parent's last
- // child.
- let mut inserted_whitespace_run_must_stay_last = false;
// Counters are resolved from the boxes before a box, so an inserted subtree that touches one changes only what
// comes after it.
let mut first_inserted_child_touching_counters = None;
@@ -1285,10 +1120,9 @@ impl ChildListInsertionReuse<'_, '_> {
for child in self.dom_children() {
let child_layout_node = self.box_of(child);
if !child_layout_node.is_invalid() {
- if inserted_whitespace_run_must_stay_last || first_inserted_child_touching_counters.is_some() {
+ if first_inserted_child_touching_counters.is_some() {
return false;
}
- has_pending_collapsing_whitespace = false;
has_existing_child_after_insertion |= has_inserted_child;
if self.layout.parent(child_layout_node) != self.layout_node {
let wrapper = self.layout.parent(child_layout_node);
@@ -1310,23 +1144,27 @@ impl ChildListInsertionReuse<'_, '_> {
if child.text_index().is_some() {
if !self.needs_layout_tree_update(child) {
- has_unboxed_existing_text = true;
+ // White space without a box keeps having none, as whitespace_text_boxes_stay() found.
+ has_unboxed_existing_text |= !self.engine.tree().text_is_ascii_whitespace(child);
continue;
}
- if !self.engine.tree().text_is_ascii_whitespace(child) || !collapses_whitespace {
- // Text that renders is inline-level content, which is appended as an inline element is.
- if !parent_lays_out_block_children || will_insert_block_child {
+ if self.inserted_text_gets_no_box(child) {
+ continue;
+ }
+ if parent_holds_its_inline_content && self.engine.tree().text_is_ascii_whitespace(child) {
+ if will_insert_block_child {
return false;
}
will_insert_inline_child = true;
has_inserted_child = true;
continue;
}
- if self.has_first_letter_owner || !self.collapsing_whitespace_can_be_inserted(child) {
+ // Text that renders is inline-level content, which is appended as an inline element is.
+ if !parent_lays_out_block_children || will_insert_block_child {
return false;
}
- inserted_whitespace_run_must_stay_last |= has_pending_collapsing_whitespace;
- has_pending_collapsing_whitespace = true;
+ will_insert_inline_child = true;
+ has_inserted_child = true;
continue;
}
@@ -1368,10 +1206,6 @@ impl ChildListInsertionReuse<'_, '_> {
&& child_facts.position != positioning::FIXED
&& child_facts.float_ == float::NONE;
if parent_lays_out_flex_or_grid_children {
- if has_pending_collapsing_whitespace && !child_is_in_flow {
- return false;
- }
- has_pending_collapsing_whitespace = false;
has_inserted_child = true;
continue;
}
@@ -1379,10 +1213,6 @@ impl ChildListInsertionReuse<'_, '_> {
continue;
}
if parent_lays_out_block_children && child_display.is_block_outside() {
- if has_pending_collapsing_whitespace && !child_is_in_flow {
- inserted_whitespace_run_must_stay_last = true;
- }
- has_pending_collapsing_whitespace = false;
has_inserted_child = true;
will_insert_block_child = true;
if !child_is_in_flow {
@@ -1421,9 +1251,6 @@ impl ChildListInsertionReuse<'_, '_> {
&& !will_insert_block_child
&& (child_facts.position == positioning::ABSOLUTE || child_facts.position == positioning::FIXED)
{
- if has_pending_collapsing_whitespace {
- return false;
- }
will_insert_inline_child = true;
has_inserted_child = true;
continue;
@@ -1462,8 +1289,7 @@ impl ChildListInsertionReuse<'_, '_> {
&& all_indirect_existing_children_are_in_text_run_wrappers);
let can_append_after_indirect_existing_children =
appends_independent_children && !has_indirect_existing_child_after_insertion;
- (!has_indirect_existing_child || can_append_after_indirect_existing_children)
- && !has_pending_collapsing_whitespace
+ !has_indirect_existing_child || can_append_after_indirect_existing_children
}
}
@@ -1514,6 +1340,30 @@ pub(crate) fn principal_node_entry_decision(
}
}
+/// Whether an empty text produces a line box fragment: a child of an editing host, or text in a text control, which
+/// the caret anchors in and the control takes its baseline from.
+fn text_produces_line_box_fragment_when_empty(
+ engine: &RetainedState,
+ text: StyleNodeID,
+ is_in_user_agent_shadow_tree: bool,
+) -> bool {
+ use crate::css::style::bridge::element_construction_fact::{IS_EDITING_HOST, IS_HTML_INPUT_ELEMENT};
+ let tree = engine.tree();
+ let parent = tree.text_parent(text);
+ let parent_is_editing_host = parent
+ .filter(|parent| parent.element_index().is_some())
+ .is_some_and(|parent| engine.element_construction_facts(parent) & IS_EDITING_HOST != 0);
+ // NB: Tree relations are keyed by element identity, so the walk to the host starts at the text's parent.
+ let is_in_text_control = is_in_user_agent_shadow_tree
+ && parent
+ .and_then(|parent| tree.shadow_host_of(parent))
+ .is_some_and(|host| {
+ engine.element_construction_facts(host) & IS_HTML_INPUT_ELEMENT != 0
+ || engine.element_box_kind(host) == ElementBoxKind::TextArea
+ });
+ parent_is_editing_host || is_in_text_control
+}
+
impl TreeBuilderHost<'_> {
/// The first node in the DOM child sequence the style mirror holds for `parent`.
fn first_dom_child(&self, parent: StyleNodeID) -> Option<StyleNodeID> {
@@ -1703,16 +1553,31 @@ impl TreeBuildJob {
}
}
- for &element in &state.layout_tree_rebuild_requests {
+ let rebuild_requests = state
+ .layout_tree_rebuild_requests
+ .iter()
+ .map(|&element| {
+ (
+ element,
+ crate::layout::commit::FfiCommitMessageKind::LayoutTreeRebuildRequested,
+ )
+ })
+ .chain(state.whitespace_text_box_rebuild_requests.iter().map(|&element| {
+ (
+ element,
+ crate::layout::commit::FfiCommitMessageKind::WhitespaceTextBoxesStale,
+ )
+ }))
+ .collect::<Vec<_>>();
+ for (element, kind) in rebuild_requests {
// A request that names no element asks for the whole tree, which the arena answers itself.
let Some(element) = element else {
host.arena_mut().set_needs_full_layout_tree_update(true);
continue;
};
- state.reports.push(crate::layout::commit::FfiCommitMessage::new(
- element.raw(),
- crate::layout::commit::FfiCommitMessageKind::LayoutTreeRebuildRequested,
- ));
+ state
+ .reports
+ .push(crate::layout::commit::FfiCommitMessage::new(element.raw(), kind));
}
let built_scroll_containers = host.arena_mut().take_built_scroll_containers();
@@ -1746,7 +1611,9 @@ impl TreeBuildJob {
viewport,
rebuilt_subtree_root_count,
layout_tree_update_escaped_rebuild_roots: state.layout_tree_update_escaped_rebuild_roots,
- needs_another_build_pass: !state.layout_tree_rebuild_requests.is_empty() || state.reached_unstyled_element,
+ needs_another_build_pass: !state.layout_tree_rebuild_requests.is_empty()
+ || !state.whitespace_text_box_rebuild_requests.is_empty()
+ || state.reached_unstyled_element,
};
TreeBuildAnswer {
outcome,
@@ -1765,8 +1632,13 @@ fn update_layout_tree_for_dom_children(
must_create_subtree: bool,
insertion_mode: FfiInsertionMode,
) {
+ let keeps_layout_parent = !must_create_subtree && !context.document_needs_full_layout_tree_update;
let mut node = host.first_dom_child(parent);
while let Some(current) = node {
+ if keeps_layout_parent && settle_whitespace_text_in_kept_child_list(host, state, current, insertion_mode) {
+ node = host.next_dom_sibling(current);
+ continue;
+ }
if insertion_mode == FfiInsertionMode::InDomOrder && host.arena().bound_row(current).is_invalid() {
update_layout_tree_for_spliced_child(host, state, current, context, must_create_subtree, insertion_mode);
} else if !keeps_its_box_as_it_is(host, current, context, must_create_subtree) {
@@ -1776,6 +1648,47 @@ fn update_layout_tree_for_dom_children(
}
}
+/// A walk that keeps the box of a white space text's layout parent never gives the text a box or takes its box away
+/// where it sits: the anonymous wrappers around the text, and the boxes after it, would have to change with it, which
+/// only a build of the parent's child list gets right. Asks for that build when the text's box has to change, and
+/// answers whether the walk is done with the text.
+fn settle_whitespace_text_in_kept_child_list(
+ host: &mut TreeBuilderHost<'_>,
+ state: &mut TreeBuilderState,
+ node: StyleNodeID,
+ insertion_mode: FfiInsertionMode,
+) -> bool {
+ if node.text_index().is_none() || !host.arena().text_is_ascii_whitespace(Some(node)) {
+ return false;
+ }
+ let layout_parent = state.current_parent();
+ let has_box = !host.arena().bound_row(node).is_invalid();
+ let needs_box = whitespace_text_needs_box(host, layout_parent, node);
+ let is_marked = host.arena().needs_layout_tree_update(node);
+ if needs_box == has_box {
+ // A text that renders nothing and holds no mark is done; any other takes the usual path.
+ return !has_box && !is_marked;
+ }
+ // A child list insertion places an inserted text where it renders, as it places any inserted text.
+ if needs_box && is_marked && insertion_mode == FfiInsertionMode::InDomOrder {
+ return false;
+ }
+ let mut container = layout_parent;
+ while node_facts::has_flag(host.data(container), NodeFlag::Anonymous) {
+ container = host.parent(container);
+ }
+ let element = host
+ .arena()
+ .commit_message_style_node(container)
+ .and_then(StyleNodeID::from_raw)
+ .filter(|style_node| style_node.element_index().is_some());
+ if !state.whitespace_text_box_rebuild_requests.contains(&element) {
+ state.whitespace_text_box_rebuild_requests.push(element);
+ }
+ host.arena_mut().clear_layout_tree_update_marks(Some(node));
+ true
+}
+
fn update_layout_tree_for_spliced_child(
host: &mut TreeBuilderHost<'_>,
state: &mut TreeBuilderState,
@@ -1856,8 +1769,13 @@ fn update_layout_tree_for_assigned_slottables(
) {
// The style mirror holds the assigned nodes in flat-tree order, and the list does not change while the build
// walks it.
+ let keeps_layout_parent = !must_create_subtree && !context.document_needs_full_layout_tree_update;
for index in 0..host.arena().assigned_node_count(Some(slot)) {
let node = host.arena().assigned_node_at(slot, index);
+ if keeps_layout_parent && settle_whitespace_text_in_kept_child_list(host, state, node, FfiInsertionMode::Append)
+ {
+ continue;
+ }
update_layout_tree(
host,
state,
@@ -2698,7 +2616,14 @@ fn rebuild_child_list_from_dom_children(
kept_box = host.parent(kept_box);
}
if kept_box.is_invalid() {
- update_layout_tree_for_spliced_child(host, state, child, context, false, FfiInsertionMode::Append);
+ // A text without a box is built again, which gives it one where it renders.
+ let is_text = child.text_index().is_some();
+ update_layout_tree_for_spliced_child(host, state, child, context, is_text, FfiInsertionMode::Append);
+ } else if host.arena().text_is_ascii_whitespace(Some(child))
+ && !whitespace_text_needs_box(host, state.current_parent(), child)
+ {
+ // The kept box goes once nothing holds it.
+ clear_stale_subtree(host, child, StaleSubtreeClearScope::Inclusive);
} else if host.arena().needs_layout_tree_update(child)
&& (host.arena().layout_tree_update_reuse_reasons(child) == 0
|| host.data(kept_box).kind.get() == NodeKind::TableWrapper)
@@ -2941,11 +2866,17 @@ fn construct_principal_layout_node(
layout_node = created;
created_box = Some(host.created(created));
} else if update.kind.is_text() {
+ let text_is_ascii_whitespace = host.arena().text_is_ascii_whitespace(update.style_node);
+ if text_is_ascii_whitespace
+ && !whitespace_text_needs_box(host, update.state.current_parent(), update.identity)
+ {
+ return PrincipalBoxConstruction::none();
+ }
let facts = host.arena().text_style_parent_facts(update.style_node);
let needs_style_wrapper = display_contents_text_needs_style_wrapper(
facts.has_style_parent,
facts.parent_display_is_contents,
- host.arena().text_is_ascii_whitespace(update.style_node),
+ text_is_ascii_whitespace,
facts.parent_collapses_whitespace,
);
let text_layout_node = host.create_text_box(update.identity);
@@ -4195,25 +4126,16 @@ impl<'a> TreeBuilderHost<'a> {
/// restamps it when editability changes. Under an element with a highlight pseudo-element style
/// and no box of its own, the row takes that style's paint facts itself.
fn stamp_text_row_facts(&mut self, slot: NodeSlotId, text: StyleNodeID) {
- use crate::css::style::bridge::element_construction_fact::{IS_EDITING_HOST, IS_HTML_INPUT_ELEMENT};
let is_in_user_agent_shadow_tree =
self.arena().node_flags(slot) & NodeFlag::IsInUserAgentShadowTree as u32 != 0;
let (produces_line_box_fragment_when_empty, parent_element) = self.arena().with_style_store(|engine| {
- let tree = engine.tree();
- let parent = tree.text_parent(text);
- let parent_element = parent.filter(|parent| parent.element_index().is_some());
- let parent_is_editing_host =
- parent_element.is_some_and(|parent| engine.element_construction_facts(parent) & IS_EDITING_HOST != 0);
- // NB: Tree relations are keyed by element identity, so the walk to the host starts at the
- // text's parent.
- let is_in_text_control = is_in_user_agent_shadow_tree
- && parent
- .and_then(|parent| tree.shadow_host_of(parent))
- .is_some_and(|host| {
- engine.element_construction_facts(host) & IS_HTML_INPUT_ELEMENT != 0
- || engine.element_box_kind(host) == ElementBoxKind::TextArea
- });
- (parent_is_editing_host || is_in_text_control, parent_element)
+ (
+ text_produces_line_box_fragment_when_empty(engine, text, is_in_user_agent_shadow_tree),
+ engine
+ .tree()
+ .text_parent(text)
+ .filter(|parent| parent.element_index().is_some()),
+ )
});
self.arena_mut().set_node_flag(
slot,
@@ -4830,6 +4752,29 @@ fn insert_child_in_dom_order(
host.attach_child(parent, child, NodeSlotId::INVALID);
}
+/// Whether `node` is an absolutely positioned box that would be inline-level in flow, laid out among the inline content
+/// of `parent`: its static position is where an inline box would sit in a line, after the floats and with the line's
+/// alignment, which only an inline formatting context gives it.
+/// https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width
+/// A flex, grid or MathML container positions its out-of-flow children itself, table fixup sees them as inline content
+/// already, SVG lays out its children without lines, and the viewport holds the top layer's members as boxes of their
+/// own.
+fn is_inline_level_absolutely_positioned_box_in_flow_layout(
+ host: &TreeBuilderHost<'_>,
+ parent: LayoutNode,
+ node: LayoutNode,
+) -> bool {
+ let parent_kind = host.data(parent).kind.get();
+ node_kind_is_node_with_style(host.data(node).kind.get())
+ && host.style(node).is_some_and(|style| {
+ style.is_absolutely_positioned() && style.display_before_box_type_transformation().is_inline_outside()
+ })
+ && !lays_out_each_child_as_its_own_box(host, parent)
+ && !is_tabular_container(host, parent)
+ && !node_facts::kind_is_svg_box(parent_kind)
+ && !matches!(parent_kind, NodeKind::SVGSVGBox | NodeKind::Viewport)
+}
+
fn insert_node_into_inline_or_block_ancestor(
host: &mut TreeBuilderHost<'_>,
state: &mut TreeBuilderState,
@@ -4841,6 +4786,8 @@ fn insert_node_into_inline_or_block_ancestor(
) {
assert!(!nearest_insertion_ancestor.is_invalid());
let node_slot = node.slot();
+ let is_inline_outside = is_inline_outside
+ || is_inline_level_absolutely_positioned_box_in_flow_layout(host, nearest_insertion_ancestor, node_slot);
let insertion_point = if is_inline_outside {
insertion_parent_for_inline_node(host, nearest_insertion_ancestor)
diff --git a/Libraries/LibWeb/Rust/src/layout/tree_builder/whitespace_text_boxes.rs b/Libraries/LibWeb/Rust/src/layout/tree_builder/whitespace_text_boxes.rs
new file mode 100644
index 00000000000..182f1617eea
--- /dev/null
+++ b/Libraries/LibWeb/Rust/src/layout/tree_builder/whitespace_text_boxes.rs
@@ -0,0 +1,450 @@
+/*
+ * Copyright (c) 2026-present, the Ladybird developers.
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+//! Whether a text node that holds nothing but white space gets a box.
+//!
+//! Collapsible white space renders nothing where a line starts, after other collapsible white space, and among the
+//! items of a container that lays out each of its children as its own box. Such a text node gets no box, as text in a
+//! `display: none` subtree gets none, which also spares the anonymous block that would wrap it among block-level
+//! siblings.
+//! https://drafts.csswg.org/css-display-3/#anonymous
+//! https://drafts.csswg.org/css-flexbox-1/#flex-items
+//! https://drafts.csswg.org/css-grid-2/#grid-items
+//!
+//! Whether the text renders depends on the nearest box before it among the boxes of its layout parent, which a walk
+//! back over the flat tree finds, looking through `display: contents` elements and slots.
+
+use super::{
+ LayoutNode, TreeBuilderHost, display_for_table_fixup, is_table_non_root_box_with_display, is_tabular_container,
+ lays_out_each_child_as_its_own_box, node_is_inline_outside, node_is_out_of_flow_child_of,
+ node_kind_is_node_with_style, text_produces_line_box_fragment_when_empty,
+};
+use crate::css::css_enums::{float, positioning};
+use crate::css::style::RetainedState;
+use crate::css::style::bridge::{ElementBoxKind, element_adjustment_fact};
+use crate::css::style::tree::StyleNodeID;
+use crate::layout::node_data::{GENERATED_FOR_AFTER, GENERATED_FOR_BEFORE, NodeKind};
+use crate::layout::node_facts;
+
+/// The nearest box before a white space text among the boxes its layout parent lays out, as far as the text cares.
+#[derive(Clone, Copy, Debug, PartialEq, Eq)]
+enum PrecedingBox {
+ /// No box comes before the text.
+ Nothing,
+ /// The box of a text, into whose trailing collapsible white space the text's own white space collapses.
+ Text { ends_in_collapsible_white_space: bool },
+ /// An inline-level box other than a line break.
+ InlineLevel,
+ /// A table-internal box outside a table, which table fixup later wraps in an anonymous table. Inside inline content
+ /// that table is inline-level, and white space after it renders.
+ TableInternal,
+ /// A forced line break or a block-level box, after which a line starts.
+ LineStart,
+}
+
+/// What a node before the text is to the walk back.
+enum Step {
+ /// The node has no box among the ones before the text, or one out of flow.
+ PassOver,
+ /// A `display: contents` element, whose children's boxes are its layout parent's.
+ Enter,
+ Box(PrecedingBox),
+ /// The box the node will have is not known yet.
+ Unknown,
+}
+
+/// Answers what each node before the text contributes to the boxes of its layout parent.
+trait PrecedingBoxes {
+ fn engine(&self) -> &RetainedState;
+ fn step(&self, node: StyleNodeID) -> Step;
+ fn pseudo_element_step(&self, element: StyleNodeID, generated_for: u8) -> Step;
+}
+
+/// The boxes the walk built already: every box before the text is final once the text's turn comes, as walks go in
+/// tree order.
+struct BuiltBoxes<'a, 'host> {
+ host: &'a TreeBuilderHost<'host>,
+ engine: &'a RetainedState,
+ layout_parent: LayoutNode,
+}
+
+impl BuiltBoxes<'_, '_> {
+ fn box_step(&self, row: LayoutNode) -> Step {
+ let host = self.host;
+ let kind = host.data(row).kind.get();
+ if node_kind_is_node_with_style(kind) && node_is_out_of_flow_child_of(host, self.layout_parent, row) {
+ return Step::PassOver;
+ }
+ if kind == NodeKind::BreakNode {
+ return Step::Box(PrecedingBox::LineStart);
+ }
+ if is_table_non_root_box_with_display(display_for_table_fixup(host, row)) {
+ return Step::Box(PrecedingBox::TableInternal);
+ }
+ if node_is_inline_outside(host, row) {
+ return Step::Box(PrecedingBox::InlineLevel);
+ }
+ Step::Box(PrecedingBox::LineStart)
+ }
+}
+
+impl PrecedingBoxes for BuiltBoxes<'_, '_> {
+ fn engine(&self) -> &RetainedState {
+ self.engine
+ }
+
+ fn step(&self, node: StyleNodeID) -> Step {
+ let row = self.host.arena().bound_row(node);
+ if node.text_index().is_some() {
+ if let Some(step) = collapsing_whitespace_text_step(self.engine, node) {
+ return step;
+ }
+ if row.is_invalid() {
+ return Step::PassOver;
+ }
+ return Step::Box(text_box(self.engine, node));
+ }
+ if self.engine.element_adjustment_facts(node) & element_adjustment_fact::RENDERED_IN_TOP_LAYER != 0 {
+ return Step::PassOver;
+ }
+ if row.is_invalid() {
+ return if is_display_contents(self.engine, node) {
+ Step::Enter
+ } else {
+ Step::PassOver
+ };
+ }
+ self.box_step(row)
+ }
+
+ fn pseudo_element_step(&self, element: StyleNodeID, generated_for: u8) -> Step {
+ let row = self.host.arena().bound_pseudo_element_row(element, generated_for);
+ if row.is_invalid() {
+ return Step::PassOver;
+ }
+ self.box_step(row)
+ }
+}
+
+/// The boxes a child list insertion will leave, before the walk builds them: an inserted or restyled node answers from
+/// what it publishes, and only where the box it gets is certain.
+struct PredictedBoxes<'a, 'host> {
+ built: BuiltBoxes<'a, 'host>,
+}
+
+impl PrecedingBoxes for PredictedBoxes<'_, '_> {
+ fn engine(&self) -> &RetainedState {
+ self.built.engine
+ }
+
+ fn step(&self, node: StyleNodeID) -> Step {
+ let engine = self.built.engine;
+ if !self.built.host.arena().needs_layout_tree_update(node) {
+ return self.built.step(node);
+ }
+ if node.text_index().is_some() {
+ if let Some(step) = collapsing_whitespace_text_step(engine, node) {
+ return step;
+ }
+ // Of the text that is white space alone, only empty text may or may not get a box once it is inserted.
+ if engine.tree().text_is_ascii_whitespace(node) && engine.text_collapses_white_space(node) == Some(true) {
+ return Step::Unknown;
+ }
+ return Step::Box(text_box(engine, node));
+ }
+ let adjustment_facts = engine.element_adjustment_facts(node);
+ if adjustment_facts & element_adjustment_fact::RENDERED_IN_TOP_LAYER != 0 {
+ return Step::PassOver;
+ }
+ let Some(facts) = engine.element_published_box_facts(node) else {
+ return Step::Unknown;
+ };
+ if facts.display.is_none() {
+ return Step::PassOver;
+ }
+ if facts.display.is_contents()
+ || adjustment_facts
+ & (element_adjustment_fact::IS_SVG_ELEMENT | element_adjustment_fact::REQUIRES_SVG_CONTAINER)
+ != 0
+ {
+ return Step::Unknown;
+ }
+ if facts.position == positioning::ABSOLUTE
+ || facts.position == positioning::FIXED
+ || facts.float_ != float::NONE
+ {
+ return Step::PassOver;
+ }
+ match engine.element_box_kind(node) {
+ ElementBoxKind::Break => Step::Box(PrecedingBox::LineStart),
+ ElementBoxKind::FromDisplay if is_table_non_root_box_with_display(facts.display) => {
+ Step::Box(PrecedingBox::TableInternal)
+ }
+ ElementBoxKind::FromDisplay if facts.display.is_inline_outside() => Step::Box(PrecedingBox::InlineLevel),
+ ElementBoxKind::FromDisplay => Step::Box(PrecedingBox::LineStart),
+ _ => Step::Unknown,
+ }
+ }
+
+ fn pseudo_element_step(&self, element: StyleNodeID, generated_for: u8) -> Step {
+ self.built.pseudo_element_step(element, generated_for)
+ }
+}
+
+fn is_display_contents(engine: &RetainedState, element: StyleNodeID) -> bool {
+ engine
+ .element_published_box_facts(element)
+ .is_some_and(|facts| facts.display.is_contents())
+}
+
+/// White space that collapses, before a white space text, means the later text renders nothing whether the earlier one
+/// has a box or not: with a box, the later white space collapses into it, and without one, the earlier text renders
+/// nothing after the same box that comes before them both. So the walk back stops at it without asking about its box,
+/// which also keeps a walk over a long run of white space and hidden elements short.
+fn collapsing_whitespace_text_step(engine: &RetainedState, text: StyleNodeID) -> Option<Step> {
+ let is_collapsing_whitespace = engine.tree().text_is_ascii_whitespace(text)
+ && engine.tree().text_data(text).is_some_and(|data| !data.is_empty())
+ && engine.text_collapses_white_space(text) == Some(true);
+ is_collapsing_whitespace.then_some(Step::Box(PrecedingBox::Text {
+ ends_in_collapsible_white_space: true,
+ }))
+}
+
+fn text_box(engine: &RetainedState, text: StyleNodeID) -> PrecedingBox {
+ let last_code_unit = engine.tree().text_data(text).and_then(|data| match data.as_units() {
+ ak::Utf16StringUnits::Ascii(units) | ak::Utf16StringUnits::Latin1(units) => {
+ units.last().map(|&unit| unit.into())
+ }
+ ak::Utf16StringUnits::Utf16(units) => units.last().copied(),
+ });
+ let ends_in_white_space = last_code_unit.is_some_and(|unit: u16| matches!(unit, 0x09..=0x0d | 0x20));
+ PrecedingBox::Text {
+ ends_in_collapsible_white_space: ends_in_white_space && engine.text_collapses_white_space(text) == Some(true),
+ }
+}
+
+/// The node before `node` among the children of its parent in the flat tree: the slot it is assigned to, or its
+/// parent.
+fn previous_flat_tree_sibling(engine: &RetainedState, node: StyleNodeID) -> Option<StyleNodeID> {
+ let tree = engine.tree();
+ if let Some(slot) = tree.assigned_slot_of(node) {
+ let assigned = tree.assigned_nodes_of(slot);
+ let index = assigned.iter().position(|&assigned_node| assigned_node == node)?;
+ return index.checked_sub(1).map(|previous| assigned[previous]);
+ }
+ tree.previous_sibling_in_dom_order(node)
+}
+
+/// The children of `element` in the flat tree, text included.
+fn flat_tree_children(engine: &RetainedState, element: StyleNodeID) -> Vec<StyleNodeID> {
+ let tree = engine.tree();
+ if let Some(shadow_root) = tree.shadow_root_of(element) {
+ return tree.dom_children(shadow_root).collect();
+ }
+ if engine.element_is_slot(element) {
+ let assigned = tree.assigned_nodes_of(element);
+ if !assigned.is_empty() {
+ return assigned.to_vec();
+ }
+ }
+ tree.dom_children(element).collect()
+}
+
+/// The last box `node` contributes to the boxes of its layout parent, if any, or `None` when that is not known yet.
+fn last_box_of(boxes: &impl PrecedingBoxes, node: StyleNodeID) -> Option<Option<PrecedingBox>> {
+ match boxes.step(node) {
+ Step::PassOver => Some(None),
+ Step::Box(found) => Some(Some(found)),
+ Step::Unknown => None,
+ Step::Enter => {
+ if let Some(found) = pseudo_element_box(boxes, node, GENERATED_FOR_AFTER)? {
+ return Some(Some(found));
+ }
+ for child in flat_tree_children(boxes.engine(), node).into_iter().rev() {
+ if let Some(found) = last_box_of(boxes, child)? {
+ return Some(Some(found));
+ }
+ }
+ pseudo_element_box(boxes, node, GENERATED_FOR_BEFORE)
+ }
+ }
+}
+
+fn pseudo_element_box(
+ boxes: &impl PrecedingBoxes,
+ element: StyleNodeID,
+ generated_for: u8,
+) -> Option<Option<PrecedingBox>> {
+ match boxes.pseudo_element_step(element, generated_for) {
+ Step::Box(found) => Some(Some(found)),
+ Step::Unknown => None,
+ Step::PassOver | Step::Enter => Some(None),
+ }
+}
+
+/// The nearest box before `text` among the boxes of its layout parent, or `None` when that is not known yet.
+fn preceding_box(boxes: &impl PrecedingBoxes, text: StyleNodeID) -> Option<PrecedingBox> {
+ let engine = boxes.engine();
+ let mut node = text;
+ loop {
+ let mut sibling = previous_flat_tree_sibling(engine, node);
+ while let Some(current) = sibling {
+ if let Some(found) = last_box_of(boxes, current)? {
+ return Some(found);
+ }
+ sibling = previous_flat_tree_sibling(engine, current);
+ }
+ // The slot the node is assigned to, its parent, or the host of the shadow root it is a child of.
+ let Some(parent) = engine.tree().inheritance_parent(node) else {
+ return Some(PrecedingBox::Nothing);
+ };
+ if let Some(found) = pseudo_element_box(boxes, parent, GENERATED_FOR_BEFORE)? {
+ return Some(found);
+ }
+ // The children of a `display: contents` element continue the boxes before it.
+ if !is_display_contents(engine, parent) {
+ return Some(PrecedingBox::Nothing);
+ }
+ node = parent;
+ }
+}
+
+/// Whether the text keeps its box whatever comes before it, or `None` when that decides it.
+fn decision_of_layout_parent_or_text(
+ host: &TreeBuilderHost<'_>,
+ engine: &RetainedState,
+ layout_parent: LayoutNode,
+ text: StyleNodeID,
+) -> Option<bool> {
+ let kind = host.data(layout_parent).kind.get();
+ if kind == NodeKind::SVGSVGBox || node_facts::kind_is_svg_box(kind) {
+ // SVG renders text only inside a text content element.
+ let mut ancestor = layout_parent;
+ while !ancestor.is_invalid() {
+ match host.data(ancestor).kind.get() {
+ NodeKind::SVGTextBox | NodeKind::SVGTextPathBox => return Some(true),
+ NodeKind::SVGSVGBox => return Some(false),
+ _ => ancestor = host.parent(ancestor),
+ }
+ }
+ return Some(false);
+ }
+ if engine.text_collapses_white_space(text) != Some(true)
+ || text_produces_line_box_fragment_when_empty(
+ engine,
+ text,
+ engine.tree().text_is_in_user_agent_shadow_tree(text),
+ )
+ {
+ return Some(true);
+ }
+ None
+}
+
+/// Whether white space renders after `preceding` among the boxes of `layout_parent`.
+fn renders_after(host: &TreeBuilderHost<'_>, layout_parent: LayoutNode, preceding: PrecedingBox) -> bool {
+ if lays_out_each_child_as_its_own_box(host, layout_parent) {
+ // Only white space that continues a run of text joins an item; a run of nothing but white space is none.
+ return preceding
+ == PrecedingBox::Text {
+ ends_in_collapsible_white_space: false,
+ };
+ }
+ match preceding {
+ PrecedingBox::Nothing => {
+ // An inline box keeps the white space that starts it, and an inside marker comes before it once it is
+ // built, after the children.
+ host.data(layout_parent).kind.get() == NodeKind::InlineNode
+ || (host.data(layout_parent).kind.get() == NodeKind::ListItemBox
+ && host
+ .style(layout_parent)
+ .is_some_and(|style| style.list_style_position_is_inside()))
+ }
+ PrecedingBox::Text {
+ ends_in_collapsible_white_space,
+ } => !ends_in_collapsible_white_space,
+ PrecedingBox::InlineLevel => true,
+ PrecedingBox::TableInternal => !is_tabular_container(host, layout_parent),
+ PrecedingBox::LineStart => false,
+ }
+}
+
+/// Whether the text node `text`, which holds nothing but white space, gets a box among the children of
+/// `layout_parent`. The walk that asks has built the boxes of every node before the text.
+pub(super) fn whitespace_text_needs_box(
+ host: &TreeBuilderHost<'_>,
+ layout_parent: LayoutNode,
+ text: StyleNodeID,
+) -> bool {
+ host.arena().with_style_store(|engine| {
+ if let Some(decision) = decision_of_layout_parent_or_text(host, engine, layout_parent, text) {
+ return decision;
+ }
+ let boxes = BuiltBoxes {
+ host,
+ engine,
+ layout_parent,
+ };
+ let preceding = preceding_box(&boxes, text).expect("every box before the text is built");
+ renders_after(host, layout_parent, preceding)
+ })
+}
+
+/// Whether the text node `text`, which holds nothing but white space, will get a box among the children of
+/// `layout_parent` once a child list insertion has built the nodes marked for it, or `None` where a marked node's box
+/// is not certain before it is built.
+pub(super) fn predicted_whitespace_text_needs_box(
+ host: &TreeBuilderHost<'_>,
+ engine: &RetainedState,
+ layout_parent: LayoutNode,
+ text: StyleNodeID,
+) -> Option<bool> {
+ if let Some(decision) = decision_of_layout_parent_or_text(host, engine, layout_parent, text) {
+ return Some(decision);
+ }
+ let boxes = PredictedBoxes {
+ built: BuiltBoxes {
+ host,
+ engine,
+ layout_parent,
+ },
+ };
+ Some(renders_after(host, layout_parent, preceding_box(&boxes, text)?))
+}
+
+/// Whether a white space text may come first among the boxes the children of `element` lay out, where a change to the
+/// element's `::before` makes it gain or lose its box. A child whose box is not known yet may start with such text.
+pub(super) fn starts_with_whitespace_text(engine: &RetainedState, element: StyleNodeID) -> bool {
+ first_content_is_whitespace_text(engine, element) == Some(true)
+}
+
+/// Whether the first content among the boxes the children of `element` lay out is white space text, or `None` when they
+/// lay out none. The children of a `display: contents` child count as its parent's.
+fn first_content_is_whitespace_text(engine: &RetainedState, element: StyleNodeID) -> Option<bool> {
+ for child in flat_tree_children(engine, element) {
+ if child.text_index().is_some() {
+ return Some(engine.tree().text_is_ascii_whitespace(child));
+ }
+ let Some(facts) = engine.element_published_box_facts(child) else {
+ return Some(true);
+ };
+ if facts.display.is_contents() {
+ if let Some(found) = first_content_is_whitespace_text(engine, child) {
+ return Some(found);
+ }
+ continue;
+ }
+ let lays_out_elsewhere = facts.display.is_none()
+ || facts.position == positioning::ABSOLUTE
+ || facts.position == positioning::FIXED
+ || facts.float_ != float::NONE
+ || engine.element_adjustment_facts(child) & element_adjustment_fact::RENDERED_IN_TOP_LAYER != 0;
+ if !lays_out_elsewhere {
+ return Some(false);
+ }
+ }
+ None
+}
diff --git a/Tests/LibWeb/Layout/expected/Element-insertAdjacentHTML.txt b/Tests/LibWeb/Layout/expected/Element-insertAdjacentHTML.txt
index 496db0b318c..bb612f3aae3 100644
--- a/Tests/LibWeb/Layout/expected/Element-insertAdjacentHTML.txt
+++ b/Tests/LibWeb/Layout/expected/Element-insertAdjacentHTML.txt
@@ -22,9 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 37, rect: [8,198 300.09375x16] baseline: 12.796875
"This is inserted after the container."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,214] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x222] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/HTMLImageElement-update-the-image-data-temporary-document.txt b/Tests/LibWeb/Layout/expected/HTMLImageElement-update-the-image-data-temporary-document.txt
index a0b7a3b759b..d54e13f70bb 100644
--- a/Tests/LibWeb/Layout/expected/HTMLImageElement-update-the-image-data-temporary-document.txt
+++ b/Tests/LibWeb/Layout/expected/HTMLImageElement-update-the-image-data-temporary-document.txt
@@ -1,14 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#image-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 150 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 150x150] baseline: 150
ImageBox <img> at [8,8] [0+0+0 150 0+0+0] [0+0+0 150 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x166] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt b/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt
index 5a87a9ba9d3..126714eb268 100644
--- a/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt
+++ b/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt
@@ -23,7 +23,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGSVGBox <svg> at [72.359375,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-is-removed-on-exit.txt b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-is-removed-on-exit.txt
index 6fcc3a301d8..70923e0204a 100644
--- a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-is-removed-on-exit.txt
+++ b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-is-removed-on-exit.txt
@@ -4,7 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from VideoBox start: 0, length: 0, rect: [8,8 854x480] baseline: 480
VideoBox <video> at [8,8] inline-block [0+0+0 854 0+0+0] [0+0+0 480 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x499.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-replaces-video-without-controls.txt b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-replaces-video-without-controls.txt
index 3e333443afb..0e01adba4ee 100644
--- a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-replaces-video-without-controls.txt
+++ b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-replaces-video-without-controls.txt
@@ -20,7 +20,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Bring video back"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x499.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-after-controls-are-removed.txt b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-after-controls-are-removed.txt
index f53265e7a89..bfbc8670546 100644
--- a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-after-controls-are-removed.txt
+++ b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-after-controls-are-removed.txt
@@ -20,7 +20,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Bring video back"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x499.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-when-controls-are-added.txt b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-when-controls-are-added.txt
index 4676a34d9f8..cc56b648c26 100644
--- a/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-when-controls-are-added.txt
+++ b/Tests/LibWeb/Layout/expected/PictureInPicture/placeholder-stays-when-controls-are-added.txt
@@ -44,7 +44,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGSVGBox <svg.icon.fullscreen-icon> at [830,457] flex-item [0+0+0 24 0+0+0] [0+0+0 24 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <path.fullscreen-maximize-path> at [3,3] [0+0+0 18 0+0+0] [0+0+0 18 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x499.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-after-consecutive-forced-breaks-static-position.txt b/Tests/LibWeb/Layout/expected/abspos-after-consecutive-forced-breaks-static-position.txt
index fabbf29c99a..54953afda77 100644
--- a/Tests/LibWeb/Layout/expected/abspos-after-consecutive-forced-breaks-static-position.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-after-consecutive-forced-breaks-static-position.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] children: not-inline
BlockContainer <ul> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [0,0] positioned [0+0+0 100 0+0+700] [0+0+0 40 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [0,5 30x10] baseline: 8
"XXX"
@@ -14,10 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [0,45 10x10] baseline: 8
"X"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [0,40] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,40] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-auto-height-flex-and-grid-roots.txt b/Tests/LibWeb/Layout/expected/abspos-auto-height-flex-and-grid-roots.txt
index 1f50936f02f..24309c084be 100644
--- a/Tests/LibWeb/Layout/expected/abspos-auto-height-flex-and-grid-roots.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-auto-height-flex-and-grid-roots.txt
@@ -1,294 +1,94 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x5400]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 5400 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 5400 0+0+0] children: not-inline
- BlockContainer <div.cb> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#columnGrow.root.column> at [5,9] positioned flex-container(column) [0+2+3 190 3+2+0] [0+2+7 40 5+2+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [5,9] flex-item [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [5,29] flex-item [0+0+0 190 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [5,29] [0+0+0 10 0+0+180] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [5,33] flex-item [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,300] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,300] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,300] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#columnMaxPx.root.column> at [5,305] positioned flex-container(column) [0+1+4 190 4+1+0] [0+1+4 20 4+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [5,305] flex-item [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [5,315] flex-item [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,600] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,600] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,600] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#columnMaxPercent.root.column> at [6,606] positioned flex-container(column) [0+0+6 188 6+0+0] [0+0+6 33 6+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [6,606] flex-item [0+0+0 20 0+0+0] [0+0+0 11 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [6,617] flex-item [0+0+0 20 0+0+0] [0+0+0 11 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [6,628] flex-item [0+0+0 20 0+0+0] [0+0+0 11 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,900] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,900] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,900] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#rowWrap.root.row> at [0,900] positioned flex-container(row) [0+0+0 50 0+0+0] [0+0+0 55 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,900] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [20,900] flex-item [0+0+0 20 0+0+0] [0+0+0 35 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,940.5] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [20,940.5] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [20,940.5] [0+0+0 10 0+0+10] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,1200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,1200] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,1200] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#rowMaxPercent.root.row> at [3,1203] positioned flex-container(row) [0+0+3 200 3+0+0] [0+0+3 30 3+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [3,1203] flex-item [0+0+0 20 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [23,1203] flex-item [0+0+0 20 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [23,1203] [0+0+0 10 0+0+10] [0+0+0 25 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,1500] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,1500] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,1500] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#gridRows.root.grid> at [0,1500] positioned [0+0+0 200 0+0+0] [0+0+0 80 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,1500] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,1524] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,1544] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [0,1544] [0+0+0 10 0+0+190] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,1548] [0+0+0 20 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,1800] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,1800] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,1800] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#gridMinHeight.root.grid> at [0,1800] positioned [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,1830] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,1850] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,2100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,2100] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,2100] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#gridMinMaxHeight.root.grid> at [0,2100] positioned [0+0+0 200 0+0+0] [0+0+0 60 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,2100] [0+0+0 20 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,2150] [0+0+0 20 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,2400] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,2400] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,2400] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#columnBothInsetsStretch.root.column> at [0,2400] positioned flex-container(column) [0+0+0 200 0+0+0] [0+0+0 300 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,2400] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,2420] flex-item [0+0+0 200 0+0+0] [0+0+0 280 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [0,2420] [0+0+0 10 0+0+190] [0+0+0 140 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,2700] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,2700] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,2700] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#columnBothInsetsEnd.root.column> at [0,2980] positioned flex-container(column) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,2980] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,3000] flex-item [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [0,3000] [0+0+0 10 0+0+190] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,3000] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,3000] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,3000] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#gridBothInsetsStretch.root.grid> at [0,3000] positioned [0+0+0 200 0+0+0] [0+0+0 300 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,3000] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,3300] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [0,3300] [0+0+0 10 0+0+190] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,3300] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,3300] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,3300] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#gridBothInsetsEnd.root.grid> at [0,3580] positioned [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,3580] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,3600] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.half> at [0,3600] [0+0+0 10 0+0+190] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,3600] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,3600] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,3600] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#rowBottomInset.root.row> at [0,3850] positioned flex-container(row) [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,3850] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [20,3850] flex-item [0+0+0 20 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,3900] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.cb> at [0,3900] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.cb> at [0,3900] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] children: not-inline
Box <div#columnStaticPosition.root.column> at [0,3920] positioned flex-container(column) [0+0+0 200 0+0+0] [0+0+20 40 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,3920] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,3940] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,4200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.cb> at [0,4200] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [400,4200] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.anchor> at [350,4200] [0+0+0 50 0+0+0] [0+0+0 50 0+0+250] children: not-inline
- BlockContainer <(anonymous)> at [350,4200] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <div#columnEndWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.column> at [0,4200] positioned flex-container(column) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.rigid> at [-150,4200] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,4500] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ Box <div#columnEndWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.column> at [0,4200] positioned flex-container(column) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
+ BlockContainer <div.rigid> at [-150,4200] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cb> at [0,4500] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [400,4500] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.anchor> at [350,4500] [0+0+0 50 0+0+0] [0+0+0 50 0+0+250] children: not-inline
- BlockContainer <(anonymous)> at [350,4500] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <div#columnReverseWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.column> at [0,4500] positioned flex-container(column-reverse) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.rigid> at [-150,4500] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,4800] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ Box <div#columnReverseWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.column> at [0,4500] positioned flex-container(column-reverse) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
+ BlockContainer <div.rigid> at [-150,4500] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cb> at [0,4800] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [400,4800] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.anchor> at [350,4800] [0+0+0 50 0+0+0] [0+0+0 50 0+0+250] children: not-inline
- BlockContainer <(anonymous)> at [350,4800] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <div#columnShrinkWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.column> at [0,4800] positioned flex-container(column) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.shrinkable> at [0,4800] flex-item [0+0+0 25 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.shrinkable> at [25,4800] flex-item [0+0+0 25 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,5100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ Box <div#columnShrinkWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.column> at [0,4800] positioned flex-container(column) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
+ BlockContainer <div.shrinkable> at [0,4800] flex-item [0+0+0 25 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.shrinkable> at [25,4800] flex-item [0+0+0 25 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cb> at [0,5100] positioned [0+0+0 400 0+0+400] [0+0+0 300 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [400,5100] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.anchor> at [350,5100] [0+0+0 50 0+0+0] [0+0+0 50 0+0+250] children: not-inline
- BlockContainer <(anonymous)> at [350,5100] [0+0+0 0 0+0+0] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <div#rowWrapEndWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.row> at [0,5100] positioned flex-container(row) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.line> at [-150,5100] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.line> at [-50,5100] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,5400] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ Box <div#rowWrapEndWithAnchorSizedMaxHeightInOtherWritingMode.anchor-sized-root.row> at [0,5100] positioned flex-container(row) [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
+ BlockContainer <div.line> at [-150,5100] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.line> at [-50,5100] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x5400] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-box-bottom-with-max-height.txt b/Tests/LibWeb/Layout/expected/abspos-box-bottom-with-max-height.txt
index a9fd6954753..fbf12bdc455 100644
--- a/Tests/LibWeb/Layout/expected/abspos-box-bottom-with-max-height.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-box-bottom-with-max-height.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,550] positioned [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-box-with-block-level-sibling.txt b/Tests/LibWeb/Layout/expected/abspos-box-with-block-level-sibling.txt
index c2b85ea6e18..326d40d0add 100644
--- a/Tests/LibWeb/Layout/expected/abspos-box-with-block-level-sibling.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-box-with-block-level-sibling.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [18,18] [8+5+0 764 0+5+8] [8+5+0 210 0+5+8] children: not-inline
BlockContainer <div.static> at [23,23] [0+5+0 200 0+5+554] [0+5+0 200 0+5+0] children: not-inline
BlockContainer <div.absolute> at [23,233] positioned [0+5+0 100 0+5+0] [0+5+0 200 0+5+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [18,228] [0+0+0 764 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [5,5 790x236] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row-group.txt b/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row-group.txt
index a9e344bb548..57c5ae101c8 100644
--- a/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row-group.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row-group.txt
@@ -6,10 +6,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.rows> at [8,8] positioned table-row-group [0+0+0 200 0+0+0] [0+0+0 60 0+0+0] children: not-inline
Box <(anonymous)> at [8,8] table-row [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,8] table-cell [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.abspos> at [8,8] positioned [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.abspos> at [8,8] positioned [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <div.row> at [8,8] table-row [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div.cell> at [8,8] table-cell [0+0+0 200 0+0+0] [0+0+0 16 14+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,8 36.03125x16] baseline: 12.796875
@@ -20,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [8,38 54.78125x16] baseline: 12.796875
"second"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,68] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x76] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row.txt b/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row.txt
index d55cc2b601c..f755038ed51 100644
--- a/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-direct-child-of-relative-table-row.txt
@@ -11,16 +11,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [87.359375,23] table-cell [0+0+0 120.640625 0+0+0] [0+0+15 0 15+0+0] [BFC] children: not-inline
Box <div.row> at [8,38] positioned table-row [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,50.796875] table-cell [0+0+0 79.359375 0+0+0] [0+0+12.796875 0 17.203125+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,50.796875] [0+0+0 79.359375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.abspos> at [18,43] positioned [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.abspos> at [18,43] positioned [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [87.359375,38] table-cell [0+0+0 120.640625 0+0+0] [0+0+0 16 14+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [87.359375,38 54.78125x16] baseline: 12.796875
"second"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,68] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x76] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-fit-content-height-uses-own-width.txt b/Tests/LibWeb/Layout/expected/abspos-fit-content-height-uses-own-width.txt
index c1873fc4f60..0838c71bfb1 100644
--- a/Tests/LibWeb/Layout/expected/abspos-fit-content-height-uses-own-width.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-fit-content-height-uses-own-width.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div#box> at [0,0] positioned [0+0+0 200 0+0+0] [0+0+0 30 30+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 37, rect: [0,0 193.578125x10] baseline: 8
"This paragraph is long enough that it"
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 76, length: 21, rect: [0,20 111.390625x10] baseline: 8
"the narrow fixed box."
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-1.txt b/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-1.txt
index fb2f4a9235e..9873df75906 100644
--- a/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-1.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-1.txt
@@ -1,13 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
Box <div.container> at [8,8] positioned flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.bottom-left> at [18,48] positioned [0+5+5 50 5+5+0] [500+5+5 50 5+5+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-2.txt b/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-2.txt
index 4e565db40ae..261d0aff131 100644
--- a/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-2.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-flex-margin-limits-2.txt
@@ -1,13 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
Box <div.container> at [8,8] positioned flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.top-right> at [48,18] positioned [500+5+5 50 5+5+0] [0+5+5 50 5+5+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-flexbox-with-auto-width.txt b/Tests/LibWeb/Layout/expected/abspos-flexbox-with-auto-width.txt
index 5660ba9aa4a..3477188ed35 100644
--- a/Tests/LibWeb/Layout/expected/abspos-flexbox-with-auto-width.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-flexbox-with-auto-width.txt
@@ -2,23 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
BlockContainer <div#containing-block> at [8,8] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div#inner-flex> at [8,8] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [83,8] positioned [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [83,8] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <span> at [83,8] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [83,8] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-height-from-insets-with-min-max-height.txt b/Tests/LibWeb/Layout/expected/abspos-height-from-insets-with-min-max-height.txt
index ebc2ecd7920..f05175ebfda 100644
--- a/Tests/LibWeb/Layout/expected/abspos-height-from-insets-with-min-max-height.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-height-from-insets-with-min-max-height.txt
@@ -1,40 +1,16 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x1000]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 1000 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 1000 0+0+0] children: not-inline
- BlockContainer <div.container> at [0,0] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.container> at [0,0] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.abspos> at [0,37] positioned [0+0+0 200 0+0+0] [0+0+0 163 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div.container> at [0,200] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.container> at [0,200] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.abspos> at [0,350] positioned [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,400] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div.container> at [0,400] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.container> at [0,400] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.abspos> at [0,400] positioned [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,600] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div.container> at [0,600] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.container> at [0,600] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.abspos> at [0,650] positioned [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,800] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div.container> at [0,800] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.container> at [0,800] positioned [0+0+0 200 0+0+600] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.abspos> at [0,810] positioned [0+0+0 200 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,1000] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1000] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt b/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt
index 6a9f6a9c0b8..c9def70ec20 100644
--- a/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-image-with-min-height-constraint.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 808x608]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
ImageBox <img#zero-dimensions-but-min-percentages> at [8,8] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-in-cell-relative-to-relative-table.txt b/Tests/LibWeb/Layout/expected/abspos-in-cell-relative-to-relative-table.txt
index 2a3b64104b0..2b5287435e6 100644
--- a/Tests/LibWeb/Layout/expected/abspos-in-cell-relative-to-relative-table.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-in-cell-relative-to-relative-table.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"second"
BlockContainer <div.abspos> at [20,16] positioned [0+0+0 40 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,68] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x76] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-atomic-inline-border-box.txt b/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-atomic-inline-border-box.txt
index 22b7e711d73..a094b253758 100644
--- a/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-atomic-inline-border-box.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-atomic-inline-border-box.txt
@@ -1,29 +1,21 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x772]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] positioned [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,20] [20+0+0 360 0+0+20] [20+0+0 20 0+0+20] children: inline
InlineNode <span.host> at [20,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [34,30 0x0] baseline: 10
BlockContainer <span.atomic.empty-padded> at [34,30] inline-block [0+4+10 0 10+4+0] [0+4+6 0 6+4+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [20,30] positioned [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,60] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,60] [20+0+0 360 0+0+20] [20+0+0 20 0+0+20] children: inline
InlineNode <span.host> at [20,65] [0+0+0 10 0+0+0] [0+0+0 0 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [25,65 0x0] baseline: 5
BlockContainer <span.atomic.border-only> at [25,65] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [20,65] positioned [0+0+0 10 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,100] [20+0+0 360 0+0+20] [20+0+0 20 0+0+20] children: inline
InlineNode <span.host> at [20,105] [0+0+0 30 0+0+0] [0+0+0 8 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [29,105 12x8] baseline: 5
BlockContainer <span.atomic.sized-padded> at [29,105] inline-block [0+2+7 12 7+2+0] [0+2+3 8 3+2+0] [BFC] children: not-inline
BlockContainer <span.percentage> at [50,100] positioned [0+0+0 30 0+0+0] [0+0+0 8 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,140] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,140] [20+0+0 360 0+0+20] [20+0+0 20 0+0+20] children: inline
InlineNode <span.host> at [20,140] [0+0+0 32.125 0+0+0] [0+0+0 20 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [20,140 12.125x20] baseline: 16
@@ -32,22 +24,16 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.atomic.mixed> at [39.125,145] inline-block [0+3+4 6 4+3+0] [0+3+2 10 2+3+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [20,140] positioned [0+0+0 32.125 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,180] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,180] [20+0+0 360 0+0+20] [20+0+0 44 0+0+20] children: inline
InlineNode <span.host> at [20,182] [0+0+0 12 0+0+0] [0+0+0 40 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [22,182 8x40] baseline: 2
BlockContainer <span.atomic.tall> at [22,182] inline-block [0+2+0 8 0+2+0] [0+2+0 40 0+2+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [20,182] positioned [0+0+0 12 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,244] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,244] [20+0+0 360 0+0+20] [20+0+0 20 0+0+20] children: inline
InlineNode <span.host.large-line-height> at [20,249] [0+0+0 10 0+0+0] [0+0+0 0 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [25,249 0x0] baseline: 5
BlockContainer <span.atomic.border-only> at [25,249] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [20,249] positioned [0+0+0 10 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,284] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,284] [20+0+0 360 0+0+20] [20+0+0 60 0+0+20] children: inline
InlineNode <span.large-sibling> at [20,294] [0+0+0 30.75 0+0+0] [0+0+0 40 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [20,294 30.75x40] baseline: 32
@@ -57,57 +43,41 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from BlockContainer start: 0, length: 0, rect: [55.75,321 0x0] baseline: 10
BlockContainer <span.atomic.baseline.border-only> at [55.75,321] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [50.75,321] positioned [0+0+0 10 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,364] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.vertical> at [20,364] [20+0+0 20 0+0+20] [20+0+0 10 0+0+20] [BFC] children: inline
InlineNode <span.host> at [35,364] [0+0+0 0 0+0+0] [0+0+0 10 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [35,369 0x0] baseline: 5
BlockContainer <span.atomic.border-only> at [35,369] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [35,364] positioned [0+0+0 0 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,394] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.vertical> at [20,394] [20+0+0 30 0+0+20] [20+0+0 18 0+0+20] [BFC] children: inline
InlineNode <span.host> at [29,394] [0+0+0 12 0+0+0] [0+0+0 18 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [29,399 12x8] baseline: 9
BlockContainer <span.atomic.sized-padded> at [29,399] inline-block [0+2+7 12 7+2+0] [0+2+3 8 3+2+0] [BFC] children: not-inline
BlockContainer <span.percentage> at [38,412] positioned [0+0+0 12 0+0+0] [0+0+0 18 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,432] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.vertical> at [20,432] [20+0+0 20 0+0+20] [20+0+0 10 0+0+20] [BFC] children: inline
InlineNode <span.host.large-line-height> at [35,432] [0+0+0 0 0+0+0] [0+0+0 10 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [35,437 0x0] baseline: 5
BlockContainer <span.atomic.border-only> at [35,437] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [35,432] positioned [0+0+0 0 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,462] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.vertical-lr> at [20,462] [20+0+0 30 0+0+20] [20+0+0 18 0+0+20] [BFC] children: inline
InlineNode <span.host> at [29,462] [0+0+0 12 0+0+0] [0+0+0 18 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [29,467 12x8] baseline: 9
BlockContainer <span.atomic.sized-padded> at [29,467] inline-block [0+2+7 12 7+2+0] [0+2+3 8 3+2+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [29,462] positioned [0+0+0 12 0+0+0] [0+0+0 18 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,500] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.vertical> at [20,500] [20+0+0 20 0+0+20] [20+0+0 10 0+0+20] [BFC] children: inline
InlineNode <span.host> at [29,500] [0+0+0 0 0+0+0] [0+0+0 10 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [29,505 0x0] baseline: 10
BlockContainer <span.atomic.baseline.border-only> at [29,505] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [29,500] positioned [0+0+0 0 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,530] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.vertical> at [20,530] [20+0+0 20 0+0+20] [20+0+0 10 0+0+20] [BFC] children: inline
InlineNode <span.host> at [30,530] [0+0+0 0 0+0+0] [0+0+0 10 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [30,535 0x0] baseline: 10.375
BlockContainer <span.atomic.middle.border-only> at [30,535] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [30,530] positioned [0+0+0 0 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,560] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,560] [20+0+0 360 0+0+20] [20+0+0 20 0+0+20] children: inline
InlineNode <span.host> at [20,570] [0+0+0 10 0+0+0] [0+0+0 0 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [25,570 0x0] baseline: 10.375
BlockContainer <span.atomic.middle.border-only> at [25,570] inline-block [0+5+0 0 0+5+0] [0+5+0 0 0+5+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [20,570] positioned [0+0+0 10 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,600] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case> at [20,600] [20+0+0 360 0+0+20] [20+0+0 40 0+0+20] children: inline
InlineNode <span.zero-host> at [20,600] [0+0+0 68.5 0+0+0] [0+0+0 40 0+0+0]
frag 0 from TextNode start: 0, length: 5, rect: [20,600 45.046875x20] baseline: 16
@@ -118,29 +88,21 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BreakNode <br> (not painted)
TextNode <#text> (not painted)
BlockContainer <span.overlay> at [20,600] positioned [0+0+0 68.5 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,660] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.sideways> at [20,660] [20+0+0 24 0+0+20] [20+0+0 24 0+0+20] [BFC] children: inline
InlineNode <span.host> at [37,660] [0+0+0 0 0+0+0] [0+0+0 24 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [37,665 0x8] baseline: 7
BlockContainer <span.atomic.asymmetric> at [37,665] inline-block [0+8+9 0 1+6+0] [0+2+3 8 7+4+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [37,660] positioned [0+0+0 0 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,704] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.sideways-lr> at [20,704] [20+0+0 24 0+0+20] [20+0+0 24 0+0+20] [BFC] children: inline
InlineNode <span.host> at [37,704] [0+0+0 0 0+0+0] [0+0+0 24 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [37,709 0x8] baseline: 17
BlockContainer <span.atomic.asymmetric> at [37,709] inline-block [0+8+9 0 1+6+0] [0+2+3 8 7+4+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [37,704] positioned [0+0+0 0 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,748] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.case.sideways> at [20,748] [20+0+0 24 0+0+20] [20+0+0 24 0+0+20] [BFC] children: inline
InlineNode <span.host.large-line-height> at [37,748] [0+0+0 0 0+0+0] [0+0+0 24 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [37,753 0x8] baseline: 7
BlockContainer <span.atomic.asymmetric> at [37,753] inline-block [0+8+9 0 1+6+0] [0+2+3 8 7+4+0] [BFC] children: not-inline
BlockContainer <span.overlay> at [37,748] positioned [0+0+0 0 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,792] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-first-last-line-rule.txt b/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-first-last-line-rule.txt
index 12cdbb31d74..e55b8876afb 100644
--- a/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-first-last-line-rule.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-inline-containing-block-first-last-line-rule.txt
@@ -2,7 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 404 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,8] [0+0+0 800 0+0+0] [0+0+0 388 0+0+0] children: not-inline
BlockContainer <div.frame> at [8,8] [8+0+0 130 0+0+662] [8+0+0 60 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <span.rel> at [8,10] [0+0+0 126.28125 0+0+0] [0+0+0 56 0+0+0]
frag 0 from TextNode start: 0, length: 5, rect: [8,10 45.625x16] baseline: 12.796875
"aa bb"
@@ -17,11 +16,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.cb> at [8,10] positioned [0+0+0 17.4375 0+0+0] [0+0+0 56 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,76] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.frame> at [8,76] [8+0+0 300 0+0+492] [8+0+0 80 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <span.rel> at [8,78] [0+0+0 52.53125 0+0+0] [0+0+0 76 0+0+0]
frag 0 from TextNode start: 0, length: 6, rect: [8,78 52.53125x16] baseline: 12.796875
"before"
@@ -36,9 +31,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.cb> at [8,78] positioned [0+0+0 40.1875 0+0+0] [0+0+0 76 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,164] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.frame> at [8,164] [8+0+0 300 0+0+492] [8+0+0 20 0+0+8] children: inline
frag 0 from TextNode start: 5, length: 3, rect: [8,166 26.6875x16] baseline: 12.796875
"aa "
@@ -51,9 +43,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.cb> at [34.6875,166] positioned [0+0+0 56.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,192] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.frame> at [8,192] [8+0+0 300 0+0+492] [8+0+0 20 0+0+8] children: inline
frag 0 from TextNode start: 5, length: 3, rect: [200.875,194 26.6875x16] baseline: 12.796875
"aa "
@@ -66,11 +55,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.cb> at [231.5625,194] positioned [0+0+0 44.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,220] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.frame> at [8,220] [8+0+0 300 0+0+492] [8+0+0 60 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <span.rel> at [8,262] [0+0+0 46.875 0+0+0] [0+0+0 60 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [8,262 9.703125x16] baseline: 12.796875
"x"
@@ -82,9 +67,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.cb> at [8,262] positioned [0+0+0 46.875 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,288] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,288] [0+0+0 204 0+0+596] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [0,288] table-box [0+0+0 204 0+0+0] [0+0+0 20 0+0+0] [TFC] children: not-inline
Box <tbody> at [2,290] table-row-group [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] children: not-inline
@@ -95,11 +77,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"cell text"
TextNode <#text> (not painted)
BlockContainer <span.cb> at [2,290] positioned [0+0+0 66.21875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,308] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.frame> at [8,316] [8+0+0 300 0+0+492] [8+0+0 80 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <span.rel> at [8,318] [0+0+0 6.859375 0+0+0] [0+0+0 76 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [8,318 6.859375x16] baseline: 12.796875
"t"
@@ -111,8 +89,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cb> at [8,318] positioned [0+0+0 6.859375 0+0+0] [0+0+0 76 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,404] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x404] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt b/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt
index 4322dd453cf..973721552d7 100644
--- a/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-not-replaced-multiple-auto-variants.txt
@@ -1,13 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 18 0+1+0] [BFC] children: not-inline
- BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 0 0+1+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 0 0+1+8] children: not-inline
BlockContainer <div.only-t-l> at [6,6] positioned [0+1+0 10 0+1+0] [0+1+0 10 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.only-mt-ml> at [16,16] positioned [5+1+0 10 0+1+5] [5+1+0 10 0+1+5] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.both> at [11,11] positioned [5+1+0 10 0+1+5] [5+1+0 10 0+1+5] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x18] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-relative-to-table-row.txt b/Tests/LibWeb/Layout/expected/abspos-relative-to-table-row.txt
index 6069abb815e..38d01b0874d 100644
--- a/Tests/LibWeb/Layout/expected/abspos-relative-to-table-row.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-relative-to-table-row.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [11,15 70.5625x16] baseline: 12.796875
"ABSPOS"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,18] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x26] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt b/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt
index 103f5f223f3..fe0e07adeaf 100644
--- a/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-with-percentage-insets.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 0 0+1+0] [BFC] children: not-inline
- BlockContainer <body> at [10,10] positioned [8+1+0 500 0+1+8] [8+1+0 400 0+1+8] [BFC] children: inline
+ BlockContainer <body> at [10,10] positioned [8+1+0 500 0+1+8] [8+1+0 400 0+1+8] [BFC] children: not-inline
BlockContainer <div.one> at [311,211] positioned [0+1+0 28.6875 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [311,211 28.6875x16] baseline: 12.796875
"one"
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [330.5625,353 28.4375x16] baseline: 12.796875
"two"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/abspos-with-static-position-in-one-axis.txt b/Tests/LibWeb/Layout/expected/abspos-with-static-position-in-one-axis.txt
index af8686b3010..74a570b3cb8 100644
--- a/Tests/LibWeb/Layout/expected/abspos-with-static-position-in-one-axis.txt
+++ b/Tests/LibWeb/Layout/expected/abspos-with-static-position-in-one-axis.txt
@@ -5,7 +5,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 13, rect: [8,8 100.203125x16] baseline: 12.796875
"hello friends"
TextNode <#text> (not painted)
- ImageBox <img> at [50,24] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
+ BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
+ ImageBox <img> at [50,24] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/acid1.txt b/Tests/LibWeb/Layout/expected/acid1.txt
index e28a4dda633..55ec670c25f 100644
--- a/Tests/LibWeb/Layout/expected/acid1.txt
+++ b/Tests/LibWeb/Layout/expected/acid1.txt
@@ -1,36 +1,23 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 420 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [20,20] [15+5+0 480 0+5+295] [15+5+0 380 0+5+15] children: not-inline
- BlockContainer <(anonymous)> at [20,20] [0+0+0 480 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <dl> at [25,25] [0+0+5 470 5+0+0] [0+0+5 0 5+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <dl> at [25,25] [0+0+5 470 5+0+0] [0+0+5 0 5+0+0] children: not-inline
BlockContainer <dt> at [40,40] floating [0+5+10 49.984375 10+5+0] [0+5+10 280 10+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [40,40 28.3125x10] baseline: 8
"toggle"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <dd> at [135,45] floating [10+10+10 340 10+10+0] [0+10+10 270 10+10+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [135,45] [0+0+0 340 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <ul> at [135,45] [0+0+0 340 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <ul> at [135,45] [0+0+0 340 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <li> at [150,60] floating [0+5+10 50 10+5+0] [0+5+10 90 10+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [150,60 37.890625x10] baseline: 8
"the way"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <li#bar> at [235,55] floating [10+0+10 139.96875 10+0+10] [0+0+10 90 10+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [235,55] [0+0+0 139.96875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [235,55] [0+0+0 139.96875 0+0+0] [0+0+0 10 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [235,55 74.296875x10] baseline: 8
"the world ends"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [235,65] [0+0+0 139.96875 0+0+0] [0+0+0 43 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <form> at [235,65] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [235,65 139.96875x21.5] baseline: 0
frag 0 from BlockContainer start: 0, length: 0, rect: [235,86.5 139.96875x21.5] baseline: 0
@@ -42,7 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
RadioButton <input> at [267.5,68] inline-block [5+0+0 12 0+0+3] [3+0+0 12 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <p> at [235,86.5] [0+0+0 139.96875 0+0+0] [0+0+0 21.5 0+0+0] children: inline
frag 0 from TextNode start: 33, length: 8, rect: [235,93 45.171875x10] baseline: 8
"whimper "
@@ -50,45 +36,30 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
RadioButton <input> at [285.171875,89.5] inline-block [5+0+0 12 0+0+3] [3+0+0 12 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <li> at [409.96875,60] floating [0+5+10 50 10+5+0] [0+5+10 90 10+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [409.96875,60 31.59375x10] baseline: 8
"i grow"
frag 1 from TextNode start: 7, length: 3, rect: [409.96875,70 14.015625x10] baseline: 8
"old"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <li#baz> at [145,185] floating [0+0+10 100 10+0+0] [10+0+10 100 10+0+10] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [145,185 29.421875x10] baseline: 8
"pluot?"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [135,45] [0+0+0 340 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <blockquote> at [280,195] floating [20+5+0 50 0+15+10] [10+10+10 90 10+20+10] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [280,195] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <address> at [280,195] [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 3, rect: [280,195 17.28125x10] baseline: 8
- "bar"
- frag 1 from TextNode start: 4, length: 6, rect: [280,205 30.234375x10] baseline: 8
- "maids,"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [280,215] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <h1> at [365,185] floating [0+0+10 100 10+0+0] [10+0+10 100 10+0+10] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 11, rect: [365,185 56.421875x10] baseline: 8
- "sing to me,"
- frag 1 from TextNode start: 12, length: 12, rect: [365,195 65.46875x10] baseline: 8
- "erbarme dich"
+ BlockContainer <blockquote> at [280,195] floating [20+5+0 50 0+15+10] [10+10+10 90 10+20+10] [BFC] children: not-inline
+ BlockContainer <address> at [280,195] [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 3, rect: [280,195 17.28125x10] baseline: 8
+ "bar"
+ frag 1 from TextNode start: 4, length: 6, rect: [280,205 30.234375x10] baseline: 8
+ "maids,"
TextNode <#text> (not painted)
+ BlockContainer <h1> at [365,185] floating [0+0+10 100 10+0+0] [10+0+10 100 10+0+10] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 11, rect: [365,185 56.421875x10] baseline: 8
+ "sing to me,"
+ frag 1 from TextNode start: 12, length: 12, rect: [365,195 65.46875x10] baseline: 8
+ "erbarme dich"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [20,30] [0+0+0 480 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [20,335] [0+0+0 480 0+0+0] [0+0+0 65 0+0+0] children: inline
frag 0 from TextNode start: 13, length: 86, rect: [20,336.5 448.296875x10] baseline: 8
"This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant "
@@ -123,8 +94,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"parent page"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [20,400] [0+0+0 480 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x420] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/aspect-ratio-flex-and-grid-containers-with-whitespace.txt b/Tests/LibWeb/Layout/expected/aspect-ratio-flex-and-grid-containers-with-whitespace.txt
index 472eaa2fc94..df9d3f185c5 100644
--- a/Tests/LibWeb/Layout/expected/aspect-ratio-flex-and-grid-containers-with-whitespace.txt
+++ b/Tests/LibWeb/Layout/expected/aspect-ratio-flex-and-grid-containers-with-whitespace.txt
@@ -2,29 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 288 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 270 0+0+8] children: not-inline
Box <div.container.flex> at [8,8] flex-container(row) [0+0+0 100 0+0+684] [0+0+0 60 0+0+10] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] flex-item [0+0+0 50 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,78] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container.flex> at [8,78] flex-container(row) [0+0+0 100 0+0+684] [0+0+0 60 0+0+10] [FFC] children: not-inline
BlockContainer <div.item> at [8,78] flex-item [0+0+0 50 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,148] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container.grid> at [8,148] [0+0+0 100 0+0+684] [0+0+0 60 0+0+10] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,148] [0+0+0 50 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,218] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container.grid> at [8,218] [0+0+0 100 0+0+684] [0+0+0 60 0+0+10] [GFC] children: not-inline
BlockContainer <div.item> at [8,218] [0+0+0 50 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x288] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/auto-margin-max-width-container.txt b/Tests/LibWeb/Layout/expected/auto-margin-max-width-container.txt
index 15c6532f84c..1e66cd40ae2 100644
--- a/Tests/LibWeb/Layout/expected/auto-margin-max-width-container.txt
+++ b/Tests/LibWeb/Layout/expected/auto-margin-max-width-container.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
BlockContainer <div> at [204,8] [196+0+0 392 0+0+196] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt b/Tests/LibWeb/Layout/expected/automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt
index d0acea0825b..a8945fc518b 100644
--- a/Tests/LibWeb/Layout/expected/automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt
+++ b/Tests/LibWeb/Layout/expected/automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <body.outer> at [8,8] positioned [8+0+0 0 0+0+8] [8+0+0 0 0+0+8] [BFC] children: not-inline
- BlockContainer <div.inner> at [9,9] positioned [0+1+0 0 0+1+0] [0+1+0 0 0+1+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.inner> at [9,9] positioned [0+1+0 0 0+1+0] [0+1+0 0 0+1+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/bfc-fit-content-width-with-margin.txt b/Tests/LibWeb/Layout/expected/bfc-fit-content-width-with-margin.txt
index 061e49fc653..adaded46f82 100644
--- a/Tests/LibWeb/Layout/expected/bfc-fit-content-width-with-margin.txt
+++ b/Tests/LibWeb/Layout/expected/bfc-fit-content-width-with-margin.txt
@@ -21,8 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 8 from TextNode start: 528, length: 21, rect: [243.1875,136 178.53125x16] baseline: 12.796875
"aliquet rhoncus urna."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.margin-right> at [8,152] [0+0+0 548.8125 0+0+235.1875] [0+0+0 112 0+0+0] children: inline
frag 0 from TextNode start: 1, length: 63, rect: [8,152 531.765625x16] baseline: 12.796875
"Pellentesque quis vulputate urna. Mauris semper elementum velit"
@@ -39,8 +37,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 6 from TextNode start: 381, length: 56, rect: [8,248 469.453125x16] baseline: 12.796875
"faucibus erat, non euismod turpis metus sit amet turpis."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x272] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-abspos-flow-root-floats.txt b/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-abspos-flow-root-floats.txt
index de8ec320a39..659bf3e1bd0 100644
--- a/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-abspos-flow-root-floats.txt
+++ b/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-abspos-flow-root-floats.txt
@@ -1,15 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div> at [1,1] positioned [0+1+0 50 0+1+0] [0+1+0 60 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [1,1] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [1,1] floating [0+0+0 30 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [1,1] floating [0+0+0 30 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [1,1] [0+0+0 50 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [1,11] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-float-past-bottom.txt b/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-float-past-bottom.txt
index 637c3596154..08363ddb148 100644
--- a/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-float-past-bottom.txt
+++ b/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-float-past-bottom.txt
@@ -3,13 +3,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 105.203125 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [1,1 40x100] baseline: 102
BlockContainer <div> at [1,1] inline-block [0+1+0 40 0+1+0] [0+1+0 100 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [1,1] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [1,1] floating [0+0+0 10 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [1,1] floating [0+0+0 10 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [1,1] [0+0+0 40 0+0+0] [0+0+0 20 0+0+35] children: not-inline
- BlockContainer <(anonymous)> at [1,56] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-margin-below-last-child.txt b/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-margin-below-last-child.txt
index f2a8b157bf5..bd0e16f5e13 100644
--- a/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-margin-below-last-child.txt
+++ b/Tests/LibWeb/Layout/expected/bfc-root-auto-height-uses-child-run-result-inline-block-margin-below-last-child.txt
@@ -3,11 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 55.203125 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [1,1 40x50] baseline: 52
BlockContainer <div> at [1,1] inline-block [0+1+0 40 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [1,1] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [1,1] [0+0+0 40 0+0+0] [0+0+0 20 0+0+30] children: not-inline
- BlockContainer <(anonymous)> at [1,51] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/blank.txt b/Tests/LibWeb/Layout/expected/blank.txt
index c2cbd9f536a..f30c80d9c8c 100644
--- a/Tests/LibWeb/Layout/expected/blank.txt
+++ b/Tests/LibWeb/Layout/expected/blank.txt
@@ -1,9 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-block.txt
index 4e1c57031ba..126543a1196 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-block.txt
@@ -8,7 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [8,24 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-first-in-nested-inline-flow-ancestors.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-first-in-nested-inline-flow-ancestors.txt
index b9a2eed576a..e353a201612 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-first-in-nested-inline-flow-ancestors.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-first-in-nested-inline-flow-ancestors.txt
@@ -11,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"X"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-in-nested-inlines-on-later-line.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-in-nested-inlines-on-later-line.txt
index c52e0d131d4..52d6628ba3e 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-in-nested-inlines-on-later-line.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-in-nested-inlines-on-later-line.txt
@@ -18,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"X"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,40] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-inline.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-inline.txt
index 2cc69d77df1..a6cd7222433 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-inline.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-inline.txt
@@ -8,7 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [35.15625,8 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-only-child-of-span.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-only-child-of-span.txt
index 0f253f0c765..e196cc00be9 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-only-child-of-span.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-only-child-of-span.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [0,5 10x10] baseline: 8
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-pseudo-after-trailing-interrupting-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-pseudo-after-trailing-interrupting-block.txt
index 256c1bcf309..c4c1f3b4fb6 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-pseudo-after-trailing-interrupting-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-pseudo-after-trailing-interrupting-block.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [0,35 10x10] baseline: 8
"X"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [0,30] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x30] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-after-interrupting-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-after-interrupting-block.txt
index abb85751788..62b9b348571 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-after-interrupting-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-after-interrupting-block.txt
@@ -19,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"block"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,60] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-with-float-intrusion.txt b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-with-float-intrusion.txt
index 60408574139..d239da1439a 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-with-float-intrusion.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/abspos-static-position-with-float-intrusion.txt
@@ -2,13 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
BlockContainer <div#wrapper> at [8,8] positioned [0+0+0 400 0+0+384] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#float> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#abspos> at [108,8] positioned [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt b/Tests/LibWeb/Layout/expected/block-and-inline/automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt
index 442992db806..3dce8d70a02 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.txt
@@ -1,9 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] positioned [8+0+0 140 0+0+8] [8+0+0 100 0+0+8] [BFC] children: not-inline
- BlockContainer <div.black> at [58,58] [0+50+0 40 0+50+0] [0+50+0 0 0+50+0] children: inline
+ BlockContainer <div.black> at [58,58] [0+50+0 40 0+50+0] [0+50+0 0 0+50+0] children: not-inline
BlockContainer <div.green> at [78,78] floating [0+20+0 0 0+20+0] [0+20+0 0 0+20+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-consider-all-currently-stacked-floats.txt b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-consider-all-currently-stacked-floats.txt
index 2cb31bd8f71..b788ce2199a 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-consider-all-currently-stacked-floats.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-consider-all-currently-stacked-floats.txt
@@ -1,13 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 108 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 3, length: 3, rect: [137.109375,8 27.640625x16] baseline: 12.796875
"bar"
BlockContainer <div.big-float> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.xxx> at [108,8] floating [0+0+0 29.109375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [108,8 29.109375x16] baseline: 12.796875
"xxx"
@@ -16,14 +13,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 5, length: 3, rect: [129.515625,24 27.203125x16] baseline: 12.796875
"baz"
- TextNode <#text> (not painted)
BlockContainer <div.yyy> at [108,24] floating [0+0+0 21.515625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [108,24 21.515625x16] baseline: 12.796875
"yyy"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x108] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically-2.txt b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically-2.txt
index 9d794b0dad8..469136b520e 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically-2.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically-2.txt
@@ -1,13 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 200 0+0+600] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <ul> at [0,0] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <ul> at [0,0] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.red> at [0,0] floating [0+0+0 150 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <div.green> at [0,50] floating [0+0+0 150 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.orange> at [0,100] floating [0+0+0 150 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x150] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically.txt b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically.txt
index c04f8db82c6..eff4342d993 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-float-left-break-vertically.txt
@@ -1,20 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 106 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [1,1] [0+0+0 798 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [2,2] [0+1+0 400 0+1+396] [0+1+0 2 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [2,2] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.ul> at [3,3] [0+1+0 398 0+1+0] [0+1+0 0 0+1+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.ul> at [3,3] [0+1+0 398 0+1+0] [0+1+0 0 0+1+0] children: not-inline
BlockContainer <div.yellow> at [4,4] floating [0+1+0 60 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.orange> at [66,4] floating [0+1+0 250 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,4] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.green> at [3,56] floating [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.green> at [3,56] floating [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x106] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-root-height-includes-trailing-interrupting-block-margin.txt b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-root-height-includes-trailing-interrupting-block-margin.txt
index bc5d140004c..6d1f2e985e4 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/bfc-root-height-includes-trailing-interrupting-block-margin.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/bfc-root-height-includes-trailing-interrupting-block-margin.txt
@@ -11,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [0,25 10x10] baseline: 8
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,90] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x90] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-in-inline-vertical-writing-mode.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-in-inline-vertical-writing-mode.txt
index cd7f65f25fd..67b0d5ce804 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-in-inline-vertical-writing-mode.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-in-inline-vertical-writing-mode.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"b"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-inside-inline.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-inside-inline.txt
index 2675e935b28..bbde2151b38 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-inside-inline.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-inside-inline.txt
@@ -8,7 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
" baz"
TextNode <#text> (not painted)
BlockContainer <div> at [43.15625,8] inline-block [0+0+0 27.640625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
InlineNode <span> at [43.15625,8] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [43.15625,8 27.640625x16] baseline: 0
TextNode <#text> (not painted)
@@ -16,7 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [43.15625,8 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width-constraints.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width-constraints.txt
index 9ce0289ba7a..5af7344df91 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width-constraints.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width-constraints.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 18, rect: [11,29 138.28125x16] baseline: 12.796875
"Well hello friends"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,46] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x54] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width.txt
index 382095c918f..145e621214d 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-fit-content-width.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 18, rect: [11,11 138.28125x16] baseline: 12.796875
"Well hello friends"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,28] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float-and-margin-left.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float-and-margin-left.txt
index 7db1e4b8fa5..4547605b6e9 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float-and-margin-left.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float-and-margin-left.txt
@@ -1,25 +1,13 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div#a> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div#a> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div#b> at [109,9] [100+1+0 682 0+1+0] [0+1+0 18 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [109,9] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [109,9] [0+0+0 682 0+0+0] [0+0+0 18 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [109,9] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#c> at [110,10] [0+1+0 680 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [110,10 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [109,27] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [109,27] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float.txt
index 294dc809019..933269e2c64 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-float.txt
@@ -1,30 +1,16 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.ab> at [108,8] [100+0+0 684 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [108,8] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [108,8] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [108,8] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.a> at [108,8] floating [0+0+0 14.265625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [108,8 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [108,8] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [122.265625,8] [0+0+0 669.734375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [122.265625,8 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [108,24] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-right-float-and-margin-right.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-right-float-and-margin-right.txt
index 784a538f776..e13228fabfe 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-right-float-and-margin-right.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-right-float-and-margin-right.txt
@@ -1,25 +1,13 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div#a> at [692,8] floating [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div#a> at [692,8] floating [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div#b> at [9,9] [0+1+0 682 0+1+100] [0+1+0 18 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [9,9] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [9,9] [0+0+0 682 0+0+0] [0+0+0 18 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [9,9] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#c> at [10,10] [0+1+0 680 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [10,10 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [9,27] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [9,27] [0+0+0 682 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-sibling-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-sibling-float.txt
index add6e50d55c..9113ec1e4a5 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-sibling-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-hidden-overflow-after-sibling-float.txt
@@ -2,45 +2,25 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.a> at [8,8] floating [0+0+0 57.0625 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 57.0625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.a4> at [8,8] [0+0+0 57.0625 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,8 57.0625x16] baseline: 12.796875
"AAAA"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 57.0625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 57.0625 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 57.0625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [108,8] [100+0+0 684 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [108,8] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [108,8] [0+0+0 684 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [108,8 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [108,24] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [108,24] [0+0+0 684 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [108,24 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [108,40] [0+0+0 684 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-max-content-width.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-max-content-width.txt
index 5ff5315a0f8..761d7f0723a 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-max-content-width.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-max-content-width.txt
@@ -5,20 +5,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 18, rect: [11,11 150.21875x16] baseline: 12.796875
"width: max-content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,28] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.bar> at [11,29] [0+1+0 187.953125 0+1+590.046875] [0+1+0 16 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 22, rect: [11,29 187.953125x16] baseline: 12.796875
"max-width: max-content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,46] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.baz> at [11,47] [0+1+0 183.078125 0+1+594.921875] [0+1+0 16 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 22, rect: [11,47 183.078125x16] baseline: 12.796875
"min-width: max-content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,64] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x72] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-min-content-width.txt b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-min-content-width.txt
index 76839488d96..bc6195cc7c5 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/block-with-min-content-width.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/block-with-min-content-width.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 11, length: 7, rect: [11,43 60.90625x16] baseline: 12.796875
"content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,60] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.bar> at [11,61] [0+1+0 60.90625 0+1+717.09375] [0+1+0 64 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [11,61 37.734375x16] baseline: 12.796875
"max-"
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 15, length: 7, rect: [11,109 60.90625x16] baseline: 12.796875
"content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,126] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.baz> at [11,127] [0+1+0 60.90625 0+1+717.09375] [0+1+0 64 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [11,127 32.859375x16] baseline: 12.796875
"min-"
@@ -33,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 15, length: 7, rect: [11,175 60.90625x16] baseline: 12.796875
"content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,192] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt
index d4e5a05f028..bfd06c219fb 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt
@@ -7,7 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 0, length: 1, rect: [27.828125,29 8x16] baseline: 12.796875
" "
frag 2 from BlockContainer start: 0, length: 0, rect: [43.828125,10 23.359375x40] baseline: 34
- TextNode <#text> (not painted)
BlockContainer <div.label> at [9,26] inline-block [0+1+0 17.828125 0+1+0] [0+1+0 20 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [9,26 17.828125x20] baseline: 16
"A"
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt
index ba375b133f0..2ea1cd7d8a7 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt
@@ -6,10 +6,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] [BFC] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [17,11 420x420] baseline: 420
- TextNode <#text> (not painted)
ImageBox <img> at [17,11] [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x442.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-min-height-box-sizing.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-min-height-box-sizing.txt
index da7acd80162..c8f409d78aa 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-min-height-box-sizing.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-min-height-box-sizing.txt
@@ -32,7 +32,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [18,178 6.0625x10] baseline: 8
"x"
TextNode <#text> (not painted)
- BlockContainer <div.abs> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
+ BlockContainer <div.abs> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
BlockContainer <button> at [18,260] positioned [0+5+5 6.0625 5+5+0] [0+5+5 30 5+5+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [18,260] flex-container(column) [0+0+0 6.0625 0+0+0] [0+0+0 30 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [18,270] flex-item [0+0+0 6.0625 0+0+0] [0+0+0 10 0+0+0] [BFC] children: inline
@@ -49,8 +49,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [18,218 6.0625x10] baseline: 8
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,238] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x246] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt
index 1f692edb43d..029a7d0ff65 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt
@@ -2,24 +2,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [25,19 43.890625x178] baseline: 77.984375
- TextNode <#text> (not painted)
BlockContainer <button.button.border-black> at [25,19] inline-block [0+10+7 43.890625 7+10+0] [0+10+1 178 1+10+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [25,19] flex-container(column) [0+0+0 43.890625 0+0+0] [0+0+0 178 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [25,31] flex-item [0+0+0 43.890625 0+0+0] [0+0+0 154 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [25,31] [0+0+0 43.890625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.border-black> at [35,41] [0+10+0 23.890625 0+10+0] [0+10+0 14 0+10+0] children: inline
frag 0 from TextNode start: 13, length: 3, rect: [35,41 23.890625x14] baseline: 10.984375
"one"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [25,65] [0+0+0 43.890625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.border-black> at [35,75] [0+10+0 23.890625 0+10+0] [0+10+0 100 0+10+0] children: inline
frag 0 from TextNode start: 13, length: 3, rect: [35.09375,75 23.6875x14] baseline: 10.984375
"two"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [25,185] [0+0+0 43.890625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-abspos-pseudo-element.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-abspos-pseudo-element.txt
index 065cc7da2b5..b252ee3ba48 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-abspos-pseudo-element.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-abspos-pseudo-element.txt
@@ -4,7 +4,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from BlockContainer start: 0, length: 0, rect: [30,30 0x0] baseline: 22
BlockContainer <button> at [30,30] positioned inline-block [0+2+20 0 20+2+0] [0+2+20 0 20+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [30,30] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [30,30] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [30,30] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline
BlockContainer <(anonymous)> at [10,10] positioned [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt
index 755fee41d63..f2669372b04 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt
@@ -7,7 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 0, length: 1, rect: [27.828125,29 8x16] baseline: 12.796875
" "
frag 2 from BlockContainer start: 0, length: 0, rect: [43.828125,10 23.359375x40] baseline: 34
- TextNode <#text> (not painted)
BlockContainer <div.label> at [9,26] inline-block [0+1+0 17.828125 0+1+0] [0+1+0 20 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [9,26 17.828125x20] baseline: 16
"A"
@@ -16,14 +15,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <button> at [43.828125,10] inline-block [0+1+7 23.359375 7+1+0] [0+1+1 40 1+1+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [43.828125,10] flex-container(column) [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [43.828125,10] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [43.828125,10] [0+0+0 23.359375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [43.828125,10] [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [43.828125,10 23.359375x40] baseline: 32
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [43.828125,50] [0+0+0 23.359375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/clear-both-from-inline-formatting-context.txt b/Tests/LibWeb/Layout/expected/block-and-inline/clear-both-from-inline-formatting-context.txt
index 6cd79430d69..25b6e49f547 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/clear-both-from-inline-formatting-context.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/clear-both-from-inline-formatting-context.txt
@@ -1,23 +1,19 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 168.875 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <h1.left> at [8,29.4375] floating [0+0+0 28.53125 0+0+0] [21.4375+0+0 32 0+0+21.4375] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,29.4375 28.53125x32] baseline: 25.59375
"A"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <h1.right> at [773.3125,29.4375] floating [0+0+0 18.6875 0+0+0] [21.4375+0+0 32 0+0+21.4375] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [773.3125,29.4375 18.6875x32] baseline: 25.59375
"B"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.c> at [8,152.875] floating [0+0+0 11.5625 0+0+0] [70+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,152.875 11.5625x16] baseline: 12.796875
"X"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x168.875] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/clearfix.txt b/Tests/LibWeb/Layout/expected/block-and-inline/clearfix.txt
index debcc0b8591..47a5938c6a8 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/clearfix.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/clearfix.txt
@@ -2,17 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 157 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.square.white> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.square.white> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.clearfix> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.square.black> at [8,108] floating [0+0+0 49 0+0+0] [0+0+0 49 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.square.black> at [8,108] floating [0+0+0 49 0+0+0] [0+0+0 49 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x157] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/empty-label-before-block-does-not-add-line-height.txt b/Tests/LibWeb/Layout/expected/block-and-inline/empty-label-before-block-does-not-add-line-height.txt
index db2459e2266..9ddd6486e7b 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/empty-label-before-block-does-not-add-line-height.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/empty-label-before-block-does-not-add-line-height.txt
@@ -3,16 +3,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 12 0+0+8] children: not-inline
BlockContainer <div#container> at [9,9] [0+1+0 782 0+1+0] [0+1+0 10 0+1+0] children: not-inline
BlockContainer <(anonymous)> at [9,9] [0+0+0 782 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <label> at [9,9] [0+0+0 0 0+0+0] [0+0+0 16 0+0+0]
TextNode <#text> (not painted)
BlockContainer <div#announcer> at [-9999,9] positioned [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#block> at [9,9] [0+0+0 100 0+0+682] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [9,19] [0+0+0 782 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,20] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x28] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-min-height-with-percentage-height-child.txt b/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-min-height-with-percentage-height-child.txt
index b38c3c87a5d..f43bde915cb 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-min-height-with-percentage-height-child.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-min-height-with-percentage-height-child.txt
@@ -1,22 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.a> at [0,0] positioned [0+0+0 40 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [0,0] [0+0+0 40 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,0 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,16] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [0,16] [0+0+0 40 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,16 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-top-and-bottom-with-percentage-height-child.txt b/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-top-and-bottom-with-percentage-height-child.txt
index f81d0395232..0031edf6104 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-top-and-bottom-with-percentage-height-child.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/fixed-fit-content-top-and-bottom-with-percentage-height-child.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.a> at [0,0] positioned [0+0+0 14.265625 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [0,0] [0+0+0 14.265625 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,0 14.265625x16] baseline: 12.796875
@@ -10,7 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [0,16 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-1.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-1.txt
index 8b72f2e91e1..5ddb5c3f09c 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-1.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-1.txt
@@ -1,50 +1,33 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 320 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 304 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div#lefty> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 10.859375x16] baseline: 12.796875
"L"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#righty> at [742,8] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [742,8 13.6875x16] baseline: 12.796875
"R"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div#lefty2> at [108,8] floating [0+0+0 80 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [108,8 19.671875x16] baseline: 12.796875
"L2"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#righty2> at [712,8] floating [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [712,8 22.5x16] baseline: 12.796875
"R2"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div#lefty3> at [188,8] floating [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [188,8 19.953125x16] baseline: 12.796875
"L3"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#righty3> at [692,8] floating [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [692,8 22.78125x16] baseline: 12.796875
"R3"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 304 0+0+0] children: inline
frag 0 from TextNode start: 5, length: 47, rect: [228,8 414.5625x16] baseline: 12.796875
"lorem ipsum lorem ipsum lorem ipsum lorem ipsum"
@@ -91,8 +74,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 21 from TextNode start: 1383, length: 17, rect: [8,296 150.9375x16] baseline: 12.796875
"ipsum lorem ipsum"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x320] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-2.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-2.txt
index 20d5d3e645a..b010bde4d97 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-2.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-2.txt
@@ -1,18 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#b> at [9,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div#b> at [9,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
BlockContainer <div#a> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [60,8 37.578125x16] baseline: 12.796875
"Text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-3.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-3.txt
index e18ebd61bc2..36c9f9daab0 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-3.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-3.txt
@@ -1,28 +1,14 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 134 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 780 0+0+12] [8+0+0 118 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#top> at [8,8] [0+0+0 780 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#top> at [8,8] [0+0+0 780 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div#top-left.box> at [8,8] floating [0+0+0 300 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#top-right.box> at [488,8] floating [0+0+0 300 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#bottom> at [9,109] [0+1+0 778 0+1+0] [0+1+0 16 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [9,109] [0+0+0 778 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#text> at [9,109] [0+0+0 778 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [370.59375,109 54.796875x16] baseline: 12.796875
"foobar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [9,125] [0+0+0 778 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,126] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x134] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-4.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-4.txt
index d102cc0e51e..55bcb932f59 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-4.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-4.txt
@@ -1,29 +1,22 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <body> at [8,8] [8+0+0 780 0+0+12] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 780 0+0+12] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.left> at [9,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [14.390625,9 39.21875x16] baseline: 12.796875
"Left1"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.right> at [737,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [737.84375,9 48.3125x16] baseline: 12.796875
"Right1"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.left> at [61,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [65.15625,9 41.6875x16] baseline: 12.796875
"Left2"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.right> at [685,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [685,9 50.78125x16] baseline: 12.796875
"Right2"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-after-interrupting-block-with-bottom-margin.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-after-interrupting-block-with-bottom-margin.txt
index 5e1182d303e..7133d936698 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-after-interrupting-block-with-bottom-margin.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-after-interrupting-block-with-bottom-margin.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
ImageBox <img> at [0,50] floating [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,70] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-at-end-of-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-at-end-of-block.txt
index f663b60656d..ed6b1726ff7 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-at-end-of-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-at-end-of-block.txt
@@ -4,16 +4,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.a> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] children: inline
frag 0 from TextNode start: 5, length: 3, rect: [8,8 27.15625x16] baseline: 12.796875
"foo"
- TextNode <#text> (not painted)
BlockContainer <div.b> at [292,8] floating [0+0+0 500 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BreakNode <br.c> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.d> at [8,208] [0+0+0 500 0+0+284] [0+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x416] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-block.txt
index 3f819b3dae5..dca02635d4a 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-block.txt
@@ -3,15 +3,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 132 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] children: inline
BlockContainer <div.a> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BreakNode <br.b> (not painted)
- TextNode <#text> (not painted)
BlockContainer <p> at [8,124] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,124 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,156] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x156] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-inline.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-inline.txt
index 3f4361cd9fb..0b1db060eb6 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-inline.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-by-line-break-followed-by-inline.txt
@@ -4,7 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 1, length: 3, rect: [8,108 27.15625x16] baseline: 12.796875
"foo"
BlockContainer <div.a> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BreakNode <br.b> (not painted)
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-right-should-not-affect-inline-left.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-right-should-not-affect-inline-left.txt
index 7aaefecdc5f..dcaf542c7f9 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-right-should-not-affect-inline-left.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-right-should-not-affect-inline-left.txt
@@ -1,9 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 650 0+0+150] [0+0+0 466 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 634 0+0+8] [8+0+0 380 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 634 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div.a> at [342,16] floating [0+0+0 300 0+0+0] [0+0+0 225 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.a> at [342,16] floating [0+0+0 300 0+0+0] [0+0+0 225 0+0+0] [BFC] children: not-inline
BlockContainer <p> at [8,16] [0+0+0 634 0+0+0] [16+0+0 64 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 27, rect: [8,16 232.84375x16] baseline: 12.796875
"Lorem ipsum dolor sit amet,"
@@ -14,13 +12,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 103, length: 20, rect: [8,64 167.078125x16] baseline: 12.796875
"dolore magna aliqua."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,96] [0+0+0 634 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.a> at [342,241] floating [0+0+0 300 0+0+0] [0+0+0 225 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.a> at [342,241] floating [0+0+0 300 0+0+0] [0+0+0 225 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [8,96] [0+0+0 634 0+0+0] [0+0+0 300 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,396] [0+0+0 634 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 650x466] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-simultaneously.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-simultaneously.txt
index 88369c94ea6..0f7f6fba6fc 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-simultaneously.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-clear-simultaneously.txt
@@ -2,15 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
BlockContainer <div.a> at [8,8] [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.b> at [742,58] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.c> at [8,108] floating [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.b> at [742,58] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.c> at [8,108] floating [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.d> at [8,108] [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x166] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-first-in-span.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-first-in-span.txt
index 112f321fac5..47f23788fff 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-first-in-span.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-first-in-span.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"text"
ImageBox <img> at [0,0] floating [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-fits-exactly.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-fits-exactly.txt
index b8e3b476dda..caaf39a0d12 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-fits-exactly.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-fits-exactly.txt
@@ -1,18 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 68 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 52 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.container> at [9,9] [0+1+0 400 0+1+382] [0+1+0 50 0+1+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.container> at [9,9] [0+1+0 400 0+1+382] [0+1+0 50 0+1+0] children: not-inline
BlockContainer <div.right.w320.red> at [89,9] floating [0+0+0 320 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.left.w80.blue> at [9,9] floating [0+0+0 80 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-following-trailing-whitespace.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-following-trailing-whitespace.txt
index 7a9faf94615..c38ed155bf9 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-following-trailing-whitespace.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-following-trailing-whitespace.txt
@@ -3,7 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
BlockContainer <div.a> at [8,8] [0+0+0 100 0+0+684] [0+0+0 16 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 50x16] baseline: 12.796875
- TextNode <#text> (not painted)
BlockContainer <div.b> at [8,8] inline-block [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 27.15625x16] baseline: 12.796875
"foo"
@@ -13,9 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [58,8 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-initial-available-space-vs-height.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-initial-available-space-vs-height.txt
index 46267e2ff38..163b6dc8bb8 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-initial-available-space-vs-height.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-initial-available-space-vs-height.txt
@@ -6,13 +6,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"H"
TextNode <#text> (not painted)
BlockContainer <div.b.l> at [8,13] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.c.l> at [8,113] floating [0+0+0 30 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.c.r> at [78,113] floating [0+0+0 30 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,13] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x413] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-inside-margin-auto-container.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-inside-margin-auto-container.txt
index cf31d787ccc..cab34cc7abc 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-inside-margin-auto-container.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-inside-margin-auto-container.txt
@@ -1,14 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 316 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 300 0+0+8] children: not-inline
- BlockContainer <div.a> at [300,8] [292+0+0 200 0+0+292] [0+0+0 300 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.a> at [300,8] [292+0+0 200 0+0+292] [0+0+0 300 0+0+0] [BFC] children: not-inline
BlockContainer <div.b.g> at [300,8] floating [0+0+0 150 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.b.r> at [300,158] floating [0+0+0 150 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,308] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x316] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-intrusions-relative-coordinates.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-intrusions-relative-coordinates.txt
index e5e10c46e4b..9d344db330b 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-intrusions-relative-coordinates.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-intrusions-relative-coordinates.txt
@@ -2,12 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 158 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: not-inline
BlockContainer <div.a> at [8,8] [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.b.bug> at [8,58] floating [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.c.bug> at [8,108] floating [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.b.bug> at [8,58] floating [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.c.bug> at [8,108] floating [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x158] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-justified-text-in-between.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-justified-text-in-between.txt
index d6d00a07dcc..dd573c8a80f 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-justified-text-in-between.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-justified-text-in-between.txt
@@ -202,7 +202,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 99 from TextNode start: 357, length: 1, rect: [317.125,352 5.4375x20] baseline: 16
"."
BlockContainer <div.left> at [253,11] floating [0+1+0 300 0+1+0] [0+1+0 200 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.right> at [489,213] floating [0+1+0 300 0+1+0] [0+1+0 200 0+1+0] [BFC] children: not-inline
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-text-in-between.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-text-in-between.txt
index 02515bca326..713bfa4494c 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-text-in-between.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-left-and-right-with-text-in-between.txt
@@ -38,7 +38,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 17 from TextNode start: 351, length: 7, rect: [252,352 70.5625x20] baseline: 16
"tortor."
BlockContainer <div.left> at [253,11] floating [0+1+0 300 0+1+0] [0+1+0 200 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.right> at [489,213] floating [0+1+0 300 0+1+0] [0+1+0 200 0+1+0] [BFC] children: not-inline
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-line-spans-middle-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-line-spans-middle-float.txt
index 1c341c8f59c..31e1a687a1b 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-line-spans-middle-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-line-spans-middle-float.txt
@@ -2,21 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div.container> at [0,0] [0+0+0 300 0+0+500] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.spacer> at [0,0] [0+0+0 300 0+0+0] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,50] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.float> at [0,50] floating [0+0+0 120 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.float> at [0,50] floating [0+0+0 120 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <p.probe> at [0,40] [0+0+0 300 0+0+0] [-10+0+0 60 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 20, rect: [120,62 160.296875x16] baseline: 12.796875
"line spans the float"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-logical.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-logical.txt
index c96a583cbe4..d67fe16068d 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-logical.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-logical.txt
@@ -1,13 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div#b> at [9,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#c> at [741,9] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-float.txt
index fa09fa3ebd5..4e7ea16074d 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-float.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.outer> at [1,1] floating [0+1+0 132.140625 0+1+0] [0+1+0 40 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [101,3 9.703125x16] baseline: 12.796875
"x"
@@ -10,7 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-right-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-right-float.txt
index f8cea29e46a..293c9b3ffec 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-right-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-max-content-width-ignores-nonoverlapping-right-float.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.outer> at [1,1] floating [0+1+0 132.140625 0+1+0] [0+1+0 40 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [1,3 9.703125x16] baseline: 12.796875
"x"
@@ -10,7 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-nested-under-eachother.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-nested-under-eachother.txt
index 7ec63241d4e..53442875f35 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-nested-under-eachother.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-nested-under-eachother.txt
@@ -1,21 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.w500> at [8,8] [0+0+0 500 0+0+284] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.w400> at [8,8] [0+0+0 400 0+0+100] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.w400> at [8,8] [0+0+0 400 0+0+100] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.w200.right.red> at [208,8] floating [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.w220.right.blue> at [288,28] floating [0+0+0 220 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.w220.right.blue> at [288,28] floating [0+0+0 220 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-fit-with-same-side-stacking.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-fit-with-same-side-stacking.txt
index 50c0a02a08c..5294ae08c1b 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-fit-with-same-side-stacking.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-fit-with-same-side-stacking.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.right.first-right> at [300,0] floating [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.left.second-left> at [0,40] floating [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.clear> at [0,70] [0+0+0 600 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,70] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-inline-context.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-inline-context.txt
index 2a440a4048d..3e7f0dcf136 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-inline-context.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-inline-context.txt
@@ -2,21 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div.container> at [0,0] [0+0+0 760 0+0+40] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.left.first-left> at [0,0] floating [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.right.first-right> at [310,0] floating [0+0+0 450 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.left.second-left> at [0,50] floating [0+0+0 400 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.left.third-left> at [400,50] floating [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.left.first-left> at [0,0] floating [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.right.first-right> at [310,0] floating [0+0+0 450 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.left.second-left> at [0,50] floating [0+0+0 400 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.left.third-left> at [400,50] floating [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.clear> at [0,100] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-container.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-container.txt
index 18dfedac985..bcf6f1f2722 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-container.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-container.txt
@@ -1,17 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div.outer-right> at [550,0] floating [0+0+0 250 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.outer-right> at [550,0] floating [0+0+0 250 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.container> at [300,0] [300+0+0 400 0+0+100] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div.inner-left> at [300,0] floating [0+0+0 250 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <div.clear> at [300,100] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.clear> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-inline-context.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-inline-context.txt
index 133765dbfbc..bcf6f1f2722 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-inline-context.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-nested-inline-context.txt
@@ -1,22 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div.outer-right> at [550,0] floating [0+0+0 250 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.outer-right> at [550,0] floating [0+0+0 250 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.container> at [300,0] [300+0+0 400 0+0+100] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [300,0] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.inner-left> at [300,0] floating [0+0+0 250 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.inner-left> at [300,0] floating [0+0+0 250 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <div.clear> at [300,100] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [300,100] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.clear> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-staggered-opposite-stack.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-staggered-opposite-stack.txt
index 569ac60fd2f..abcedf0ada5 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-staggered-opposite-stack.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-staggered-opposite-stack.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.right.second-right> at [250,0] floating [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <div.left.second-left> at [0,200] floating [0+0+0 260 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.clear> at [0,240] [0+0+0 600 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,240] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x240] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-stale-line.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-stale-line.txt
index 07388bb81e9..3e7f0dcf136 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-stale-line.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-opposite-side-lowering-stale-line.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.left.second-left> at [0,50] floating [0+0+0 400 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <div.left.third-left> at [400,50] floating [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.clear> at [0,100] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-1.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-1.txt
index c9f3910df38..cf95c406070 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-1.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-1.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.outer> at [9,9] [0+1+0 300 0+1+482] [0+1+0 250 0+1+0] children: inline
frag 0 from TextNode start: 9, length: 24, rect: [61,9 212x16] baseline: 12.796875
"foo bar baz foo bar baz "
@@ -54,9 +52,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"foo bar baz foo bar baz"
TextNode <#text> (not painted)
BlockContainer <div.lefty> at [10,10] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.one> at [62,26] floating [0+1+0 200 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.two> at [108,78] floating [0+1+0 200 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <div.righty> at [76,110] floating [0+1+0 30 0+1+0] [0+1+0 30 0+1+0] [BFC] children: not-inline
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-2.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-2.txt
index 7a3ded6cbbf..24600bc6bfd 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-2.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-2.txt
@@ -2,7 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html.js> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] children: not-inline
BlockContainer <div#page> at [50,50] [0+0+50 750 0+0+0] [0+0+50 0 0+0+0] children: not-inline
- BlockContainer <div#content_box> at [50,50] floating [0+0+0 400 0+0+0] [0+0+0 150 0+0+0] [BFC] children: inline
+ BlockContainer <div#content_box> at [50,50] floating [0+0+0 400 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
BlockContainer <article.first> at [50,50] floating [0+0+0 300 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [50,50 36.03125x16] baseline: 12.796875
"first"
@@ -11,9 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [50,150 54.78125x16] baseline: 12.796875
"second"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,50] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML>.js [0,0 800x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-3.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-3.txt
index a6025bb47f2..5099bbafbb3 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-3.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-stress-3.txt
@@ -1,18 +1,13 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.outer> at [9,9] [0+1+0 300 0+1+482] [0+1+0 250 0+1+0] children: inline
frag 0 from TextNode start: 9, length: 23, rect: [61,9 204x16] baseline: 12.796875
"foo bar baz foo bar baz"
TextNode <#text> (not painted)
BlockContainer <div.lefty> at [10,10] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.one> at [62,26] floating [0+1+0 200 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.two> at [108,78] floating [0+1+0 200 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-under-if-would-fit.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-under-if-would-fit.txt
index fadbf8ab020..1a916bd4261 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-under-if-would-fit.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-under-if-would-fit.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 168 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 152 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.container> at [9,9] [0+1+0 100 0+1+682] [0+1+0 150 0+1+0] children: inline
frag 0 from TextNode start: 5, length: 11, rect: [9,9 99.109375x16] baseline: 12.796875
"abc abc abc"
@@ -12,13 +8,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"abc abc abc"
TextNode <#text> (not painted)
BlockContainer <div.left.w80.red> at [9,41] floating [0+0+0 80 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.left.w40.yellow> at [9,91] floating [0+0+0 40 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.left.w20.blue> at [49,91] floating [0+0+0 20 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,160] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x168] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-for-text-after-break.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-for-text-after-break.txt
index e889b95ce48..51819370794 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-for-text-after-break.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-for-text-after-break.txt
@@ -6,13 +6,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"foo"
frag 1 from TextNode start: 5, length: 3, rect: [8,74 27.640625x16] baseline: 12.796875
"bar"
- TextNode <#text> (not painted)
BlockContainer <div.b> at [8,8] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BreakNode <br.c> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,90] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x98] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-ignores-opposite-side.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-ignores-opposite-side.txt
index 5fb71fc2546..f9e3648f650 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-ignores-opposite-side.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-clearance-ignores-opposite-side.txt
@@ -1,16 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
- BlockContainer <div.a> at [8,8] [0+0+0 500 0+0+284] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.a> at [8,8] [0+0+0 500 0+0+284] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.b> at [8,8] floating [0+0+0 200 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [308,8] floating [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.d> at [308,108] floating [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-offset-by-preceding-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-offset-by-preceding-float.txt
index 8d45c5cffb8..ed4f169592c 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-offset-by-preceding-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-vertical-offset-by-preceding-float.txt
@@ -1,9 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 130 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div> at [8,16] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,16] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <p> at [8,16] [0+0+0 784 0+0+0] [16+0+0 48 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,16 14.265625x16] baseline: 12.796875
"A"
@@ -17,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BreakNode <br> (not painted)
TextNode <#text> (not painted)
BlockContainer <div> at [8,80] floating [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x130] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-with-inline-contents-hoisted.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-with-inline-contents-hoisted.txt
index f37365685da..cd2aff3d7bd 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-with-inline-contents-hoisted.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-with-inline-contents-hoisted.txt
@@ -6,22 +6,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 0, length: 1, rect: [108,95 8x16] baseline: 12.796875
" "
frag 2 from BlockContainer start: 0, length: 0, rect: [116,8 100x100] baseline: 100
- TextNode <#text> (not painted)
BlockContainer <div.a> at [8,8] inline-block [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.box.green> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
TextNode <#text> (not painted)
BlockContainer <div.b> at [8,111.203125] floating [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.box.blue> at [8,111.203125] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.a> at [116,8] inline-block [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.box.green> at [116,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
TextNode <#text> (not painted)
BlockContainer <div.b> at [8,211.203125] floating [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.box.blue> at [8,211.203125] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,111.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,111.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x311.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/float-with-negative-margins.txt b/Tests/LibWeb/Layout/expected/block-and-inline/float-with-negative-margins.txt
index e8e5a7b04d3..19dc2033dea 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/float-with-negative-margins.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/float-with-negative-margins.txt
@@ -1,10 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.r> at [8,-2] floating [0+0+0 50 0+0+0] [-10+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.g> at [58,-2] floating [0+0+0 50 0+0+0] [-10+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/floats-and-negative-margins.txt b/Tests/LibWeb/Layout/expected/block-and-inline/floats-and-negative-margins.txt
index 2a1baaecfea..80294e6ed95 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/floats-and-negative-margins.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/floats-and-negative-margins.txt
@@ -1,17 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [100,8] [100+0+0 200 0+0+500] [8+0+0 200 0+0+8] children: not-inline
- BlockContainer <div.row> at [50,8] [-50+0+0 250 0+0+0] [0+0+0 200 0+0+0] children: inline
+ BlockContainer <div.row> at [50,8] [-50+0+0 250 0+0+0] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.item> at [50,8] floating [0+0+0 125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 5, length: 1, rect: [50,8 9.34375x16] baseline: 12.796875
"a"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.item> at [175,8] floating [0+0+0 125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 5, length: 1, rect: [175,8 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/img-as-block-with-box-sizing-border-box.txt b/Tests/LibWeb/Layout/expected/block-and-inline/img-as-block-with-box-sizing-border-box.txt
index bbabc2ca2b6..92215d82b81 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/img-as-block-with-box-sizing-border-box.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/img-as-block-with-box-sizing-border-box.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 416 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] floating [8+0+0 400 0+0+8] [8+0+0 400 0+0+8] [BFC] children: not-inline
ImageBox <img> at [58,8] [0+0+50 300 50+0+0] [0+0+0 400 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,408] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x416] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-1.txt b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-1.txt
index 9520ad5d1a8..2c12e893bd9 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-1.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-1.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"2nd"
TextNode <#text> (not painted)
BlockContainer <div.whee> at [115.140625,48] [0+1+0 200 0+1+0] [0+1+0 50 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [114.140625,99] [0+0+0 202 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x108] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-2.txt b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-2.txt
index 17881b24f99..bb73671bd39 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-2.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-baseline-2.txt
@@ -18,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [115.140625,48 37.234375x16] baseline: 12.796875
"float"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [114.140625,47] [0+0+0 39.234375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x74] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-contained-by-inline.txt b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-contained-by-inline.txt
index 2195b41bbde..28c516f55da 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-contained-by-inline.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-contained-by-inline.txt
@@ -1,7 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <span> at [8,8] [0+0+0 193.453125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 185.453125x16] baseline: 12.796875
frag 1 from TextNode start: 0, length: 1, rect: [193.453125,8 8x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-leading-and-trailing-metrics.txt b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-leading-and-trailing-metrics.txt
index 52b89e36acd..33144c504ba 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-leading-and-trailing-metrics.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/inline-block-leading-and-trailing-metrics.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [158.75,9 41.296875x16] baseline: 12.796875
"inline"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,26] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#b> at [9,27] [0+1+0 782 0+1+0] [0+1+0 16 0+1+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [70.296875,27 88.453125x16] baseline: 12.796875
InlineNode <i> at [9,27] [0+0+0 41.296875 20+0+0] [0+0+0 16 0+0+0]
@@ -31,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [158.75,27 41.296875x16] baseline: 12.796875
"inline"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#c> at [9,45] [0+1+0 782 0+1+0] [0+1+0 16 0+1+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [131.59375,45 88.453125x16] baseline: 12.796875
InlineNode <i> at [9,45] [0+0+0 41.296875 0+0+0] [0+0+0 16 0+0+0]
@@ -47,8 +43,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 12, rect: [131.59375,45 88.453125x16] baseline: 12.796875
"inline-block"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,62] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/inline-float-clear.txt b/Tests/LibWeb/Layout/expected/block-and-inline/inline-float-clear.txt
index 46d058d30e0..2b524462981 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/inline-float-clear.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/inline-float-clear.txt
@@ -1,18 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 73 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [9,9] [8+1+0 687.5 0+1+102.5] [8+1+0 48 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [9,9] [0+0+0 687.5 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#A> at [9,9] [0+0+0 687.5 0+0+0] [0+0+0 16 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [9,41] [0+0+0 687.5 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#B> at [648.5,41] floating [0+0+0 48 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div#C> at [648.5,57] floating [0+0+0 48 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div#B> at [648.5,41] floating [0+0+0 48 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <div#C> at [648.5,57] floating [0+0+0 48 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <div#D> at [9,41] [0+0+0 687.5 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [9,57] [0+0+0 687.5 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x73] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/inline-start-padding-attaches-after-interrupting-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/inline-start-padding-attaches-after-interrupting-block.txt
index ee4a2e061e7..5f227ed6057 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/inline-start-padding-attaches-after-interrupting-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/inline-start-padding-attaches-after-interrupting-block.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"block"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,30] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x30] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/intrinsic-sizing-stress-test.txt b/Tests/LibWeb/Layout/expected/block-and-inline/intrinsic-sizing-stress-test.txt
index 63e170aa12e..c243f4ada6a 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/intrinsic-sizing-stress-test.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/intrinsic-sizing-stress-test.txt
@@ -1,435 +1,215 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 831.75x1760.375]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 1760.375 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [0,10] [0+0+0 831.75 0+0+-31.75] [0+0+0 1740.375 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,10] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,12] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,12] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,16] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [6,16 199.703125x16] baseline: 12.796875
"Test 1: Plain nested divs"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,36] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,38] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,40] [0+0+2 819.75 2+0+0] [0+0+2 28 2+0+0] children: not-inline
BlockContainer <div.plain> at [8,42] [0+0+2 815.75 2+0+0] [0+0+2 24 2+0+0] children: not-inline
BlockContainer <div.plain> at [10,44] [0+0+2 811.75 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [12,46] [0+0+2 807.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,46] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,46] [0+0+0 807.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 29, rect: [12,46 239.796875x16] baseline: 12.796875
"Plain nesting works correctly"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,62] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,72] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,84] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,86] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,86] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,90] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 39, rect: [6,90 326.875x16] baseline: 12.796875
"Test 2: min-width on intermediate boxes"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,110] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,112] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.with-min-width> at [6,114] [0+0+2 819.75 2+0+0] [0+0+2 28 2+0+0] children: not-inline
BlockContainer <div.plain> at [8,116] [0+0+2 815.75 2+0+0] [0+0+2 24 2+0+0] children: not-inline
BlockContainer <div.with-min-width> at [10,118] [0+0+2 811.75 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [12,120] [0+0+2 807.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,120] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.short-content> at [12,120] [0+0+0 807.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [12,120 16.796875x16] baseline: 12.796875
"Hi"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,136] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,146] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,158] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,160] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,160] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,164] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 39, rect: [6,164 332.03125x16] baseline: 12.796875
"Test 3: max-width on intermediate boxes"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,184] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,186] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.with-max-width> at [6,188] [0+0+2 300 2+0+519.75] [0+0+2 28 2+0+0] children: not-inline
BlockContainer <div.plain> at [8,190] [0+0+2 296 2+0+0] [0+0+2 24 2+0+0] children: not-inline
BlockContainer <div.plain> at [10,192] [0+0+2 292 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [12,194] [0+0+2 288 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,194] [0+0+0 288 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,194] [0+0+0 288 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 69, rect: [12,194 585.390625x16] baseline: 12.796875
"This text is longer than 300px and should be constrained by max-width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,210] [0+0+0 288 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,220] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,232] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,234] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,234] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,238] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 51, rect: [6,238 412.484375x16] baseline: 12.796875
"Test 4: overflow:hidden (creates BFC) in the middle"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,258] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,260] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,262] [0+0+2 819.75 2+0+0] [0+0+2 28 2+0+0] children: not-inline
BlockContainer <div.creates-bfc> at [8,264] [0+0+2 815.75 2+0+0] [0+0+2 24 2+0+0] [BFC] children: not-inline
BlockContainer <div.plain> at [10,266] [0+0+2 811.75 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [12,268] [0+0+2 807.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,268] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,268] [0+0+0 807.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 28, rect: [12,268 229.75x16] baseline: 12.796875
"BFC in the middle of nesting"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,284] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,294] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,306] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,308] [0+2+0 827.75 0+2+0] [10+2+0 84 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,308] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,312] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [6,312 191.703125x16] baseline: 12.796875
"Test 5: Multiple siblings"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,332] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,334] [0+0+2 823.75 2+0+0] [0+0+2 56 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [4,334] [0+0+0 823.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [6,336] [0+0+2 819.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [6,336] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [6,336] [0+0+0 819.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [6,336 99.484375x16] baseline: 12.796875
"First sibling"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [6,352] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [6,352] [0+0+0 819.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 35, rect: [6,352 281.109375x16] baseline: 12.796875
"Second sibling is longer than first"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [6,368] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [4,370] [0+0+0 823.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [6,372] [0+0+2 819.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [6,372] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [6,372] [0+0+0 819.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [6,372 131.375x16] baseline: 12.796875
"Another branch"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [6,388] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [4,390] [0+0+0 823.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,392] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,404] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,406] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,406] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,410] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 36, rect: [6,410 294.203125x16] baseline: 12.796875
"Test 6: Flex container in the middle"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,430] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,432] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,434] [0+0+2 819.75 2+0+0] [0+0+2 28 2+0+0] children: not-inline
Box <div.flex-container> at [8,436] flex-container(row) [0+0+2 815.75 2+0+0] [0+0+2 24 2+0+0] [FFC] children: not-inline
BlockContainer <div.plain> at [10,438] flex-item [0+0+2 203.9375 2+0+0] [0+0+2 20 2+0+0] [BFC] children: not-inline
BlockContainer <div.plain> at [12,440] [0+0+2 199.9375 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,440] [0+0+0 199.9375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,440] [0+0+0 199.9375 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 23, rect: [12,440 199.9375x16] baseline: 12.796875
"Flex container ancestor"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,456] [0+0+0 199.9375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,466] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,478] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,480] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,480] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,484] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 36, rect: [6,484 293.46875x16] baseline: 12.796875
"Test 7: Grid container in the middle"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,504] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,506] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,508] [0+0+2 819.75 2+0+0] [0+0+2 28 2+0+0] children: not-inline
Box <div.grid-container> at [8,510] [0+0+2 815.75 2+0+0] [0+0+2 24 2+0+0] [GFC] children: not-inline
BlockContainer <div.plain> at [10,512] [0+0+2 811.75 2+0+0] [0+0+2 20 2+0+0] [BFC] children: not-inline
BlockContainer <div.plain> at [12,514] [0+0+2 807.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,514] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,514] [0+0+0 807.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 23, rect: [12,514 199.21875x16] baseline: 12.796875
"Grid container ancestor"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,530] [0+0+0 807.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,540] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,552] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,554] [0+2+0 827.75 0+2+0] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,554] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,558] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 34, rect: [6,558 263.421875x16] baseline: 12.796875
"Test 8: inline-block in the middle"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,578] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,580] [0+0+2 823.75 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,582] [0+0+2 819.75 2+0+0] [0+0+2 28 2+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,584 176.40625x24] baseline: 18.796875
BlockContainer <div.inline-block> at [8,584] inline-block [0+0+2 176.40625 2+0+0] [0+0+2 24 2+0+0] [BFC] children: not-inline
BlockContainer <div.plain> at [10,586] [0+0+2 172.40625 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [12,588] [0+0+2 168.40625 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,588] [0+0+0 168.40625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,588] [0+0+0 168.40625 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 21, rect: [12,588 168.40625x16] baseline: 12.796875
"inline-block ancestor"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,604] [0+0+0 168.40625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,614] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,626] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section.clearfix> at [2,628] [0+2+0 827.75 0+2+0] [10+2+0 52 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,628] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,632] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 37, rect: [6,632 306.796875x16] baseline: 12.796875
"Test 9: Float inside nested structure"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,652] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,654] [0+0+2 823.75 2+0+0] [0+0+2 24 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,656] [0+0+2 819.75 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [8,658] [0+0+2 815.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,658] [0+0+0 815.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.floated> at [10,660] floating [0+0+2 128.828125 2+0+0] [0+0+2 16 2+0+0] [BFC] children: not-inline
- BlockContainer <div.content> at [10,660] [0+0+0 128.828125 0+0+0] [0+0+0 16 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 15, rect: [10,660 128.828125x16] baseline: 12.796875
- "Floated content"
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <div.floated> at [10,660] floating [0+0+2 128.828125 2+0+0] [0+0+2 16 2+0+0] [BFC] children: not-inline
+ BlockContainer <div.content> at [10,660] [0+0+0 128.828125 0+0+0] [0+0+0 16 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 15, rect: [10,660 128.828125x16] baseline: 12.796875
+ "Floated content"
+ TextNode <#text> (not painted)
BlockContainer <div.content> at [8,658] [0+0+0 815.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 19, rect: [140.828125,658 147.890625x16] baseline: 12.796875
"Non-floated sibling"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,674] [0+0+0 815.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,680] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [2,680] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,692] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,694] [0+2+0 827.75 0+2+0] [10+2+0 70 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,694] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,698] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 41, rect: [6,698 344.28125x16] baseline: 12.796875
"Test 10: Borders and padding accumulating"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,718] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.with-border> at [5,721] [0+3+0 821.75 0+3+0] [0+3+0 40 0+3+0] children: not-inline
BlockContainer <div.with-border> at [8,724] [0+3+0 815.75 0+3+0] [0+3+0 34 0+3+0] children: not-inline
BlockContainer <div.with-border> at [11,727] [0+3+0 809.75 0+3+0] [0+3+0 28 0+3+0] children: not-inline
BlockContainer <div.with-border> at [14,730] [0+3+0 803.75 0+3+0] [0+3+0 22 0+3+0] children: not-inline
BlockContainer <div.with-border> at [17,733] [0+3+0 797.75 0+3+0] [0+3+0 16 0+3+0] children: not-inline
- BlockContainer <(anonymous)> at [17,733] [0+0+0 797.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [17,733] [0+0+0 797.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 19, rect: [17,733 172.203125x16] baseline: 12.796875
"Accumulated borders"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [17,749] [0+0+0 797.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,764] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,776] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,778] [0+2+0 827.75 0+2+0] [10+2+0 62 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,778] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,782] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 28, rect: [6,782 226.078125x16] baseline: 12.796875
"Test 11: Mixed nesting types"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,802] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,804] [0+0+2 823.75 2+0+0] [0+0+2 34 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [4,804] [0+0+0 823.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.with-min-width> at [6,806] [0+0+2 819.75 2+0+0] [0+0+2 30 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [6,806] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.creates-bfc> at [8,808] [0+0+2 815.75 2+0+0] [0+0+2 26 2+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,808] [0+0+0 815.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [10,810] [0+0+2 811.75 2+0+0] [0+0+2 22 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [10,810] [0+0+0 811.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.with-border> at [13,813] [0+3+0 805.75 0+3+0] [0+3+0 16 0+3+0] children: not-inline
- BlockContainer <(anonymous)> at [13,813] [0+0+0 805.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [13,813] [0+0+0 805.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 21, rect: [13,813 180.265625x16] baseline: 12.796875
"Complex mixed nesting"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [13,829] [0+0+0 805.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,832] [0+0+0 811.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,834] [0+0+0 815.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [6,836] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [4,838] [0+0+0 823.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,840] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,852] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,854] [0+2+0 297.71875 0+2+530.03125] [10+2+0 60 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,854] [0+0+0 297.71875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,858] [0+0+4 289.71875 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 27, rect: [6,858 217.953125x16] baseline: 12.796875
"Test 12: min-content sizing"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,878] [0+0+0 297.71875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,880] [0+0+2 293.71875 2+0+0] [0+0+2 32 2+0+0] children: not-inline
BlockContainer <div.plain> at [6,882] [0+0+2 289.71875 2+0+0] [0+0+2 28 2+0+0] children: not-inline
BlockContainer <div.plain> at [8,884] [0+0+2 285.71875 2+0+0] [0+0+2 24 2+0+0] children: not-inline
BlockContainer <div.plain> at [10,886] [0+0+2 281.71875 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [12,888] [0+0+2 277.71875 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [12,888] [0+0+0 277.71875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [12,888] [0+0+0 277.71875 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 32, rect: [12,888 277.71875x16] baseline: 12.796875
"min-content test with some words"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [12,904] [0+0+0 277.71875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,914] [0+0+0 297.71875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,926] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,928] [0+2+0 827.75 0+2+0] [10+2+0 58 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,928] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,932] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 42, rect: [6,932 349.140625x16] baseline: 12.796875
"Test 13: Auto margins in intrinsic context"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,952] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,954] [0+0+2 823.75 2+0+0] [0+0+2 30 2+0+0] children: not-inline
BlockContainer <div.with-margin> at [4,959] [0+0+0 823.75 0+0+0] [5+0+0 20 0+0+5] children: not-inline
BlockContainer <div.plain> at [6,961] [0+0+2 819.75 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [6,961] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [6,961] [0+0+0 819.75 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [6,961 110.703125x16] baseline: 12.796875
"Auto margins"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [6,977] [0+0+0 819.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,986] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,998] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,1000] [0+2+0 827.75 0+2+0] [10+2+0 134.375 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,1000] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,1004] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 27, rect: [6,1004 224.09375x16] baseline: 12.796875
"Test 14: Percentage padding"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,1024] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.plain> at [4,1026] [0+0+2 823.75 2+0+0] [0+0+2 106.375 2+0+0] children: not-inline
BlockContainer <div.plain> at [45.1875,1067.1875] [0+0+41.1875 741.375 41.1875+0+0] [0+0+41.1875 24 41.1875+0+0] children: not-inline
BlockContainer <div.plain> at [47.1875,1069.1875] [0+0+2 737.375 2+0+0] [0+0+2 20 2+0+0] children: not-inline
BlockContainer <div.plain> at [49.1875,1071.1875] [0+0+2 733.375 2+0+0] [0+0+2 16 2+0+0] children: not-inline
- BlockContainer <(anonymous)> at [49.1875,1071.1875] [0+0+0 733.375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [49.1875,1071.1875] [0+0+0 733.375 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [49.1875,1071.1875 153x16] baseline: 12.796875
"Percentage padding"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [49.1875,1087.1875] [0+0+0 733.375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,1134.375] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,1146.375] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.section> at [2,1148.375] [0+2+0 827.75 0+2+0] [10+2+0 600 0+2+10] children: not-inline
- BlockContainer <(anonymous)> at [2,1148.375] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.section-title> at [6,1152.375] [0+0+4 819.75 4+0+0] [0+0+4 16 4+0+0] children: inline
frag 0 from TextNode start: 0, length: 44, rect: [6,1152.375 353.5625x16] baseline: 12.796875
"Test 15: Deep generated nesting (100 levels)"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,1172.375] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#deep-container> at [2,1172.375] [0+0+0 827.75 0+0+0] [0+0+0 576 0+0+0] children: not-inline
BlockContainer <div.plain> at [4,1174.375] [0+0+2 823.75 2+0+0] [0+0+2 572 2+0+0] children: not-inline
BlockContainer <div.with-border> at [7,1177.375] [0+3+0 817.75 0+3+0] [0+3+0 566 0+3+0] children: not-inline
@@ -535,11 +315,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 32, rect: [282,1452.375 267.75x16] baseline: 12.796875
"Deep generated nesting complete!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,1748.375] [0+0+0 827.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,1760.375] [0+0+0 831.75 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1760.375] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/justify-line-before-interrupting-block.txt b/Tests/LibWeb/Layout/expected/block-and-inline/justify-line-before-interrupting-block.txt
index 616616fa7f6..5c5a80ed3f5 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/justify-line-before-interrupting-block.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/justify-line-before-interrupting-block.txt
@@ -69,8 +69,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from BlockContainer start: 0, length: 0, rect: [0,20 200x10] baseline: 0
BlockContainer <div> at [0,20] [0+0+0 200 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,70] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/large-percentage-width.txt b/Tests/LibWeb/Layout/expected/block-and-inline/large-percentage-width.txt
index 4cb00a122cc..5d549209aba 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/large-percentage-width.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/large-percentage-width.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
BlockContainer <div.parent> at [8,8] [0+0+0 4753650 0+0+-4752866] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <div.child> at [8,8] [0+0+0 4753650 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/left-floats-outside-bfc-root-push-later-floats.txt b/Tests/LibWeb/Layout/expected/block-and-inline/left-floats-outside-bfc-root-push-later-floats.txt
index 93b969fc9f4..7942589b138 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/left-floats-outside-bfc-root-push-later-floats.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/left-floats-outside-bfc-root-push-later-floats.txt
@@ -2,20 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div> at [0,0] [0+0+0 300 0+0+500] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [-300,0] [-300+0+0 900 0+0+-300] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [-300,0] [-300+0+0 900 0+0+-300] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.float> at [-300,0] floating [0+0+0 300 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.float> at [0,0] floating [0+0+0 300 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.float> at [300,0] floating [0+0+0 300 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/line-boxes-avoid-left-float-lying-outside-bfc-root.txt b/Tests/LibWeb/Layout/expected/block-and-inline/line-boxes-avoid-left-float-lying-outside-bfc-root.txt
index eeea21f1b2e..da5c8e084f0 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/line-boxes-avoid-left-float-lying-outside-bfc-root.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/line-boxes-avoid-left-float-lying-outside-bfc-root.txt
@@ -2,22 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <div> at [0,0] [0+0+0 300 0+0+500] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [-300,0] [-300+0+0 900 0+0+-300] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [-300,0] [-300+0+0 900 0+0+-300] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div> at [-300,0] floating [0+0+0 295 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [-20,0] [-20+0+0 320 0+0+0] [0+0+0 20 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [-5,0 40.1875x20] baseline: 16
"text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-1.txt b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-1.txt
index d3add4eb6b0..3072e6a1970 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-1.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-1.txt
@@ -5,14 +5,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [34,26 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#bar> at [34,153] [25+1+0 100 0+1+657] [25+1+0 100 0+1+25] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [34,153 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,279] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x279] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-2.txt b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-2.txt
index 6f5b8f80463..c7d41041e46 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-2.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-2.txt
@@ -5,20 +5,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [9,9 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,135] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#bar> at [9,136] [0+1+0 100 0+1+682] [0+1+0 100 0+1+25] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [9,136 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,262] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#baz> at [9,243] [0+1+0 100 0+1+682] [-20+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [9,243 27.203125x16] baseline: 12.796875
"baz"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x352] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-3.txt b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-3.txt
index 50bb9ba5c69..e6e66569089 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-3.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-3.txt
@@ -2,12 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 366 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 350 0+0+8] children: not-inline
BlockContainer <div#foo> at [8,8] [0+0+0 100 0+0+684] [0+0+0 100 0+0+25] children: not-inline
- BlockContainer <(anonymous)> at [8,133] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#bar> at [8,158] [0+0+0 200 0+0+584] [100+0+0 200 0+0+0] children: not-inline
BlockContainer <div#baz> at [8,158] [0+0+0 100 0+0+100] [-50+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,358] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x366] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-4.txt b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-4.txt
index 8daab079b59..bea4742cfcb 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-4.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-4.txt
@@ -3,11 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
BlockContainer <div#foo> at [8,8] [0+0+0 100 0+0+684] [0+0+0 50 0+0+0] children: not-inline
BlockContainer <div#baz> at [8,8] [0+0+0 50 0+0+50] [0+0+0 50 0+0+100] children: not-inline
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#bar> at [8,108] [0+0+0 50 0+0+734] [-50+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x166] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-5.txt b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-5.txt
index 945b68c658e..041d7bffa8c 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-5.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/margin-collapse-5.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 21, rect: [3,3 166.96875x16] baseline: 12.796875
"suspiciously tall box"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,120] [0+0+0 168.96875 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/negative-margin-with-padding.txt b/Tests/LibWeb/Layout/expected/block-and-inline/negative-margin-with-padding.txt
index fd7a3bef069..f3461777fda 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/negative-margin-with-padding.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/negative-margin-with-padding.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [18,18] [8+10+0 764 0+10+8] [8+10+0 6 0+10+8] children: not-inline
BlockContainer <div#a> at [18,18] [0+0+0 764 0+0+0] [0+0+0 0 150+0+0] children: not-inline
- BlockContainer <(anonymous)> at [18,168] [0+0+0 764 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#b> at [18,-72] [0+0+0 764 0+0+0] [-240+0+0 80 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [18,-72 135.78125x80] baseline: 63.984375
"foo"
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-child-in-fit-content-height.txt b/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-child-in-fit-content-height.txt
index 4385819b69d..dd00c503ffd 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-child-in-fit-content-height.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-child-in-fit-content-height.txt
@@ -2,22 +2,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <div.a> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,0 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,16] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,16] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,16 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-with-min-height-parent.txt b/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-with-min-height-parent.txt
index b8ce85fd534..b6d41a9a23f 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-with-min-height-parent.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/percentage-height-with-min-height-parent.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <main> at [8,8] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <div#foo> at [8,8] [0+0+0 300 0+0+484] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div#bar> at [8,8] [0+0+0 784 0+0+0] [0+0+0 46 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/relpos-inline-element-js-offsets.txt b/Tests/LibWeb/Layout/expected/block-and-inline/relpos-inline-element-js-offsets.txt
index 697558643ee..72e0a9952e2 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/relpos-inline-element-js-offsets.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/relpos-inline-element-js-offsets.txt
@@ -29,9 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 25, length: 15, rect: [8,127 92.359375x13] baseline: 10.390625
"friends: 45, 25"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,153] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x153] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/rtl-overflowing-line-inline-position.txt b/Tests/LibWeb/Layout/expected/block-and-inline/rtl-overflowing-line-inline-position.txt
index 803f1ff755f..f4f438dcadc 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/rtl-overflowing-line-inline-position.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/rtl-overflowing-line-inline-position.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 20, rect: [-136.0625,8 244.0625x16] baseline: 12.796875
"mmmmmmmmmmmmmmmmmmmm"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/span-pseudo-abspos-after.txt b/Tests/LibWeb/Layout/expected/block-and-inline/span-pseudo-abspos-after.txt
index d7ec82fcf52..0448ff9aa5a 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/span-pseudo-abspos-after.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/span-pseudo-abspos-after.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [40,5 10x10] baseline: 8
"X"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/table-too-wide-for-float-gap-moves-below-float.txt b/Tests/LibWeb/Layout/expected/block-and-inline/table-too-wide-for-float-gap-moves-below-float.txt
index 6794a523076..9cb2f9926d2 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/table-too-wide-for-float-gap-moves-below-float.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/table-too-wide-for-float-gap-moves-below-float.txt
@@ -3,12 +3,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [0,0] [0+0+0 600 0+0+200] [0+0+0 75 0+0+0] children: not-inline
BlockContainer <div.bar> at [0,0] [0+0+0 600 0+0+0] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <div.float> at [0,0] floating [0+0+0 150 0+0+0] [0+0+0 25 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 600 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,25] [0+0+0 600 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
Box <div.table> at [0,25] table-box [0+0+0 600 0+0+0] [0+0+0 50 0+0+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> at [0,75] [0+0+0 600 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x75] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/whitespace-only-text-boxes.txt b/Tests/LibWeb/Layout/expected/block-and-inline/whitespace-only-text-boxes.txt
new file mode 100644
index 00000000000..e33c174c20d
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/whitespace-only-text-boxes.txt
@@ -0,0 +1,178 @@
+Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x628]
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 628 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 596 0+0+8] children: not-inline
+ BlockContainer <div#between-blocks> at [8,16] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] children: not-inline
+ BlockContainer <p> at [8,16] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,16 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,48] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,48 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ BlockContainer <div#start-of-block> at [8,80] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ InlineNode <span> at [8,80] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [8,80 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <div#after-line-break> at [8,96] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,96 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BreakNode <br> (not painted)
+ InlineNode <span> at [8,112] [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [8,112 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ Box <div#flex> at [8,128] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [8,128] flex-item [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,128 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [17.34375,128] flex-item [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [17.34375,128 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ Box <div#grid> at [8,144] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
+ BlockContainer <div> at [8,144] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,144 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ TableWrapper <(anonymous)> at [8,160] [0+0+0 15.34375 0+0+768.65625] [0+0+0 22 0+0+0] [BFC] children: not-inline
+ Box <table#table> at [8,160] table-box [0+0+0 15.34375 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
+ Box <tbody> at [10,162] table-row-group [0+0+0 11.34375 0+0+0] [0+0+0 18 0+0+0] children: not-inline
+ Box <tr> at [10,162] table-row [0+0+0 11.34375 0+0+0] [0+0+0 18 0+0+0] children: not-inline
+ BlockContainer <td> at [11,163] table-cell [0+0+1 9.34375 1+0+0] [0+0+1 16 1+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [11,163 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <div#start-of-display-contents> at [8,182] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ InlineNode <b> at [8,182] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [8,182 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ SVGSVGBox <svg#svg> at [8,198] [0+0+0 10 0+0+774] [0+0+0 10 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
+ SVGGeometryBox <rect> at [0,0] [0+0+0 5 0+0+0] [0+0+0 5 0+0+0] children: not-inline
+ BlockContainer <div#after-inline> at [8,208] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [17.34375,208 8x16] baseline: 12.796875
+ " "
+ InlineNode <span> at [8,208] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [8,208 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ TextNode <#text> (not painted)
+ InlineNode <span> at [25.34375,208] [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [25.34375,208 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ BlockContainer <div#start-of-inline-box> at [8,224] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ InlineNode <span> at [8,224] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ TextNode <#text> (not painted)
+ InlineNode <b> at [8,224] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [8,224 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <p#after-before.note> at [8,256] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [48,256 8x16] baseline: 12.796875
+ " "
+ InlineNode <(anonymous)> at [8,256] [0+0+0 40 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,256 40x16] baseline: 12.796875
+ "Note:"
+ GeneratedTextNode <(anonymous)> (not painted)
+ TextNode <#text> (not painted)
+ InlineNode <b> at [56,256] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [56,256 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <ul> at [48,288] [0+0+40 744 0+0+0] [16+0+0 16 0+0+16] children: not-inline
+ ListItemBox <li#after-inside-marker> at [48,288] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
+ frag 0 from ListItemMarkerBox start: 0, length: 0, rect: [48,288 13.84375x16] baseline: 12.796875
+ frag 1 from TextNode start: 0, length: 1, rect: [61.84375,288 8x16] baseline: 12.796875
+ " "
+ ListItemMarkerBox <(anonymous)> at [48,288] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from GeneratedTextNode start: 0, length: 2, rect: [48,288 13.84375x16] baseline: 12.796875
+ "• "
+ GeneratedTextNode <(anonymous)> (not painted)
+ TextNode <#text> (not painted)
+ InlineNode <b> at [69.84375,288] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [69.84375,288 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <div#after-table-cell-in-inline> at [8,320] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ InlineNode <span> at [8,320] [0+0+0 43.703125 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 2, rect: [8,320 17.34375x16] baseline: 12.796875
+ "a "
+ frag 1 from TableWrapper start: 0, length: 0, rect: [25.34375,320 9.46875x16] baseline: 12.796875
+ frag 2 from TextNode start: 0, length: 1, rect: [34.8125,320 8x16] baseline: 12.796875
+ " "
+ TextNode <#text> (not painted)
+ TableWrapper <(anonymous)> at [25.34375,320] inline-block [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ Box <(anonymous)> at [25.34375,320] inline-table table-box [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0] [TFC] children: not-inline
+ Box <(anonymous)> at [25.34375,320] table-row [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0] children: not-inline
+ BlockContainer <span.cell> at [25.34375,320] table-cell [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [25.34375,320 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ TextNode <#text> (not painted)
+ InlineNode <span> at [42.8125,320] [0+0+0 8.890625 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [42.8125,320 8.890625x16] baseline: 12.796875
+ "c"
+ TextNode <#text> (not painted)
+ BlockContainer <div#editing-host> at [8,352] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] children: not-inline
+ BlockContainer <p> at [8,352] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,352 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <(anonymous)> at [8,384] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,384] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,384 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ BlockContainer <div#preserved> at [8,416] [0+0+0 784 0+0+0] [0+0+0 80 0+0+0] children: not-inline
+ BlockContainer <p> at [8,416] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,416 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <(anonymous)> at [8,448] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,480] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,480 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ BlockContainer <div#after-display-contents> at [8,512] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [17.34375,512 8x16] baseline: 12.796875
+ " "
+ InlineNode <span> at [8,512] [0+0+0 9.34375 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [8,512 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ TextNode <#text> (not painted)
+ InlineNode <b> at [25.34375,512] [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 1, rect: [25.34375,512 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+ SVGSVGBox <svg#svg-text> at [8,528] [0+0+0 50 0+0+734] [0+0+0 20 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
+ SVGTextBox <text> at [0,2.203125] [0+0+0 27.703125 0+0+0] [0+0+0 16 0+0+0] children: inline
+ TextNode <#text> (not painted)
+ SVGTextBox <tspan> at [9.34375,2.203125] [0+0+0 9.46875 0+0+0] [0+0+0 16 0+0+0] children: inline
+ TextNode <#text> (not painted)
+ TextNode <#text> (not painted)
+ SVGTextBox <tspan> at [18.8125,2.203125] [0+0+0 8.890625 0+0+0] [0+0+0 16 0+0+0] children: inline
+ TextNode <#text> (not painted)
+ BlockContainer <div#abspos> at [8,564] positioned [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] children: not-inline
+ BlockContainer <p> at [8,564] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,564 9.34375x16] baseline: 12.796875
+ "a"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [8,596] positioned [0+0+0 28.15625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 3, rect: [8,596 28.15625x16] baseline: 12.796875
+ "abs"
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,596] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [8,596 9.46875x16] baseline: 12.796875
+ "b"
+ TextNode <#text> (not painted)
+
+SC for Viewport<#document> [0,0 800x600] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x628] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/zero-width-left-float-does-not-push-later-floats-down.txt b/Tests/LibWeb/Layout/expected/block-and-inline/zero-width-left-float-does-not-push-later-floats-down.txt
index d47113e3bbb..594a78a3a4b 100644
--- a/Tests/LibWeb/Layout/expected/block-and-inline/zero-width-left-float-does-not-push-later-floats-down.txt
+++ b/Tests/LibWeb/Layout/expected/block-and-inline/zero-width-left-float-does-not-push-later-floats-down.txt
@@ -1,14 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <div> at [0,0] [0+0+0 300 0+0+500] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [0,0] [0+0+0 300 0+0+500] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div> at [0,0] floating [0+0+0 0 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,0] floating [0+0+0 400 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt b/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt
index 4c9ac0cefd6..203ea99a61a 100644
--- a/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt
+++ b/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt
@@ -2,18 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
BlockContainer <div.container> at [8,8] [0+0+0 400 0+0+384] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <button> at [192.484375,11] [175.484375+2+7 31.015625 7+2+175.484375] [0+2+1 14 1+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [192.484375,11] flex-container(column) [0+0+0 31.015625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [192.484375,11] flex-item [0+0+0 31.015625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [192.484375,11 31.015625x14] baseline: 10.984375
"Test"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt b/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt
index 41e0af159ed..545caee726e 100644
--- a/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt
+++ b/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt
@@ -1,21 +1,16 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <ul> at [48,16] [0+0+40 744 0+0+0] [16+0+0 0 0+0+16] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <ul> at [48,16] [0+0+40 744 0+0+0] [16+0+0 0 0+0+16] children: not-inline
ListItemBox <li> at [728.5625,16] floating [0+0+0 63.4375 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
ListItemMarkerBox <(anonymous)> at [714.5625,19.1875] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [714.5625,19.1875 13.84375x16] baseline: 12.796875
"• "
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [728.5625,16] [0+0+0 63.4375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <form> at [728.5625,16] [0+0+0 63.4375 0+0+0] [0+0+0 24 0+0+0] children: inline
frag 0 from FieldSetBox start: 0, length: 0, rect: [730.5625,18 59.4375x20] baseline: 15.984375
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [730.5625,18] inline-block [0+2+0 59.4375 0+2+0] [0+2+0 20 0+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [730.5625,18] [0+0+0 59.4375 0+0+0] [0+0+0 20 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <p> at [730.5625,21] [0+0+0 59.4375 0+0+0] [0+0+0 16 0+0+0]
InlineNode <span.actions> at [730.5625,21] [0+0+0 59.4375 0+0+0] [0+0+0 14 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [739.5625,21 41.4375x14] baseline: 13.984375
@@ -29,11 +24,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [728.5625,40] [0+0+0 63.4375 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-replaced-element-with-max-width-and-max-height.txt b/Tests/LibWeb/Layout/expected/block-replaced-element-with-max-width-and-max-height.txt
index 393c38c8f01..a6732ed8eb0 100644
--- a/Tests/LibWeb/Layout/expected/block-replaced-element-with-max-width-and-max-height.txt
+++ b/Tests/LibWeb/Layout/expected/block-replaced-element-with-max-width-and-max-height.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 143.984375 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 127.984375 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,8] [0+0+0 64 0+0+720] [0+0+0 64 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,72] [0+0+0 76.796875 0+0+707.203125] [0+0+0 63.984375 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,135.984375] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x143.984375] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/block-size.txt b/Tests/LibWeb/Layout/expected/block-size.txt
index 561feeea39e..b6a9515928e 100644
--- a/Tests/LibWeb/Layout/expected/block-size.txt
+++ b/Tests/LibWeb/Layout/expected/block-size.txt
@@ -6,23 +6,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"KK"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,840] [0+0+0 784 0+0+0] [0+0+0 70 0+0+0] children: inline
- TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <p.max-block-test> at [8,980] [0+0+0 200 0+0+584] [70+0+0 100 0+0+70] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,980 85.875x70] baseline: 55.984375
"KK"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,1150] [0+0+0 784 0+0+0] [0+0+0 70 0+0+0] children: inline
- TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <p.block-size-test> at [8,1290] [0+0+0 200 0+0+584] [70+0+0 400 0+0+70] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,1290 85.875x70] baseline: 55.984375
"KK"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,1760] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1760] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/border-radius-invalid-corner-sampling-config.txt b/Tests/LibWeb/Layout/expected/border-radius-invalid-corner-sampling-config.txt
index a0a2127b01c..1bb886109a3 100644
--- a/Tests/LibWeb/Layout/expected/border-radius-invalid-corner-sampling-config.txt
+++ b/Tests/LibWeb/Layout/expected/border-radius-invalid-corner-sampling-config.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 29, rect: [8,8 247.6875x16] baseline: 12.796875
"Test passes if we don't crash"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/border-spacing-calc-dont-crash.txt b/Tests/LibWeb/Layout/expected/border-spacing-calc-dont-crash.txt
index 968ff1d778f..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/border-spacing-calc-dont-crash.txt
+++ b/Tests/LibWeb/Layout/expected/border-spacing-calc-dont-crash.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/boxes-kept-by-a-rebuild-take-the-new-style.txt b/Tests/LibWeb/Layout/expected/boxes-kept-by-a-rebuild-take-the-new-style.txt
index bced82594b1..be0a514d37e 100644
--- a/Tests/LibWeb/Layout/expected/boxes-kept-by-a-rebuild-take-the-new-style.txt
+++ b/Tests/LibWeb/Layout/expected/boxes-kept-by-a-rebuild-take-the-new-style.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 24 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [16,8] [8+0+0 34.078125 0+0+741.921875] [8+0+0 24 0+0+8] [BFC] children: not-inline
Box <table#table> at [17,9] table-box [0+1+0 32.078125 0+1+0] [0+1+0 22 0+1+0] [TFC] children: not-inline
Box <tbody> at [19,11] table-row-group [0+0+0 28.078125 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -11,9 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 4, rect: [20,12 26.078125x16] baseline: 12.796875
"cell"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/calc-negative-border-width.txt b/Tests/LibWeb/Layout/expected/calc-negative-border-width.txt
index d3b365fcce6..1ad48994ee8 100644
--- a/Tests/LibWeb/Layout/expected/calc-negative-border-width.txt
+++ b/Tests/LibWeb/Layout/expected/calc-negative-border-width.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 34, rect: [8,8 285.046875x16] baseline: 12.796875
"This should have no visible border"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/clear-both-past-stacked-left-and-right-floats.txt b/Tests/LibWeb/Layout/expected/clear-both-past-stacked-left-and-right-floats.txt
index 604f1c0b0e5..b1d26689d8c 100644
--- a/Tests/LibWeb/Layout/expected/clear-both-past-stacked-left-and-right-floats.txt
+++ b/Tests/LibWeb/Layout/expected/clear-both-past-stacked-left-and-right-floats.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [8,438] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
BlockContainer <div#after> at [8,438] [0+0+0 784 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,448] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x456] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/clear-on-block-after-stacked-floats.txt b/Tests/LibWeb/Layout/expected/clear-on-block-after-stacked-floats.txt
index 21d84c1d5e5..e555fc2dbab 100644
--- a/Tests/LibWeb/Layout/expected/clear-on-block-after-stacked-floats.txt
+++ b/Tests/LibWeb/Layout/expected/clear-on-block-after-stacked-floats.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [8,8] floating [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [8,208] floating [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div#cleared> at [8,308] [0+0+0 784 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,318] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x326] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/clear-past-stacked-floats-first-taller.txt b/Tests/LibWeb/Layout/expected/clear-past-stacked-floats-first-taller.txt
index c9d3303ee9d..fc69f1fc5e8 100644
--- a/Tests/LibWeb/Layout/expected/clear-past-stacked-floats-first-taller.txt
+++ b/Tests/LibWeb/Layout/expected/clear-past-stacked-floats-first-taller.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [8,458] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
BlockContainer <div#after> at [8,458] [0+0+0 784 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,468] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x476] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/clear-past-three-stacked-floats.txt b/Tests/LibWeb/Layout/expected/clear-past-three-stacked-floats.txt
index 6422ed73873..7ce6d697d37 100644
--- a/Tests/LibWeb/Layout/expected/clear-past-three-stacked-floats.txt
+++ b/Tests/LibWeb/Layout/expected/clear-past-three-stacked-floats.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [8,358] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
BlockContainer <div#after> at [8,358] [0+0+0 784 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,368] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x376] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/clear-right-past-stacked-right-floats.txt b/Tests/LibWeb/Layout/expected/clear-right-past-stacked-right-floats.txt
index 1294a2af011..775d06c2be3 100644
--- a/Tests/LibWeb/Layout/expected/clear-right-past-stacked-right-floats.txt
+++ b/Tests/LibWeb/Layout/expected/clear-right-past-stacked-right-floats.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [8,258] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
BlockContainer <div#after> at [8,258] [0+0+0 784 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,268] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x276] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/clearfix-with-stacked-full-width-floats.txt b/Tests/LibWeb/Layout/expected/clearfix-with-stacked-full-width-floats.txt
index 50d84425f0c..984858aa2aa 100644
--- a/Tests/LibWeb/Layout/expected/clearfix-with-stacked-full-width-floats.txt
+++ b/Tests/LibWeb/Layout/expected/clearfix-with-stacked-full-width-floats.txt
@@ -2,19 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 466 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 450 0+0+8] children: not-inline
BlockContainer <div.clearfix> at [8,8] [0+0+0 784 0+0+0] [0+0+0 400 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.floated.tall> at [8,8] floating [0+0+0 784 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.floated.short> at [8,308] floating [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.floated.tall> at [8,8] floating [0+0+0 784 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.floated.short> at [8,308] floating [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#after> at [8,408] [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,458] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x466] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/content-image-principal-box.txt b/Tests/LibWeb/Layout/expected/content-image-principal-box.txt
index a8bc6148ad3..207e64f8667 100644
--- a/Tests/LibWeb/Layout/expected/content-image-principal-box.txt
+++ b/Tests/LibWeb/Layout/expected/content-image-principal-box.txt
@@ -1,29 +1,19 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 276 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 260 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ImageBox <div.replaced> at [8,8] [0+0+0 40 0+0+744] [0+0+0 40 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,48 40x40] baseline: 40
- TextNode <#text> (not painted)
ImageBox <span.replaced.inline> at [8,48] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <div.replaced.list> at [8,88] [0+0+0 40 0+0+744] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ImageBox <div.replaced.layered> at [8,128] [0+0+0 40 0+0+744] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ImageBox <div.set> at [8,168] [0+0+0 20 0+0+764] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,188] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,188 40x40] baseline: 40
- TextNode <#text> (not painted)
ImageBox <img.replaced> at [8,188] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <div.replaced> at [8,228] [0+0+0 40 0+0+744] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,268] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x276] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/content-image-set.txt b/Tests/LibWeb/Layout/expected/content-image-set.txt
index 901bcb92197..b9d1ff19e5e 100644
--- a/Tests/LibWeb/Layout/expected/content-image-set.txt
+++ b/Tests/LibWeb/Layout/expected/content-image-set.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 200x200] baseline: 200
ImageBox <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-appearance-none.txt b/Tests/LibWeb/Layout/expected/css-appearance-none.txt
index 06c7c609d2a..85d17f012a9 100644
--- a/Tests/LibWeb/Layout/expected/css-appearance-none.txt
+++ b/Tests/LibWeb/Layout/expected/css-appearance-none.txt
@@ -28,7 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <input> at [17,31] inline-block [0+2+7 0 7+2+0] [0+2+1 14 1+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [17,31] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [17,31] flex-item [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
@@ -38,23 +37,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
CheckBox <input> at [12,51] inline-block [4+0+0 13 0+0+3] [3+0+0 13 0+0+3] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <input> at [12,80] inline-block [4+0+0 0 0+0+3] [3+0+0 0 0+0+3] [BFC] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
RadioButton <input> at [13,89] inline-block [5+0+0 12 0+0+3] [3+0+0 12 0+0+0] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <input> at [13,117] inline-block [5+0+0 0 0+0+3] [3+0+0 0 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x129.21875] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-attr-typed-fallback.txt b/Tests/LibWeb/Layout/expected/css-attr-typed-fallback.txt
index 30702c65595..a1e2f9973c9 100644
--- a/Tests/LibWeb/Layout/expected/css-attr-typed-fallback.txt
+++ b/Tests/LibWeb/Layout/expected/css-attr-typed-fallback.txt
@@ -6,14 +6,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [9,9 41.53125x16] baseline: 12.796875
"WHF!"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.string-no-fallback> at [9,31] [0+1+0 100 0+1+682] [0+1+0 20 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.px> at [9,53] [0+1+0 200 0+1+582] [0+1+0 20 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [8,74] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x82] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/basic.txt b/Tests/LibWeb/Layout/expected/css-counters/basic.txt
index 58c97d5e86d..adc2bd89bfe 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/basic.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/basic.txt
@@ -173,8 +173,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,336] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x336] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-cjk-ideographic.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-cjk-ideographic.txt
index 3aa07ed59c6..87bb0fd082a 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-cjk-ideographic.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-cjk-ideographic.txt
@@ -6,315 +6,221 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,8 5.84375x16] baseline: 12.796875
"零"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,24 5.84375x16] baseline: 12.796875
"一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,40 5.84375x16] baseline: 12.796875
"二"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,56 5.84375x16] baseline: 12.796875
"三"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,72 5.84375x16] baseline: 12.796875
"四"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,88 5.84375x16] baseline: 12.796875
"五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,104 5.84375x16] baseline: 12.796875
"六"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,120 5.84375x16] baseline: 12.796875
"七"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,136 5.84375x16] baseline: 12.796875
"八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,152 5.84375x16] baseline: 12.796875
"九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,168 5.84375x16] baseline: 12.796875
"十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"一百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,200 11.6875x16] baseline: 12.796875
"一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,216 11.6875x16] baseline: 12.796875
"十一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"一百零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,264 11.6875x16] baseline: 12.796875
"二百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,280 23.375x16] baseline: 12.796875
"六千零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,296 11.6875x16] baseline: 12.796875
"一萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,312 11.6875x16] baseline: 12.796875
"二萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,328 11.6875x16] baseline: 12.796875
"五萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,344 52.59375x16] baseline: 12.796875
"九萬九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,360 52.59375x16] baseline: 12.796875
"一萬二千三百四十五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,376 23.375x16] baseline: 12.796875
"一萬零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,392 23.375x16] baseline: 12.796875
"一萬零十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"一萬零一百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,424] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,424] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,424 23.375x16] baseline: 12.796875
"一萬一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,440] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,440] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,440] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,440 11.6875x16] baseline: 12.796875
"一億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,456] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,456] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,456] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,456 11.6875x16] baseline: 12.796875
"二億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,472] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,472] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,472] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,472 11.6875x16] baseline: 12.796875
"五億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,488] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,488] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,488] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,488 99.34375x16] baseline: 12.796875
"九億九千九百九十九萬九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,504] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,504] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,504] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,504 99.34375x16] baseline: 12.796875
"一億二千三百四十五萬六千七百八十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,520] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,520] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,520] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,520 23.375x16] baseline: 12.796875
"一億零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,536] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,536] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,536] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,536 29.21875x16] baseline: 12.796875
"一億零一萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,552] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,552] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,552] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,552 29.21875x16] baseline: 12.796875
"一億零十萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,568] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,568] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,568] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,568 35.0625x16] baseline: 12.796875
"一億零一百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,584] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,584] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,584] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,584 29.21875x16] baseline: 12.796875
"一億一千萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,600] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,600] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,600] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,600 11.6875x16] baseline: 12.796875
"十億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,616] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,616] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,616] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,616 17.53125x16] baseline: 12.796875
"一百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,632] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,632] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,632] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,632 11.6875x16] baseline: 12.796875
"一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,648] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,648] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,648] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,648 17.53125x16] baseline: 12.796875
"負一萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,664] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,664] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,664] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,664 17.53125x16] baseline: 12.796875
"負一億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,680] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,680] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,680] [0+0+0 116.875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 20, rect: [8,680 116.875x16] baseline: 12.796875
"負二十一億四千七百四十八萬三千六百四十八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,696] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,696] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,696] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,696 11.6875x16] baseline: 12.796875
"負一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,712] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x720] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-formal-extended.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-formal-extended.txt
index aacb99f37d3..bccf046e08c 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-formal-extended.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-formal-extended.txt
@@ -6,183 +6,131 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,8 11.6875x16] baseline: 12.796875
"壱萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,24 11.6875x16] baseline: 12.796875
"弐萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,40 11.6875x16] baseline: 12.796875
"伍萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,56 52.59375x16] baseline: 12.796875
"九萬九阡九百九拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,72 52.59375x16] baseline: 12.796875
"壱萬弐阡参百四拾伍"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,88 17.53125x16] baseline: 12.796875
"壱萬壱"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,104 23.375x16] baseline: 12.796875
"壱萬壱拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,120 23.375x16] baseline: 12.796875
"壱萬壱百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,136 23.375x16] baseline: 12.796875
"壱萬壱阡"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,152 11.6875x16] baseline: 12.796875
"壱億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"弐億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"伍億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,200 99.34375x16] baseline: 12.796875
"九億九阡九百九拾九萬九阡九百九拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,216 99.34375x16] baseline: 12.796875
"壱億弐阡参百四拾伍萬六阡七百八拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"壱億壱"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"壱億壱萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,264 29.21875x16] baseline: 12.796875
"壱億壱拾萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,280 29.21875x16] baseline: 12.796875
"壱億壱百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,296 29.21875x16] baseline: 12.796875
"壱億壱阡萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,312 17.53125x16] baseline: 12.796875
"壱拾億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,328 17.53125x16] baseline: 12.796875
"壱百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,344 11.6875x16] baseline: 12.796875
"壱阡"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,360 35.0625x16] baseline: 12.796875
"マイナス壱萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,376 35.0625x16] baseline: 12.796875
"マイナス壱億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 134.40625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 23, rect: [8,392 134.40625x16] baseline: 12.796875
"マイナス弐拾壱億四阡七百四拾八萬参阡六百四拾八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"マイナス壱"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x432] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-informal-extended.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-informal-extended.txt
index d1f05c6293f..a169f30fae8 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-informal-extended.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-japanese-informal-extended.txt
@@ -6,183 +6,131 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,8 11.6875x16] baseline: 12.796875
"一万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,24 11.6875x16] baseline: 12.796875
"二万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,40 11.6875x16] baseline: 12.796875
"五万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,56 52.59375x16] baseline: 12.796875
"九万九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,72 52.59375x16] baseline: 12.796875
"一万二千三百四十五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,88 17.53125x16] baseline: 12.796875
"一万一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,104 17.53125x16] baseline: 12.796875
"一万十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,120 17.53125x16] baseline: 12.796875
"一万百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,136 17.53125x16] baseline: 12.796875
"一万千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,152 11.6875x16] baseline: 12.796875
"一億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"二億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"五億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,200 99.34375x16] baseline: 12.796875
"九億九千九百九十九万九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,216 99.34375x16] baseline: 12.796875
"一億二千三百四十五万六千七百八十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"一億一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"一億一万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,264 23.375x16] baseline: 12.796875
"一億十万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,280 23.375x16] baseline: 12.796875
"一億百万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,296 23.375x16] baseline: 12.796875
"一億千万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,312 11.6875x16] baseline: 12.796875
"十億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,328 11.6875x16] baseline: 12.796875
"百万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,344 5.84375x16] baseline: 12.796875
"千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,360 35.0625x16] baseline: 12.796875
"マイナス一万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,376 35.0625x16] baseline: 12.796875
"マイナス一億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 134.40625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 23, rect: [8,392 134.40625x16] baseline: 12.796875
"マイナス二十一億四千七百四十八万三千六百四十八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"マイナス一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x432] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hangul-formal-extended.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hangul-formal-extended.txt
index 2b84a0b0983..6b0969b9ddb 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hangul-formal-extended.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hangul-formal-extended.txt
@@ -6,99 +6,71 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,8 11.6875x16] baseline: 12.796875
"일만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,24 11.6875x16] baseline: 12.796875
"이만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,40 11.6875x16] baseline: 12.796875
"오만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 60.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 10, rect: [8,56 60.59375x16] baseline: 12.796875
"구만 구천구백구십구"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 60.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 10, rect: [8,72 60.59375x16] baseline: 12.796875
"일만 이천삼백사십오"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 25.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,88 25.53125x16] baseline: 12.796875
"일만 일"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,104 31.375x16] baseline: 12.796875
"일만 일십"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,120 31.375x16] baseline: 12.796875
"일만 일백"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,136 31.375x16] baseline: 12.796875
"일만 일천"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,152 11.6875x16] baseline: 12.796875
"일억"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"이억"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"오억"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 115.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 19, rect: [8,200 115.34375x16] baseline: 12.796875
"구억 구천구백구십구만 구천구백구십구"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 115.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 19, rect: [8,216 115.34375x16] baseline: 12.796875
"일억 이천삼백사십오만 육천칠백팔십구"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 25.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 19.6875x16] baseline: 12.796875
@@ -106,85 +78,61 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from GeneratedTextNode start: 4, length: 1, rect: [27.6875,232 5.84375x16] baseline: 12.796875
"일"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,248 31.375x16] baseline: 12.796875
"일억 일만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,264 37.21875x16] baseline: 12.796875
"일억 일십만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,280 37.21875x16] baseline: 12.796875
"일억 일백만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,296 37.21875x16] baseline: 12.796875
"일억 일천만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,312 17.53125x16] baseline: 12.796875
"일십억"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,328 17.53125x16] baseline: 12.796875
"일백만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,344 11.6875x16] baseline: 12.796875
"일천"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 43.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,360 43.0625x16] baseline: 12.796875
"마이너스 일만"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 43.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,376 43.0625x16] baseline: 12.796875
"마이너스 일억"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 158.40625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 26, rect: [8,392 158.40625x16] baseline: 12.796875
"마이너스 이십일억 사천칠백사십팔만 삼천육백사십팔"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,408 37.21875x16] baseline: 12.796875
"마이너스 일"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x432] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-formal-extended.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-formal-extended.txt
index 52a546801c1..9225e1463fc 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-formal-extended.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-formal-extended.txt
@@ -6,99 +6,71 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,8 11.6875x16] baseline: 12.796875
"壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,24 11.6875x16] baseline: 12.796875
"貳萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,40 11.6875x16] baseline: 12.796875
"五萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 60.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 10, rect: [8,56 60.59375x16] baseline: 12.796875
"九萬 九仟九百九拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 60.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 10, rect: [8,72 60.59375x16] baseline: 12.796875
"壹萬 貳仟參百四拾五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 25.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,88 25.53125x16] baseline: 12.796875
"壹萬 壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,104 31.375x16] baseline: 12.796875
"壹萬 壹拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,120 31.375x16] baseline: 12.796875
"壹萬 壹百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,136 31.375x16] baseline: 12.796875
"壹萬 壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,152 11.6875x16] baseline: 12.796875
"壹億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"貳億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"五億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 115.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 19, rect: [8,200 115.34375x16] baseline: 12.796875
"九億 九仟九百九拾九萬 九仟九百九拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 115.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 19, rect: [8,216 115.34375x16] baseline: 12.796875
"壹億 貳仟參百四拾五萬 六仟七百八拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 25.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 19.6875x16] baseline: 12.796875
@@ -106,85 +78,61 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from GeneratedTextNode start: 4, length: 1, rect: [27.6875,232 5.84375x16] baseline: 12.796875
"壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,248 31.375x16] baseline: 12.796875
"壹億 壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,264 37.21875x16] baseline: 12.796875
"壹億 壹拾萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,280 37.21875x16] baseline: 12.796875
"壹億 壹百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,296 37.21875x16] baseline: 12.796875
"壹億 壹仟萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,312 17.53125x16] baseline: 12.796875
"壹拾億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,328 17.53125x16] baseline: 12.796875
"壹百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,344 11.6875x16] baseline: 12.796875
"壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 43.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,360 43.0625x16] baseline: 12.796875
"마이너스 壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 43.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,376 43.0625x16] baseline: 12.796875
"마이너스 壹億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 158.40625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 26, rect: [8,392 158.40625x16] baseline: 12.796875
"마이너스 貳拾壹億 四仟七百四拾八萬 參仟六百四拾八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,408 37.21875x16] baseline: 12.796875
"마이너스 壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x432] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-informal-extended.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-informal-extended.txt
index 52a546801c1..9225e1463fc 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-informal-extended.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-korean-hanja-informal-extended.txt
@@ -6,99 +6,71 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,8 11.6875x16] baseline: 12.796875
"壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,24 11.6875x16] baseline: 12.796875
"貳萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,40 11.6875x16] baseline: 12.796875
"五萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 60.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 10, rect: [8,56 60.59375x16] baseline: 12.796875
"九萬 九仟九百九拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 60.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 10, rect: [8,72 60.59375x16] baseline: 12.796875
"壹萬 貳仟參百四拾五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 25.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,88 25.53125x16] baseline: 12.796875
"壹萬 壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,104 31.375x16] baseline: 12.796875
"壹萬 壹拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,120 31.375x16] baseline: 12.796875
"壹萬 壹百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,136 31.375x16] baseline: 12.796875
"壹萬 壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,152 11.6875x16] baseline: 12.796875
"壹億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"貳億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"五億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 115.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 19, rect: [8,200 115.34375x16] baseline: 12.796875
"九億 九仟九百九拾九萬 九仟九百九拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 115.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 19, rect: [8,216 115.34375x16] baseline: 12.796875
"壹億 貳仟參百四拾五萬 六仟七百八拾九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 25.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 19.6875x16] baseline: 12.796875
@@ -106,85 +78,61 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from GeneratedTextNode start: 4, length: 1, rect: [27.6875,232 5.84375x16] baseline: 12.796875
"壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 31.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,248 31.375x16] baseline: 12.796875
"壹億 壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,264 37.21875x16] baseline: 12.796875
"壹億 壹拾萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,280 37.21875x16] baseline: 12.796875
"壹億 壹百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,296 37.21875x16] baseline: 12.796875
"壹億 壹仟萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,312 17.53125x16] baseline: 12.796875
"壹拾億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,328 17.53125x16] baseline: 12.796875
"壹百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,344 11.6875x16] baseline: 12.796875
"壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 43.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,360 43.0625x16] baseline: 12.796875
"마이너스 壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 43.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,376 43.0625x16] baseline: 12.796875
"마이너스 壹億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 158.40625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 26, rect: [8,392 158.40625x16] baseline: 12.796875
"마이너스 貳拾壹億 四仟七百四拾八萬 參仟六百四拾八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,408 37.21875x16] baseline: 12.796875
"마이너스 壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x432] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-formal.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-formal.txt
index b8f25a8e864..4a2d99efd49 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-formal.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-formal.txt
@@ -6,309 +6,221 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,8 5.84375x16] baseline: 12.796875
"零"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,24 5.84375x16] baseline: 12.796875
"壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,40 5.84375x16] baseline: 12.796875
"贰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,56 5.84375x16] baseline: 12.796875
"叁"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,72 5.84375x16] baseline: 12.796875
"肆"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,88 5.84375x16] baseline: 12.796875
"伍"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,104 5.84375x16] baseline: 12.796875
"陆"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,120 5.84375x16] baseline: 12.796875
"柒"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,136 5.84375x16] baseline: 12.796875
"捌"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,152 5.84375x16] baseline: 12.796875
"玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"壹拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"壹佰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,200 11.6875x16] baseline: 12.796875
"壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,216 17.53125x16] baseline: 12.796875
"壹拾壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"玖拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"壹佰零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,264 11.6875x16] baseline: 12.796875
"贰佰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,280 23.375x16] baseline: 12.796875
"陆仟零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,296 11.6875x16] baseline: 12.796875
"壹万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,312 11.6875x16] baseline: 12.796875
"贰万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,328 11.6875x16] baseline: 12.796875
"伍万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,344 52.59375x16] baseline: 12.796875
"玖万玖仟玖佰玖拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,360 52.59375x16] baseline: 12.796875
"壹万贰仟叁佰肆拾伍"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,376 23.375x16] baseline: 12.796875
"壹万零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,392 29.21875x16] baseline: 12.796875
"壹万零壹拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"壹万零壹佰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,424] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,424] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,424 23.375x16] baseline: 12.796875
"壹万壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,440] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,440] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,440] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,440 11.6875x16] baseline: 12.796875
"壹亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,456] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,456] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,456] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,456 11.6875x16] baseline: 12.796875
"贰亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,472] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,472] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,472] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,472 11.6875x16] baseline: 12.796875
"伍亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,488] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,488] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,488] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,488 99.34375x16] baseline: 12.796875
"玖亿玖仟玖佰玖拾玖万玖仟玖佰玖拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,504] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,504] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,504] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,504 99.34375x16] baseline: 12.796875
"壹亿贰仟叁佰肆拾伍万陆仟柒佰捌拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,520] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,520] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,520] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,520 23.375x16] baseline: 12.796875
"壹亿零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,536] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,536] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,536] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,536 29.21875x16] baseline: 12.796875
"壹亿零壹万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,552] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,552] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,552] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,552 35.0625x16] baseline: 12.796875
"壹亿零壹拾万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,568] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,568] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,568] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,568 35.0625x16] baseline: 12.796875
"壹亿零壹佰万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,584] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,584] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,584] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,584 29.21875x16] baseline: 12.796875
"壹亿壹仟万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,600] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,600] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,600] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,600 17.53125x16] baseline: 12.796875
"壹拾亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,616] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,616] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,616] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,616 17.53125x16] baseline: 12.796875
"壹佰万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,632] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,632] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,632] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,632 11.6875x16] baseline: 12.796875
"壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,648] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,648] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,648] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,648 17.53125x16] baseline: 12.796875
"负壹万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,664] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,664] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,664] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,664 17.53125x16] baseline: 12.796875
"负壹亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,680] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,680] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,680] [0+0+0 116.875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 20, rect: [8,680 116.875x16] baseline: 12.796875
"负贰拾壹亿肆仟柒佰肆拾捌万叁仟陆佰肆拾捌"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,696] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,696] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,696] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,696 11.6875x16] baseline: 12.796875
"负壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,712] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x720] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-informal.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-informal.txt
index 20b24ebdc4c..7a7bd1e70a4 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-informal.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-simp-chinese-informal.txt
@@ -6,309 +6,221 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,8 5.84375x16] baseline: 12.796875
"零"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,24 5.84375x16] baseline: 12.796875
"一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,40 5.84375x16] baseline: 12.796875
"二"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,56 5.84375x16] baseline: 12.796875
"三"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,72 5.84375x16] baseline: 12.796875
"四"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,88 5.84375x16] baseline: 12.796875
"五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,104 5.84375x16] baseline: 12.796875
"六"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,120 5.84375x16] baseline: 12.796875
"七"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,136 5.84375x16] baseline: 12.796875
"八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,152 5.84375x16] baseline: 12.796875
"九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,168 5.84375x16] baseline: 12.796875
"十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"一百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,200 11.6875x16] baseline: 12.796875
"一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,216 11.6875x16] baseline: 12.796875
"十一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"一百零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,264 11.6875x16] baseline: 12.796875
"二百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,280 23.375x16] baseline: 12.796875
"六千零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,296 11.6875x16] baseline: 12.796875
"一万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,312 11.6875x16] baseline: 12.796875
"二万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,328 11.6875x16] baseline: 12.796875
"五万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,344 52.59375x16] baseline: 12.796875
"九万九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,360 52.59375x16] baseline: 12.796875
"一万二千三百四十五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,376 23.375x16] baseline: 12.796875
"一万零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,392 23.375x16] baseline: 12.796875
"一万零十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"一万零一百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,424] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,424] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,424 23.375x16] baseline: 12.796875
"一万一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,440] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,440] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,440] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,440 11.6875x16] baseline: 12.796875
"一亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,456] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,456] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,456] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,456 11.6875x16] baseline: 12.796875
"二亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,472] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,472] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,472] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,472 11.6875x16] baseline: 12.796875
"五亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,488] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,488] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,488] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,488 99.34375x16] baseline: 12.796875
"九亿九千九百九十九万九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,504] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,504] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,504] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,504 99.34375x16] baseline: 12.796875
"一亿二千三百四十五万六千七百八十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,520] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,520] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,520] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,520 23.375x16] baseline: 12.796875
"一亿零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,536] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,536] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,536] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,536 29.21875x16] baseline: 12.796875
"一亿零一万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,552] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,552] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,552] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,552 29.21875x16] baseline: 12.796875
"一亿零十万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,568] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,568] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,568] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,568 35.0625x16] baseline: 12.796875
"一亿零一百万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,584] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,584] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,584] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,584 29.21875x16] baseline: 12.796875
"一亿一千万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,600] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,600] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,600] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,600 11.6875x16] baseline: 12.796875
"十亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,616] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,616] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,616] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,616 17.53125x16] baseline: 12.796875
"一百万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,632] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,632] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,632] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,632 11.6875x16] baseline: 12.796875
"一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,648] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,648] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,648] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,648 17.53125x16] baseline: 12.796875
"负一万"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,664] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,664] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,664] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,664 17.53125x16] baseline: 12.796875
"负一亿"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,680] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,680] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,680] [0+0+0 116.875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 20, rect: [8,680 116.875x16] baseline: 12.796875
"负二十一亿四千七百四十八万三千六百四十八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,696] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,696] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,696] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,696 11.6875x16] baseline: 12.796875
"负一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,712] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x720] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-style-system-default.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-style-system-default.txt
index 35af77baeb6..00e00e314e5 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-style-system-default.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-style-system-default.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,8 39.6875x16] baseline: 12.796875
"*****"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-formal.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-formal.txt
index 4afd0d12cbd..269331524db 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-formal.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-formal.txt
@@ -6,309 +6,221 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,8 5.84375x16] baseline: 12.796875
"零"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,24 5.84375x16] baseline: 12.796875
"壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,40 5.84375x16] baseline: 12.796875
"貳"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,56 5.84375x16] baseline: 12.796875
"參"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,72 5.84375x16] baseline: 12.796875
"肆"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,88 5.84375x16] baseline: 12.796875
"伍"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,104 5.84375x16] baseline: 12.796875
"陸"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,120 5.84375x16] baseline: 12.796875
"柒"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,136 5.84375x16] baseline: 12.796875
"捌"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,152 5.84375x16] baseline: 12.796875
"玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,168 11.6875x16] baseline: 12.796875
"壹拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"壹佰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,200 11.6875x16] baseline: 12.796875
"壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,216 17.53125x16] baseline: 12.796875
"壹拾壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"玖拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"壹佰零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,264 11.6875x16] baseline: 12.796875
"貳佰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,280 23.375x16] baseline: 12.796875
"陸仟零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,296 11.6875x16] baseline: 12.796875
"壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,312 11.6875x16] baseline: 12.796875
"貳萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,328 11.6875x16] baseline: 12.796875
"伍萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,344 52.59375x16] baseline: 12.796875
"玖萬玖仟玖佰玖拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,360 52.59375x16] baseline: 12.796875
"壹萬貳仟參佰肆拾伍"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,376 23.375x16] baseline: 12.796875
"壹萬零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,392 29.21875x16] baseline: 12.796875
"壹萬零壹拾"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"壹萬零壹佰"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,424] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,424] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,424 23.375x16] baseline: 12.796875
"壹萬壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,440] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,440] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,440] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,440 11.6875x16] baseline: 12.796875
"壹億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,456] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,456] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,456] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,456 11.6875x16] baseline: 12.796875
"貳億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,472] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,472] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,472] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,472 11.6875x16] baseline: 12.796875
"伍億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,488] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,488] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,488] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,488 99.34375x16] baseline: 12.796875
"玖億玖仟玖佰玖拾玖萬玖仟玖佰玖拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,504] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,504] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,504] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,504 99.34375x16] baseline: 12.796875
"壹億貳仟參佰肆拾伍萬陸仟柒佰捌拾玖"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,520] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,520] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,520] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,520 23.375x16] baseline: 12.796875
"壹億零壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,536] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,536] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,536] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,536 29.21875x16] baseline: 12.796875
"壹億零壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,552] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,552] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,552] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,552 35.0625x16] baseline: 12.796875
"壹億零壹拾萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,568] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,568] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,568] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,568 35.0625x16] baseline: 12.796875
"壹億零壹佰萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,584] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,584] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,584] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,584 29.21875x16] baseline: 12.796875
"壹億壹仟萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,600] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,600] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,600] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,600 17.53125x16] baseline: 12.796875
"壹拾億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,616] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,616] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,616] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,616 17.53125x16] baseline: 12.796875
"壹佰萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,632] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,632] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,632] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,632 11.6875x16] baseline: 12.796875
"壹仟"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,648] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,648] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,648] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,648 17.53125x16] baseline: 12.796875
"負壹萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,664] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,664] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,664] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,664 17.53125x16] baseline: 12.796875
"負壹億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,680] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,680] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,680] [0+0+0 116.875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 20, rect: [8,680 116.875x16] baseline: 12.796875
"負貳拾壹億肆仟柒佰肆拾捌萬參仟陸佰肆拾捌"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,696] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,696] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,696] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,696 11.6875x16] baseline: 12.796875
"負壹"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,712] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x720] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-informal.txt b/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-informal.txt
index 0625ebaf5f4..87bb0fd082a 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-informal.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counter-trad-chinese-informal.txt
@@ -6,309 +6,221 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,8 5.84375x16] baseline: 12.796875
"零"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,24 5.84375x16] baseline: 12.796875
"一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,40] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,40 5.84375x16] baseline: 12.796875
"二"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,56] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,56 5.84375x16] baseline: 12.796875
"三"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,72] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,72 5.84375x16] baseline: 12.796875
"四"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,88] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,88 5.84375x16] baseline: 12.796875
"五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,104] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,104 5.84375x16] baseline: 12.796875
"六"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,120] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,120] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,120 5.84375x16] baseline: 12.796875
"七"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,136] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,136] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,136] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,136 5.84375x16] baseline: 12.796875
"八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,152] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,152] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,152 5.84375x16] baseline: 12.796875
"九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,168] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,168] [0+0+0 5.84375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [8,168 5.84375x16] baseline: 12.796875
"十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,184] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,184] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,184 11.6875x16] baseline: 12.796875
"一百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,200] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,200] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,200 11.6875x16] baseline: 12.796875
"一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,216] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,216] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,216] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,216 11.6875x16] baseline: 12.796875
"十一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,232] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,232] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,232] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,232 17.53125x16] baseline: 12.796875
"九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,248] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,248] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,248 23.375x16] baseline: 12.796875
"一百零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,264] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,264] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,264] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,264 11.6875x16] baseline: 12.796875
"二百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,280] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,280] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,280] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,280 23.375x16] baseline: 12.796875
"六千零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,296 11.6875x16] baseline: 12.796875
"一萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,312] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,312 11.6875x16] baseline: 12.796875
"二萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,328] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,328] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,328 11.6875x16] baseline: 12.796875
"五萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,344] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,344] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,344] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,344 52.59375x16] baseline: 12.796875
"九萬九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,360] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,360] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,360] [0+0+0 52.59375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 9, rect: [8,360 52.59375x16] baseline: 12.796875
"一萬二千三百四十五"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,376] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,376] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,376] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,376 23.375x16] baseline: 12.796875
"一萬零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,392] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,392] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,392] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,392 23.375x16] baseline: 12.796875
"一萬零十"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,408] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,408] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,408] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,408 29.21875x16] baseline: 12.796875
"一萬零一百"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,424] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,424] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,424] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,424 23.375x16] baseline: 12.796875
"一萬一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,440] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,440] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,440] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,440 11.6875x16] baseline: 12.796875
"一億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,456] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,456] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,456] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,456 11.6875x16] baseline: 12.796875
"二億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,472] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,472] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,472] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,472 11.6875x16] baseline: 12.796875
"五億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,488] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,488] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,488] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,488 99.34375x16] baseline: 12.796875
"九億九千九百九十九萬九千九百九十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,504] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,504] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,504] [0+0+0 99.34375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 17, rect: [8,504 99.34375x16] baseline: 12.796875
"一億二千三百四十五萬六千七百八十九"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,520] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,520] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,520] [0+0+0 23.375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 4, rect: [8,520 23.375x16] baseline: 12.796875
"一億零一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,536] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,536] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,536] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,536 29.21875x16] baseline: 12.796875
"一億零一萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,552] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,552] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,552] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,552 29.21875x16] baseline: 12.796875
"一億零十萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,568] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,568] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,568] [0+0+0 35.0625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,568 35.0625x16] baseline: 12.796875
"一億零一百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,584] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,584] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,584] [0+0+0 29.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,584 29.21875x16] baseline: 12.796875
"一億一千萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,600] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,600] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,600] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,600 11.6875x16] baseline: 12.796875
"十億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,616] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,616] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,616] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,616 17.53125x16] baseline: 12.796875
"一百萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,632] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,632] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,632] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,632 11.6875x16] baseline: 12.796875
"一千"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,648] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,648] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,648] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,648 17.53125x16] baseline: 12.796875
"負一萬"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,664] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,664] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,664] [0+0+0 17.53125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [8,664 17.53125x16] baseline: 12.796875
"負一億"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,680] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,680] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,680] [0+0+0 116.875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 20, rect: [8,680 116.875x16] baseline: 12.796875
"負二十一億四千七百四十八萬三千六百四十八"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,696] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,696] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,696] [0+0+0 11.6875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,696 11.6875x16] baseline: 12.796875
"負一"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,712] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x720] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/counters-function.txt b/Tests/LibWeb/Layout/expected/css-counters/counters-function.txt
index 88d98b97e11..dd83939ece3 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/counters-function.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/counters-function.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 256 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 240 0+0+8] children: not-inline
BlockContainer <div.ol> at [24,8] [0+0+16 768 0+0+0] [0+0+0 240 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [24,8] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,8] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [42.125,8 14.265625x16] baseline: 12.796875
"A"
@@ -15,8 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,24] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,24] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [44.59375,24 9.34375x16] baseline: 12.796875
"B"
@@ -28,8 +24,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,40] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,40] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [44.875,40 10.3125x16] baseline: 12.796875
"C"
@@ -41,8 +35,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,56] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,56] [0+0+0 768 0+0+0] [0+0+0 144 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [24,56] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [24,56] [0+0+0 11.53125 0+0+0] [0+0+0 16 0+0+0]
@@ -54,8 +46,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
BlockContainer <div.ol> at [40,72] [0+0+16 752 0+0+0] [0+0+0 128 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [40,72] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [40,72] [0+0+0 752 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [70.21875,72 11.140625x16] baseline: 12.796875
"D"
@@ -67,8 +57,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,88] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [40,88] [0+0+0 752 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [72.6875,88 11.859375x16] baseline: 12.796875
"E"
@@ -80,8 +68,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,104] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [40,104] [0+0+0 752 0+0+0] [0+0+0 64 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [40,104] [0+0+0 752 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [40,104] [0+0+0 24.96875 0+0+0] [0+0+0 16 0+0+0]
@@ -93,8 +79,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
BlockContainer <div.ol> at [56,120] [0+0+16 736 0+0+0] [0+0+0 48 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [56,120] [0+0+0 736 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [56,120] [0+0+0 736 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [99.65625,120 12.546875x16] baseline: 12.796875
"F"
@@ -106,8 +90,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [56,136] [0+0+0 736 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [56,136] [0+0+0 736 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [102.125,136 13.234375x16] baseline: 12.796875
"G"
@@ -119,8 +101,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [56,152] [0+0+0 736 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [56,152] [0+0+0 736 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [102.40625,152 12.234375x16] baseline: 12.796875
"H"
@@ -132,12 +112,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [56,168] [0+0+0 736 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,168] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,168] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [40,168] [0+0+0 752 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [71.625,168 4.59375x16] baseline: 12.796875
"I"
@@ -149,8 +123,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,184] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [40,184] [0+0+0 752 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [72.328125,184 8.90625x16] baseline: 12.796875
"J"
@@ -162,12 +134,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,200] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,200] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,200] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,200] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [44.234375,200 9.8125x16] baseline: 12.796875
"K"
@@ -179,8 +145,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,216] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,216] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [44.515625,216 10.859375x16] baseline: 12.796875
"L"
@@ -192,8 +156,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,232] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.li> at [24,232] [0+0+0 768 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [44.5,232 11.765625x16] baseline: 12.796875
"M"
@@ -205,10 +167,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [24,248] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x256] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-insert-rule.txt b/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-insert-rule.txt
index 2438389447a..00e00e314e5 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-insert-rule.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-insert-rule.txt
@@ -6,9 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,8 39.6875x16] baseline: 12.796875
"*****"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-replace-sync-adopted-sheet.txt b/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-replace-sync-adopted-sheet.txt
index 2438389447a..00e00e314e5 100644
--- a/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-replace-sync-adopted-sheet.txt
+++ b/Tests/LibWeb/Layout/expected/css-counters/dynamic-counter-style-replace-sync-adopted-sheet.txt
@@ -6,9 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,8 39.6875x16] baseline: 12.796875
"*****"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-degenerate-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/css-degenerate-aspect-ratio.txt
index 0a718b50cd7..c4780ffd3db 100644
--- a/Tests/LibWeb/Layout/expected/css-degenerate-aspect-ratio.txt
+++ b/Tests/LibWeb/Layout/expected/css-degenerate-aspect-ratio.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 22, rect: [8,8 186.515625x16] baseline: 12.796875
"Pass if we don't crash"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-dir-selector.txt b/Tests/LibWeb/Layout/expected/css-dir-selector.txt
index a4af55cb1c1..a143cfc2ed1 100644
--- a/Tests/LibWeb/Layout/expected/css-dir-selector.txt
+++ b/Tests/LibWeb/Layout/expected/css-dir-selector.txt
@@ -7,64 +7,48 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 12, length: 8, rect: [301,25 59.21875x16] baseline: 12.796875
"friends!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,110] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [301,111] [100+1+0 100 0+1+390] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [301,111 79.96875x16] baseline: 12.796875
"Well, hello"
frag 1 from TextNode start: 12, length: 8, rect: [301,127 59.21875x16] baseline: 12.796875
"friends!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,212] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [401,213] [200+1+0 100 0+1+290] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [421.03125,213 79.96875x16] baseline: 12.796875
"Well, hello"
frag 1 from TextNode start: 12, length: 8, rect: [441.78125,229 59.21875x16] baseline: 12.796875
"friends!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,314] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [301,315] [100+1+0 100 0+1+390] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [301,315 79.96875x16] baseline: 12.796875
"Well, hello"
frag 1 from TextNode start: 12, length: 8, rect: [301,331 59.21875x16] baseline: 12.796875
"friends!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,416] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [301,417] [100+1+0 100 0+1+390] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [301,417 74.4375x16] baseline: 12.796875
"حسنًا ، مرحباً"
frag 1 from TextNode start: 15, length: 13, rect: [301,433 78.125x16] baseline: 12.796875
"أيها الأصدقاء"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,518] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [301,519] [100+1+0 100 0+1+390] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [301,519 74.4375x16] baseline: 12.796875
"حسنًا ، مرحباً"
frag 1 from TextNode start: 15, length: 13, rect: [301,535 78.125x16] baseline: 12.796875
"أيها الأصدقاء"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,620] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [401,621] [200+1+0 100 0+1+290] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [426.5625,621 74.4375x16] baseline: 12.796875
"حسنًا ، مرحباً"
frag 1 from TextNode start: 15, length: 13, rect: [422.875,637 78.125x16] baseline: 12.796875
"أيها الأصدقاء"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,722] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [401,723] [200+1+0 100 0+1+290] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [426.5625,723 74.4375x16] baseline: 12.796875
"حسنًا ، مرحباً"
frag 1 from TextNode start: 15, length: 13, rect: [422.875,739 78.125x16] baseline: 12.796875
"أيها الأصدقاء"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [200,824] [0+0+0 592 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [100,0 700x832] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-invalid-psuedo-compound-selector.txt b/Tests/LibWeb/Layout/expected/css-invalid-psuedo-compound-selector.txt
index 88993cb4a33..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/css-invalid-psuedo-compound-selector.txt
+++ b/Tests/LibWeb/Layout/expected/css-invalid-psuedo-compound-selector.txt
@@ -1,9 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-line-height-zero.txt b/Tests/LibWeb/Layout/expected/css-line-height-zero.txt
index 4731d4d43f0..1ffbc40ae13 100644
--- a/Tests/LibWeb/Layout/expected/css-line-height-zero.txt
+++ b/Tests/LibWeb/Layout/expected/css-line-height-zero.txt
@@ -7,24 +7,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 11, rect: [13,11 76.609375x14] baseline: 10.984375
"Hello World"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextInputBox <input#b> at [13,31] [0+2+3 159.6875 3+2+614.3125] [0+2+1 0 1+2+0] children: not-inline
Box <div> at [13,31] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [13,24] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [13,24 76.609375x14] baseline: 10.984375
"Hello World"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextInputBox <input#c> at [13,37] [0+2+3 159.6875 3+2+614.3125] [0+2+1 20 1+2+0] children: not-inline
Box <div> at [13,37] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [13,37] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [13,40 76.609375x14] baseline: 10.984375
"Hello World"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-logical-inset-properties.txt b/Tests/LibWeb/Layout/expected/css-logical-inset-properties.txt
index e7c084ba660..f47000e5bd3 100644
--- a/Tests/LibWeb/Layout/expected/css-logical-inset-properties.txt
+++ b/Tests/LibWeb/Layout/expected/css-logical-inset-properties.txt
@@ -1,9 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 0 0+1+0] [BFC] children: not-inline
- BlockContainer <body> at [9,9] positioned [8+1+0 500 0+1+8] [8+1+0 400 0+1+8] [BFC] children: inline
+ BlockContainer <body> at [9,9] positioned [8+1+0 500 0+1+8] [8+1+0 400 0+1+8] [BFC] children: not-inline
BlockContainer <div.two-props> at [60,110] positioned [0+1+0 398 0+1+0] [0+1+0 198 0+1+0] [BFC] children: not-inline
BlockContainer <div.four-props> at [110,210] positioned [0+1+0 248 0+1+0] [0+1+0 148 0+1+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-namespace-rule-matches.txt b/Tests/LibWeb/Layout/expected/css-namespace-rule-matches.txt
index 611913ad11a..8052b658929 100644
--- a/Tests/LibWeb/Layout/expected/css-namespace-rule-matches.txt
+++ b/Tests/LibWeb/Layout/expected/css-namespace-rule-matches.txt
@@ -2,14 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,20] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
BlockContainer <p> at [8,20] [0+0+0 784 0+0+0] [20+0+0 20 0+0+20] children: inline
- TextNode <#text> (not painted)
InlineNode <a> at [18,20] [0+0+10 163.9375 10+0+0] [0+0+10 20 10+0+0]
frag 0 from TextNode start: 0, length: 15, rect: [18,20 163.9375x20] baseline: 16
"Should be green"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-namespace-rule-no-match.txt b/Tests/LibWeb/Layout/expected/css-namespace-rule-no-match.txt
index 6f7a0eebab4..125f248c37b 100644
--- a/Tests/LibWeb/Layout/expected/css-namespace-rule-no-match.txt
+++ b/Tests/LibWeb/Layout/expected/css-namespace-rule-no-match.txt
@@ -2,14 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,20] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
BlockContainer <p> at [8,20] [0+0+0 784 0+0+0] [20+0+0 20 0+0+20] children: inline
- TextNode <#text> (not painted)
InlineNode <a> at [13,20] [0+0+5 141.390625 5+0+0] [0+0+5 20 5+0+0]
frag 0 from TextNode start: 0, length: 13, rect: [13,20 141.390625x20] baseline: 16
"Should be red"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-namespace-tag-name-selector.txt b/Tests/LibWeb/Layout/expected/css-namespace-tag-name-selector.txt
index 8518e20d18d..06e96ad16d4 100644
--- a/Tests/LibWeb/Layout/expected/css-namespace-tag-name-selector.txt
+++ b/Tests/LibWeb/Layout/expected/css-namespace-tag-name-selector.txt
@@ -22,8 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [10,231 99.484375x40] baseline: 32
"Hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,272] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x280] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-namespace-universal-selector.txt b/Tests/LibWeb/Layout/expected/css-namespace-universal-selector.txt
index 8039bb504bf..66bd6373401 100644
--- a/Tests/LibWeb/Layout/expected/css-namespace-universal-selector.txt
+++ b/Tests/LibWeb/Layout/expected/css-namespace-universal-selector.txt
@@ -2,14 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 340 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 324 0+0+8] children: not-inline
SVGSVGBox <svg> at [18,18] [0+10+0 100 0+10+664] [0+10+0 100 0+10+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <math> at [9,129] [0+1+0 100 0+1+682] [0+1+0 100 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [8,230] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [9,231] [0+1+0 100 0+1+682] [0+1+0 100 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [8,332] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x340] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-pseudo-element-display-list-item.txt b/Tests/LibWeb/Layout/expected/css-pseudo-element-display-list-item.txt
index d26a0151d2d..2eadc5b2cc5 100644
--- a/Tests/LibWeb/Layout/expected/css-pseudo-element-display-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/css-pseudo-element-display-list-item.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-inline-style.txt b/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-inline-style.txt
index 7e0b41d378e..b3b647aaabf 100644
--- a/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-inline-style.txt
+++ b/Tests/LibWeb/Layout/expected/css-pseudo-element-should-not-be-affected-by-inline-style.txt
@@ -3,8 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 102 0+1+8] children: not-inline
BlockContainer <div.outer> at [11,11] [0+1+0 100 0+1+678] [0+1+0 100 0+1+0] children: not-inline
BlockContainer <(anonymous)> at [12,12] [0+1+0 50 0+1+48] [0+1+0 50 0+1+0] children: not-inline
- BlockContainer <div.inner> at [12,64] [0+1+0 98 0+1+0] [0+1+0 0 0+1+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.inner> at [12,64] [0+1+0 98 0+1+0] [0+1+0 0 0+1+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-quotes-nesting.txt b/Tests/LibWeb/Layout/expected/css-quotes-nesting.txt
index 405bd3d1ce8..11d66f681ce 100644
--- a/Tests/LibWeb/Layout/expected/css-quotes-nesting.txt
+++ b/Tests/LibWeb/Layout/expected/css-quotes-nesting.txt
@@ -54,8 +54,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
InlineNode <(anonymous)> at [8,8] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0]
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <span> at [8,24] [0+0+0 130.578125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [13.84375,24 9.34375x16] baseline: 12.796875
@@ -129,8 +127,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [132.734375,24 5.84375x16] baseline: 12.796875
"”"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <span> at [8,40] [0+0+0 140.234375 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [13.484375,40 9.34375x16] baseline: 12.796875
@@ -204,8 +200,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 1, rect: [143.421875,40 4.8125x16] baseline: 12.796875
")"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-rect-value-with-calc-dont-crash.txt b/Tests/LibWeb/Layout/expected/css-rect-value-with-calc-dont-crash.txt
index 968ff1d778f..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/css-rect-value-with-calc-dont-crash.txt
+++ b/Tests/LibWeb/Layout/expected/css-rect-value-with-calc-dont-crash.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-table-cell-verticalalign-text-top.txt b/Tests/LibWeb/Layout/expected/css-table-cell-verticalalign-text-top.txt
index 2761e85b587..c3bf727595c 100644
--- a/Tests/LibWeb/Layout/expected/css-table-cell-verticalalign-text-top.txt
+++ b/Tests/LibWeb/Layout/expected/css-table-cell-verticalalign-text-top.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 204 0+0+580] [0+0+0 104 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 203 0+1+0] [0+1+0 103 0+1+0] [TFC] children: not-inline
Box <tbody> at [9,9] table-row-group [0+0+0 203 0+0+0] [0+0+0 103 0+0+0] children: not-inline
@@ -13,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [10,10 129.296875x16] baseline: 12.796875
"Text at the top"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-text-transform-math-auto.txt b/Tests/LibWeb/Layout/expected/css-text-transform-math-auto.txt
index 90dfe853da8..f3ac649364e 100644
--- a/Tests/LibWeb/Layout/expected/css-text-transform-math-auto.txt
+++ b/Tests/LibWeb/Layout/expected/css-text-transform-math-auto.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 35, rect: [8,16 118.40625x16] baseline: 12.796875
"𝑊𝑒𝑙𝑙, ℎ𝑒𝑙𝑙𝑜 𝑓𝑟𝑖𝑒𝑛𝑑𝑠!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-transition-none.txt b/Tests/LibWeb/Layout/expected/css-transition-none.txt
index 968ff1d778f..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/css-transition-none.txt
+++ b/Tests/LibWeb/Layout/expected/css-transition-none.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/comparison-functions.txt b/Tests/LibWeb/Layout/expected/css-values/comparison-functions.txt
index 4dc019a301e..c0de883ca4d 100644
--- a/Tests/LibWeb/Layout/expected/css-values/comparison-functions.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/comparison-functions.txt
@@ -3,8 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 0 0+0+-8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.min> at [8,8] [0+0+0 80 0+0+-80] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.max> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <div.clamp> at [8,8] [0+0+0 120 0+0+-20] [0+0+0 300 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.clamp> at [8,8] [0+0+0 120 0+0+-20] [0+0+0 300 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 0x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/exponential-functions.txt b/Tests/LibWeb/Layout/expected/css-values/exponential-functions.txt
index 3ac4161e1be..e99954282ac 100644
--- a/Tests/LibWeb/Layout/expected/css-values/exponential-functions.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/exponential-functions.txt
@@ -5,8 +5,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.sqrt> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.hypot> at [8,8] [0+0+0 120 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.log> at [8,8] [0+0+0 140 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <div.exp> at [8,8] [0+0+0 160 0+0+-20] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.exp> at [8,8] [0+0+0 160 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 0x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/numeric-constants.txt b/Tests/LibWeb/Layout/expected/css-values/numeric-constants.txt
index fcf8092622b..d5a99613e05 100644
--- a/Tests/LibWeb/Layout/expected/css-values/numeric-constants.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/numeric-constants.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 0 0+0+800] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 0 0+0+-8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.pi> at [8,8] [0+0+0 80 0+0+-80] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <div.e> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.e> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 0x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/rect-non-token-contents-crash.txt b/Tests/LibWeb/Layout/expected/css-values/rect-non-token-contents-crash.txt
index 55c0ace73da..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/css-values/rect-non-token-contents-crash.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/rect-non-token-contents-crash.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/sign-related-functions.txt b/Tests/LibWeb/Layout/expected/css-values/sign-related-functions.txt
index 6166569259b..f0ea6f4ad26 100644
--- a/Tests/LibWeb/Layout/expected/css-values/sign-related-functions.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/sign-related-functions.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 0 0+0+800] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 0 0+0+-8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.abs> at [8,8] [0+0+0 80 0+0+-80] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <div.sign> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.sign> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 0x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/stepped-value-functions.txt b/Tests/LibWeb/Layout/expected/css-values/stepped-value-functions.txt
index 780d7921cf2..821622a9bbc 100644
--- a/Tests/LibWeb/Layout/expected/css-values/stepped-value-functions.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/stepped-value-functions.txt
@@ -3,8 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 0 0+0+-8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.round> at [8,8] [0+0+0 80 0+0+-80] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div.mod> at [8,8] [0+0+0 100 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <div.rem> at [8,8] [0+0+0 120 0+0+-20] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.rem> at [8,8] [0+0+0 120 0+0+-20] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 0x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-values/trigonometric-functions.txt b/Tests/LibWeb/Layout/expected/css-values/trigonometric-functions.txt
index f3c34dbf8a8..8d7eb67ebd1 100644
--- a/Tests/LibWeb/Layout/expected/css-values/trigonometric-functions.txt
+++ b/Tests/LibWeb/Layout/expected/css-values/trigonometric-functions.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.acos> at [8,448] positioned [0+0+0 100 0+0+684] [0+0+0 160 0+0+0] children: not-inline
BlockContainer <div.atan> at [8,608] positioned [0+0+0 100 0+0+684] [0+0+0 180 0+0+0] children: not-inline
BlockContainer <div.atan2> at [8,788] positioned [0+0+0 100 0+0+684] [0+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,988] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x996] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css/anchor-positioning-fixed-span-all.txt b/Tests/LibWeb/Layout/expected/css/anchor-positioning-fixed-span-all.txt
index 8c75f0e8a41..e1c69888d9e 100644
--- a/Tests/LibWeb/Layout/expected/css/anchor-positioning-fixed-span-all.txt
+++ b/Tests/LibWeb/Layout/expected/css/anchor-positioning-fixed-span-all.txt
@@ -1,34 +1,17 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <div#fixed-anchor> at [300,100] positioned [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#fixed-target> at [250,160] positioned [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div#padded-containing-block> at [90,290] positioned [0+0+40 300 40+0+0] [0+0+40 160 40+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#padded-containing-block> at [90,290] positioned [0+0+40 300 40+0+0] [0+0+40 160 40+0+0] [BFC] children: not-inline
BlockContainer <div#padded-anchor> at [150,290] positioned [0+0+0 80 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#padded-target> at [110,295] positioned [0+0+0 160 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div#overhanging-containing-block> at [500,300] positioned [0+0+0 200 0+0+0] [0+0+0 150 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#overhanging-containing-block> at [500,300] positioned [0+0+0 200 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
BlockContainer <div#overhanging-anchor> at [400,240] positioned [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#overhanging-target> at [410,270] positioned [0+0+0 150 0+0+0] [0+0+0 105 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
Box <div#grid> at [50,480] positioned [0+0+0 300 0+0+0] [0+0+0 100 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#grid-anchor> at [100,500] positioned [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#grid-target> at [190,480] positioned [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css/content-for-marker-in-list.txt b/Tests/LibWeb/Layout/expected/css/content-for-marker-in-list.txt
index f76e8460815..9d972ab335b 100644
--- a/Tests/LibWeb/Layout/expected/css/content-for-marker-in-list.txt
+++ b/Tests/LibWeb/Layout/expected/css/content-for-marker-in-list.txt
@@ -1,13 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html#html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 112 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body#body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ol> at [48,16] [0+0+40 744 0+0+0] [16+0+0 80 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.number> at [48,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [48,16 28.6875x16] baseline: 12.796875
"one"
@@ -19,8 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.bullet> at [48,32] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,32 43.28125x16] baseline: 12.796875
"bullet"
@@ -29,8 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,48] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.number> at [48,48] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [48,48 42.421875x16] baseline: 12.796875
"three"
@@ -42,8 +32,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.bullet> at [48,64] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,64 43.28125x16] baseline: 12.796875
"bullet"
@@ -52,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,80] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.number> at [48,80] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [48,80 27.921875x16] baseline: 12.796875
"five"
@@ -65,10 +51,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,96] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML>#html [0,0 800x112] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css/content-for-marker.txt b/Tests/LibWeb/Layout/expected/css/content-for-marker.txt
index dfdc034e822..f1e39404bba 100644
--- a/Tests/LibWeb/Layout/expected/css/content-for-marker.txt
+++ b/Tests/LibWeb/Layout/expected/css/content-for-marker.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html#html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 96 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body#body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div.numbers> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 28.6875x16] baseline: 12.796875
"one"
@@ -16,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div.bullets> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [8,24 43.28125x16] baseline: 12.796875
"bullet"
@@ -26,8 +20,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div.numbers> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,40 42.421875x16] baseline: 12.796875
"three"
@@ -39,8 +31,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div.bullets> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [8,56 43.28125x16] baseline: 12.796875
"bullet"
@@ -49,8 +39,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div.numbers> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,72 27.921875x16] baseline: 12.796875
"five"
@@ -62,8 +50,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML>#html [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css/counters-on-pseudo-elements.txt b/Tests/LibWeb/Layout/expected/css/counters-on-pseudo-elements.txt
index 03be75465a9..268e71150b6 100644
--- a/Tests/LibWeb/Layout/expected/css/counters-on-pseudo-elements.txt
+++ b/Tests/LibWeb/Layout/expected/css/counters-on-pseudo-elements.txt
@@ -34,8 +34,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css/inline-size-containment-intrinsic-inline-size.txt b/Tests/LibWeb/Layout/expected/css/inline-size-containment-intrinsic-inline-size.txt
index 9cb91dc2b82..db769ccec38 100644
--- a/Tests/LibWeb/Layout/expected/css/inline-size-containment-intrinsic-inline-size.txt
+++ b/Tests/LibWeb/Layout/expected/css/inline-size-containment-intrinsic-inline-size.txt
@@ -21,13 +21,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.flex> at [8,24] flex-container(row) [0+0+0 300 0+0+484] [0+0+0 10 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [8,24] flex-item [0+0+0 100 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [8,24] [0+0+0 600 0+0+-500] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex> at [8,34] flex-container(row) [0+0+0 300 0+0+484] [0+0+0 10 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [8,34] flex-item [0+0+0 100 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [8,34] [0+0+0 600 0+0+-500] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x52] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css/nested-container-queries-in-wrapping-flex-stabilize.txt b/Tests/LibWeb/Layout/expected/css/nested-container-queries-in-wrapping-flex-stabilize.txt
index ea0434a7c2b..1c30f3f8c6d 100644
--- a/Tests/LibWeb/Layout/expected/css/nested-container-queries-in-wrapping-flex-stabilize.txt
+++ b/Tests/LibWeb/Layout/expected/css/nested-container-queries-in-wrapping-flex-stabilize.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 52 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 36 0+0+8] children: not-inline
Box <div.feed> at [8,8] flex-container(row) [0+0+0 524 0+0+260] [0+0+0 36 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.teaser> at [8,8] flex-item [0+0+0 254 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
Box <div.link> at [8,8] flex-container(column) [0+0+0 254 0+0+0] [0+0+0 36 0+0+0] [FFC] children: not-inline
BlockContainer <div.wide> at [8,8] flex-item [0+0+0 600 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
@@ -11,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 4, rect: [8,28 35.71875x16] baseline: 12.796875
"main"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.teaser> at [278,8] flex-item [0+0+0 254 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
Box <div.link> at [278,8] flex-container(column) [0+0+0 254 0+0+0] [0+0+0 36 0+0+0] [FFC] children: not-inline
BlockContainer <div.wide> at [278,8] flex-item [0+0+0 600 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
@@ -20,10 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 4, rect: [278,28 35.71875x16] baseline: 12.796875
"main"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x52] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/details-closed.txt b/Tests/LibWeb/Layout/expected/details-closed.txt
index b26bdc0689c..4cbecc68093 100644
--- a/Tests/LibWeb/Layout/expected/details-closed.txt
+++ b/Tests/LibWeb/Layout/expected/details-closed.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
BlockContainer <slot> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/details-default-summary.txt b/Tests/LibWeb/Layout/expected/details-default-summary.txt
index f745f1cd7e0..42a31641ede 100644
--- a/Tests/LibWeb/Layout/expected/details-default-summary.txt
+++ b/Tests/LibWeb/Layout/expected/details-default-summary.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
BlockContainer <slot> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/details-inline-style-context-index.txt b/Tests/LibWeb/Layout/expected/details-inline-style-context-index.txt
index ab5b896b718..cb649a14b15 100644
--- a/Tests/LibWeb/Layout/expected/details-inline-style-context-index.txt
+++ b/Tests/LibWeb/Layout/expected/details-inline-style-context-index.txt
@@ -1,9 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <details> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: not-inline
ListItemBox <summary> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ListItemMarkerBox start: 0, length: 0, rect: [8,8 13.84375x16] baseline: 12.796875
@@ -15,9 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 13, length: 4, rect: [8,24 49.734375x16] baseline: 12.796875
"PASS"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/details-open.txt b/Tests/LibWeb/Layout/expected/details-open.txt
index a5530acef2b..0f73d27e6c4 100644
--- a/Tests/LibWeb/Layout/expected/details-open.txt
+++ b/Tests/LibWeb/Layout/expected/details-open.txt
@@ -12,15 +12,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
BlockContainer <slot> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
InlineNode <span> at [8,24] [0+0+0 82.3125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 10, rect: [8,24 82.3125x16] baseline: 12.796875
"I'm a node"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/dialog-open-modal.txt b/Tests/LibWeb/Layout/expected/dialog-open-modal.txt
index 373148a71c0..bfddf6edbf5 100644
--- a/Tests/LibWeb/Layout/expected/dialog-open-modal.txt
+++ b/Tests/LibWeb/Layout/expected/dialog-open-modal.txt
@@ -1,18 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
Box <dialog#modal> at [358.84375,292] positioned flex-container(row) [339.84375+3+16 82.3125 16+3+339.84375] [273+3+16 16 16+3+273] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span> at [358.84375,292] flex-item [0+0+0 82.3125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [358.84375,292 82.3125x16] baseline: 12.796875
"I'm a node"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/dialog-open-non-modal.txt b/Tests/LibWeb/Layout/expected/dialog-open-non-modal.txt
index 6335b97c250..cdfe01590a9 100644
--- a/Tests/LibWeb/Layout/expected/dialog-open-non-modal.txt
+++ b/Tests/LibWeb/Layout/expected/dialog-open-non-modal.txt
@@ -1,14 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <dialog> at [358.84375,27] positioned [339.84375+3+16 82.3125 16+3+339.84375] [0+3+16 16 16+3+0] [BFC] children: inline
- TextNode <#text> (not painted)
InlineNode <span> at [358.84375,27] [0+0+0 82.3125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 10, rect: [358.84375,27 82.3125x16] baseline: 12.796875
"I'm a node"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/display-contents-blockification-of-flex-items.txt b/Tests/LibWeb/Layout/expected/display-contents-blockification-of-flex-items.txt
index f53c4e7a0f8..94331aad0e0 100644
--- a/Tests/LibWeb/Layout/expected/display-contents-blockification-of-flex-items.txt
+++ b/Tests/LibWeb/Layout/expected/display-contents-blockification-of-flex-items.txt
@@ -6,21 +6,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 3, length: 3, rect: [8,8 24.171875x16] baseline: 12.796875
"163"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <foo-a> at [32.171875,8] flex-item [0+0+0 58.15625 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline
Box <foo-b> at [37.171875,13] flex-container(row) [0+5+0 48.15625 0+5+0] [0+5+0 16 0+5+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [37.171875,13] flex-item [0+0+0 48.15625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
InlineNode <(anonymous)> at [37.171875,13] [0+0+0 48.15625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 9, length: 5, rect: [37.171875,13 48.15625x16] baseline: 12.796875
"Share"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/display-table-column-crash.txt b/Tests/LibWeb/Layout/expected/display-table-column-crash.txt
index 6186aae5c4b..6ce158ae06a 100644
--- a/Tests/LibWeb/Layout/expected/display-table-column-crash.txt
+++ b/Tests/LibWeb/Layout/expected/display-table-column-crash.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 0 0+0+784] [0+0+0 0 0+0+0] [BFC] children: not-inline
Box <(anonymous)> at [8,8] table-box [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [TFC] children: not-inline
BlockContainer <div#test> at [8,8] table-column-group [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
diff --git a/Tests/LibWeb/Layout/expected/display-table-inline-children.txt b/Tests/LibWeb/Layout/expected/display-table-inline-children.txt
index 5db256b62d9..e82ef36ee8f 100644
--- a/Tests/LibWeb/Layout/expected/display-table-inline-children.txt
+++ b/Tests/LibWeb/Layout/expected/display-table-inline-children.txt
@@ -1,23 +1,16 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 1208x616]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 616 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 600 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 1200 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
Box <div.aligncenter.block-image> at [8,8] table-box [0+0+0 1200 0+0+0] [0+0+0 600 0+0+0] [TFC] children: not-inline
Box <(anonymous)> at [8,8] table-row [0+0+0 1200 0+0+0] [0+0+0 600 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,8] table-cell [0+0+0 1200 0+0+0] [0+0+0 600 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
InlineNode <a> at [8,8] [0+0+0 1200 0+0+0] [0+0+0 600 0+0+0]
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 1200x600] baseline: 600
TextNode <#text> (not painted)
ImageBox <img> at [8,8] [0+0+0 1200 0+0+0] [0+0+0 600 0+0+0] children: not-inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,608] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x616] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/div_align.txt b/Tests/LibWeb/Layout/expected/div_align.txt
index aa60afe64f5..d2c52207c10 100644
--- a/Tests/LibWeb/Layout/expected/div_align.txt
+++ b/Tests/LibWeb/Layout/expected/div_align.txt
@@ -7,24 +7,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"This text and the green square are both left aligned:"
TextNode <#text> (not painted)
BlockContainer <div.square> at [28,44] [20+0+0 100 0+0+664] [20+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,164] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,164] [0+0+0 784 0+0+0] [0+0+0 136 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,164] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 49, rect: [190.65625,164 418.6875x16] baseline: 12.796875
"This text and the green square are both centered:"
TextNode <#text> (not painted)
BlockContainer <div.square> at [350,200] [20+0+0 100 0+0+664] [20+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,320] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,320] [0+0+0 784 0+0+0] [0+0+0 136 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,320] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 54, rect: [344.515625,320 447.484375x16] baseline: 12.796875
"This text and the green square are both right aligned:"
TextNode <#text> (not painted)
BlockContainer <div.square> at [672,356] [20+0+0 100 0+0+664] [20+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,476] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,476] [0+0+0 784 0+0+0] [0+0+0 136 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,476] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,476 35.5x16] baseline: 12.796875
@@ -73,8 +67,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"aligned:"
TextNode <#text> (not painted)
BlockContainer <div.square> at [28,512] [20+0+0 100 0+0+664] [20+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,632] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x632] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/div_align_nested.txt b/Tests/LibWeb/Layout/expected/div_align_nested.txt
index fcf29b04026..4f6a02683a7 100644
--- a/Tests/LibWeb/Layout/expected/div_align_nested.txt
+++ b/Tests/LibWeb/Layout/expected/div_align_nested.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"This text and the green square are both right aligned:"
TextNode <#text> (not painted)
BlockContainer <div.square> at [692,24] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,124] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,124] [0+0+0 784 0+0+0] [0+0+0 132 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,124] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: inline
frag 0 from TextNode start: 9, length: 87, rect: [8,124 711.4375x16] baseline: 12.796875
@@ -16,12 +14,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 97, length: 14, rect: [8,140 94.296875x16] baseline: 12.796875
"align="right":"
TextNode <#text> (not painted)
- BlockContainer <div.square> at [8,156] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,256] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,256] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.square> at [8,156] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x264] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/document-write-incomplete-tag.txt b/Tests/LibWeb/Layout/expected/document-write-incomplete-tag.txt
index 7c833e1eac2..99419c36951 100644
--- a/Tests/LibWeb/Layout/expected/document-write-incomplete-tag.txt
+++ b/Tests/LibWeb/Layout/expected/document-write-incomplete-tag.txt
@@ -5,20 +5,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 4, rect: [8,16 30.078125x16] baseline: 12.796875
"Well"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [8,48] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,48 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [8,80] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [8,80 59.21875x16] baseline: 12.796875
"friends!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x112] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/element-use-pseudo-element.txt b/Tests/LibWeb/Layout/expected/element-use-pseudo-element.txt
index b143bb184a9..7a14448c0d9 100644
--- a/Tests/LibWeb/Layout/expected/element-use-pseudo-element.txt
+++ b/Tests/LibWeb/Layout/expected/element-use-pseudo-element.txt
@@ -6,7 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [8,13] [0+0+0 200 0+0+0] [5+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [8,13] [0+0+0 40 0+0+160] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt b/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt
index 0e9a1aa4c0e..4cfc7fd90fc 100644
--- a/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt
+++ b/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 72 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 56 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: inline
frag 0 from TextInputBox start: 0, length: 0, rect: [13,47 159.6875x14] baseline: 13.984375
@@ -17,7 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 5 from TextNode start: 0, length: 1, rect: [529.0625,45 8x16] baseline: 12.796875
" "
frag 6 from TextAreaBox start: 0, length: 0, rect: [540.0625,27 159.6875x28] baseline: 34
- TextNode <#text> (not painted)
TextInputBox <input> at [13,47] inline-block [0+2+3 159.6875 3+2+0] [0+2+1 14 1+2+0] [BFC] children: not-inline
Box <div> at [13,47] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [13,47] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/empty-list-items.txt b/Tests/LibWeb/Layout/expected/empty-list-items.txt
index 8eb95930ca9..986dc611cda 100644
--- a/Tests/LibWeb/Layout/expected/empty-list-items.txt
+++ b/Tests/LibWeb/Layout/expected/empty-list-items.txt
@@ -17,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [27,48 21.4375x16] baseline: 12.796875
"3. "
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x80] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/empty-pseudo-element-content.txt b/Tests/LibWeb/Layout/expected/empty-pseudo-element-content.txt
index 9aecd9fc868..c5633c3dbde 100644
--- a/Tests/LibWeb/Layout/expected/empty-pseudo-element-content.txt
+++ b/Tests/LibWeb/Layout/expected/empty-pseudo-element-content.txt
@@ -7,16 +7,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
InlineNode <(anonymous)> at [8,8] [0+2+5 0 5+2+0] [0+2+5 0 5+2+0]
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.inline-block> at [8,28] [0+0+0 784 0+0+0] [0+0+0 24 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,28 20x20] baseline: 20
frag 1 from TextNode start: 0, length: 12, rect: [28,32 110.609375x20] baseline: 16
"inline-block"
BlockContainer <(anonymous)> at [8,28] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt b/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt
index 358f09d6ee5..5bc2539b0a6 100644
--- a/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt
+++ b/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt
@@ -10,7 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"abc"
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <input> at [13,57] inline-block [0+2+3 20.796875 3+2+0] [0+2+1 40 1+2+0] [BFC] children: not-inline
Box <div> at [13,57] flex-container(row) [0+0+0 20.796875 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [13,71] flex-item [0+0+0 20.796875 0+0+0] [0+0+0 12 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/fieldset-legend-variations.txt b/Tests/LibWeb/Layout/expected/fieldset-legend-variations.txt
index 818e080f7aa..c1373fbfd1b 100644
--- a/Tests/LibWeb/Layout/expected/fieldset-legend-variations.txt
+++ b/Tests/LibWeb/Layout/expected/fieldset-legend-variations.txt
@@ -7,114 +7,60 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Default"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,24] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,24] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,24] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [10,24] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [10,24 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,40] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [8,58] [0+0+0 784 0+0+0] [0+0+0 32 0+0+16] [BFC] children: not-inline
LegendBox <legend> at [8,58] [0+0+0 82.703125 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [8,58 82.703125x16] baseline: 12.796875
"No border"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,74] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,74] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,74] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [8,74] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [8,74 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,90] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,106] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [13,111] [0+5+0 774 0+5+0] [0+5+0 27 0+5+16] [BFC] children: not-inline
LegendBox <legend> at [13,106] [0+0+0 104.828125 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [13,106 104.828125x16] baseline: 12.796875
"Thick border"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [13,122] [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [13,122] [0+0+0 774 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [13,122] [0+0+0 774 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [13,122] [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [13,122 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [13,138] [0+0+0 774 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,159] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,161] [0+2+0 780 0+2+0] [0+2+0 50 0+2+16] [BFC] children: not-inline
LegendBox <legend> at [20,169] [0+0+10 84.8125 10+0+0] [0+0+10 16 10+0+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [20,169 84.8125x16] baseline: 12.796875
"Tall legend"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,195] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,195] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,195] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [10,195] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [10,195 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,211] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,229] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [28,249] [0+20+0 744 0+20+0] [0+20+0 16 0+20+16] [BFC] children: not-inline
LegendBox <legend> at [28,231] [0+0+0 202.90625 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [28,231 202.90625x16] baseline: 12.796875
"Thin legend, thick border"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [28,249] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [28,249] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [28,249] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [28,249] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [28,249 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [28,265] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,301] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,303] [0+2+0 780 0+2+0] [0+2+0 46 0+2+16] [BFC] children: not-inline
LegendBox <legend> at [18,309] [8+0+0 61.015625 0+0+8] [8+0+0 16 0+0+8] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [18,309 61.015625x16] baseline: 12.796875
"Margins"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,333] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,333] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,333] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [10,333] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [10,333 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,349] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,367] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,369] [0+2+0 50 0+2+730] [0+2+0 78 0+2+16] [BFC] children: not-inline
LegendBox <legend> at [10,367] [0+0+0 50 0+0+0] [0+0+0 64 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [10,367 38.390625x16] baseline: 12.796875
@@ -127,122 +73,64 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"here"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,431] [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,431] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,431] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [10,431] [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [10,431 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,447] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,465] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,467] [0+2+0 780 0+2+0] [0+2+0 30 0+2+16] [BFC] children: not-inline
LegendBox <legend> at [10,465] [0+0+0 200 0+0+580] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [10,465 91.1875x16] baseline: 12.796875
"Fixed width"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,481] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,481] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,481] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [10,481] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [10,481 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,497] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,515] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [30,537] [0+2+20 740 20+2+0] [0+2+20 30 20+2+16] [BFC] children: not-inline
LegendBox <legend> at [30,515] [0+0+0 117.90625 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [30,515 117.90625x16] baseline: 12.796875
"Padded fieldset"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [30,551] [0+0+0 740 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [30,551] [0+0+0 740 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [30,551] [0+0+0 740 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [30,551] [0+0+0 740 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [30,551 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [30,567] [0+0+0 740 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,605] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,607] [0+2+0 780 0+2+0] [0+2+0 16 0+2+16] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,607] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- LegendBox <legend> at [10,607] floating [0+0+0 59.921875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 7, rect: [10,607 59.921875x16] baseline: 12.796875
- "Floated"
- TextNode <#text> (not painted)
+ LegendBox <legend> at [10,607] floating [0+0+0 59.921875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 7, rect: [10,607 59.921875x16] baseline: 12.796875
+ "Floated"
TextNode <#text> (not painted)
BlockContainer <p> at [10,607] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [69.921875,607 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,623] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,641] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,643] positioned [0+2+0 780 0+2+0] [0+2+0 16 0+2+16] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,643] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- LegendBox <legend> at [10,643] positioned [0+0+0 73.015625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 8, rect: [10,643 73.015625x16] baseline: 12.796875
- "Absolute"
- TextNode <#text> (not painted)
+ LegendBox <legend> at [10,643] positioned [0+0+0 73.015625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 8, rect: [10,643 73.015625x16] baseline: 12.796875
+ "Absolute"
TextNode <#text> (not painted)
BlockContainer <p> at [10,643] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [10,643 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,659] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,677] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,679] [0+2+0 780 0+2+0] [0+2+0 30 0+2+16] [BFC] children: not-inline
LegendBox <legend> at [10,677] [0+0+0 134.5 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [10,677 134.5x16] baseline: 12.796875
"After paragraph"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,693] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,693] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [10,693] [0+0+0 780 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [10,693 99.546875x16] baseline: 12.796875
"Not a legend"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,709] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,709] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,727] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
FieldSetBox <fieldset> at [10,729] [0+2+0 780 0+2+0] [0+2+0 14 0+2+16] [BFC] children: not-inline
LegendBox <legend> at [10,727] [0+0+0 113.8125 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [10,727 113.8125x16] baseline: 12.796875
"Overflow auto"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [10,743] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,743] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,743] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,761] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x761] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/fieldset-with-rendered-legend.txt b/Tests/LibWeb/Layout/expected/fieldset-with-rendered-legend.txt
index 85723669802..1be9db593bf 100644
--- a/Tests/LibWeb/Layout/expected/fieldset-with-rendered-legend.txt
+++ b/Tests/LibWeb/Layout/expected/fieldset-with-rendered-legend.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"login"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [24,29.59375] [0+0+0 752 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,41.59375] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x49.59375] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/first-available-font-can-lack-space-glyph.txt b/Tests/LibWeb/Layout/expected/first-available-font-can-lack-space-glyph.txt
index 4abeec0f21f..c8e01da413a 100644
--- a/Tests/LibWeb/Layout/expected/first-available-font-can-lack-space-glyph.txt
+++ b/Tests/LibWeb/Layout/expected/first-available-font-can-lack-space-glyph.txt
@@ -1,31 +1,18 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 74.03125 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 74.03125 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#test> at [0,0] [0+0+0 800 0+0+0] [0+0+0 20 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,0 16x20] baseline: 16
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#fallback> at [0,20] [0+0+0 800 0+0+0] [0+0+0 27.015625 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,20 17.828125x27] baseline: 21.265625
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,47.015625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#subset> at [0,47.015625] [0+0+0 800 0+0+0] [0+0+0 27.015625 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,47.015625 16x27] baseline: 21.265625
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,74.03125] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x74.03125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-abspos-item-with-preceding-whitespace.txt b/Tests/LibWeb/Layout/expected/flex-abspos-item-with-preceding-whitespace.txt
index fe91e364f05..2b1eaf2a1e3 100644
--- a/Tests/LibWeb/Layout/expected/flex-abspos-item-with-preceding-whitespace.txt
+++ b/Tests/LibWeb/Layout/expected/flex-abspos-item-with-preceding-whitespace.txt
@@ -2,10 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [10,10] [0+10+0 780 0+10+0] [0+10+0 56 0+10+0] [BFC] children: not-inline
BlockContainer <body> at [28,28] [8+10+0 744 0+10+8] [8+10+0 20 0+10+8] children: not-inline
Box <div.pink> at [38,38] flex-container(row) [0+10+0 724 0+10+0] [0+10+0 0 0+10+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.orange> at [48,-12] positioned [0+10+0 100 0+10+0] [0+10+0 100 0+10+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.orange> at [48,-12] positioned [0+10+0 100 0+10+0] [0+10+0 100 0+10+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [10,10 780x56] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-auto.txt b/Tests/LibWeb/Layout/expected/flex-auto.txt
index 693111a4905..57857a3731f 100644
--- a/Tests/LibWeb/Layout/expected/flex-auto.txt
+++ b/Tests/LibWeb/Layout/expected/flex-auto.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 500 0+1+282] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 164.671875 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [176.671875,10] flex-item [0+1+0 164.65625 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [176.671875,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [343.328125,10] flex-item [0+1+0 164.671875 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [343.328125,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-baseline-alignment.txt b/Tests/LibWeb/Layout/expected/flex-baseline-alignment.txt
index 925d32da258..e3579bae6b0 100644
--- a/Tests/LibWeb/Layout/expected/flex-baseline-alignment.txt
+++ b/Tests/LibWeb/Layout/expected/flex-baseline-alignment.txt
@@ -3,20 +3,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
frag 0 from Box start: 0, length: 0, rect: [8,8 23.671875x20] baseline: 16
Box <div.flex> at [8,8] flex-container(row) [0+0+0 23.671875 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.tall> at [8,8] flex-item [0+0+0 17.828125 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 17.828125x20] baseline: 16
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.short> at [25.828125,16] flex-item [0+0+0 5.84375 0+0+0] [0+0+0 10 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [25.828125,16 5.84375x10] baseline: 8
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-baseline-block-overflow-hidden.txt b/Tests/LibWeb/Layout/expected/flex-baseline-block-overflow-hidden.txt
index e6e9cda1c4a..97ec48a2717 100644
--- a/Tests/LibWeb/Layout/expected/flex-baseline-block-overflow-hidden.txt
+++ b/Tests/LibWeb/Layout/expected/flex-baseline-block-overflow-hidden.txt
@@ -2,41 +2,21 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 136 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 120 0+0+8] children: not-inline
Box <div.row> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 24 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.icon> at [8,8.796875] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.text> at [24,8] flex-item [0+0+0 64 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [24,12 64x16] baseline: 12.796875
"Text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,32] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row> at [8,32] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.icon> at [8,32.796875] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.text> at [24,32] flex-item [0+0+0 64 0+0+0] [0+0+0 48 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [24,36 64x16] baseline: 12.796875
"Text"
frag 1 from TextNode start: 5, length: 4, rect: [24,60 64x16] baseline: 12.796875
"Text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row> at [8,80] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <span.icon> at [8,80.796875] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.text> at [24,80] flex-item [0+0+0 64 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <p> at [24,80] [0+0+0 64 0+0+0] [0+0+0 24 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [24,84 64x16] baseline: 12.796875
@@ -46,10 +26,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 4, rect: [24,108 64x16] baseline: 12.796875
"Text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x136] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-constained-wrap.txt b/Tests/LibWeb/Layout/expected/flex-column-constained-wrap.txt
index afcdc65bfb9..f348277c1d8 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-constained-wrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-constained-wrap.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
Box <div.container.column> at [9,9] flex-container(column) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,112] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,112 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [135,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [135,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-constrained-nowrap.txt b/Tests/LibWeb/Layout/expected/flex-column-constrained-nowrap.txt
index 740d30a9c67..1fe6d594b09 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-constrained-nowrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-constrained-nowrap.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
Box <div.container.column> at [9,9] flex-container(column) [0+1+0 782 0+1+0] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 81.328125 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,93.328125] flex-item [0+1+0 100 0+1+0] [0+1+0 81.34375 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,93.328125 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,176.671875] flex-item [0+1+0 100 0+1+0] [0+1+0 81.328125 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,176.671875 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-height-constrained-width-constrained.txt b/Tests/LibWeb/Layout/expected/flex-column-height-constrained-width-constrained.txt
index bb710db54e1..c788203de1a 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-height-constrained-width-constrained.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-height-constrained-width-constrained.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
Box <div.container.column> at [9,9] flex-container(column) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 81.328125 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,93.328125] flex-item [0+1+0 100 0+1+0] [0+1+0 81.34375 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,93.328125 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,176.671875] flex-item [0+1+0 100 0+1+0] [0+1+0 81.328125 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,176.671875 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-height-constrained.txt b/Tests/LibWeb/Layout/expected/flex-column-height-constrained.txt
index 37fbc9718a7..e8b4489f665 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-height-constrained.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-height-constrained.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(column) [0+1+0 782 0+1+0] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 81.328125 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,93.328125] flex-item [0+1+0 100 0+1+0] [0+1+0 81.34375 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,93.328125 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,176.671875] flex-item [0+1+0 100 0+1+0] [0+1+0 81.328125 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,176.671875 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-height-unconstrained.txt b/Tests/LibWeb/Layout/expected/flex-column-height-unconstrained.txt
index 3249ac67d41..2047525621e 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-height-unconstrained.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-height-unconstrained.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 324 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 308 0+0+8] children: not-inline
Box <div.my-container.column> at [9,9] flex-container(column) [0+1+0 782 0+1+0] [0+1+0 306 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,112] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,112 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,214] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,214 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,316] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x324] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-image-height-intrinsic-width.txt b/Tests/LibWeb/Layout/expected/flex-column-image-height-intrinsic-width.txt
index 69821187b67..3919ded3cbf 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-image-height-intrinsic-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-image-height-intrinsic-width.txt
@@ -2,18 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
Box <div.row> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.column> at [8,8] flex-container(column) flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,8] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-on-auto-width.txt b/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-on-auto-width.txt
index 2d456167aa6..67dc1161e95 100644
--- a/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-on-auto-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex-column-item-with-auto-height-depending-on-auto-width.txt
@@ -13,8 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 4 from TextNode start: 37, length: 11, rect: [11,331 468.75x80] baseline: 63.984375
"background."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x420] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-container-constrained-nowrap.txt b/Tests/LibWeb/Layout/expected/flex-container-constrained-nowrap.txt
index e459a37bee6..420cb1516e1 100644
--- a/Tests/LibWeb/Layout/expected/flex-container-constrained-nowrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex-container-constrained-nowrap.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 250 0+1+532] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 81.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [93.328125,10] flex-item [0+1+0 81.34375 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [93.328125,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [176.671875,10] flex-item [0+1+0 81.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [176.671875,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-container-constrained-wrap.txt b/Tests/LibWeb/Layout/expected/flex-container-constrained-wrap.txt
index b2db4966104..e781b8bbbc4 100644
--- a/Tests/LibWeb/Layout/expected/flex-container-constrained-wrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex-container-constrained-wrap.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 222 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 206 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 250 0+1+532] [0+1+0 204 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [112,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,112] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,112 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,214] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x222] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-container-width-constrained.txt b/Tests/LibWeb/Layout/expected/flex-container-width-constrained.txt
index 69b8b6543f8..a4ac65ce5b3 100644
--- a/Tests/LibWeb/Layout/expected/flex-container-width-constrained.txt
+++ b/Tests/LibWeb/Layout/expected/flex-container-width-constrained.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container.width-constrained> at [9,9] flex-container(row) [0+1+0 250 0+1+532] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 81.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [93.328125,10] flex-item [0+1+0 81.34375 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [93.328125,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [176.671875,10] flex-item [0+1+0 81.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [176.671875,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-grow-0-column.txt b/Tests/LibWeb/Layout/expected/flex-grow-0-column.txt
index 42e9e22e0dd..117f3b1c060 100644
--- a/Tests/LibWeb/Layout/expected/flex-grow-0-column.txt
+++ b/Tests/LibWeb/Layout/expected/flex-grow-0-column.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 72 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 56 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(column) [0+1+0 500 0+1+282] [0+1+0 54 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,28] flex-item [0+1+0 100 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,28 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,46] flex-item [0+1+0 100 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,46 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,64] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x72] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-grow-1.txt b/Tests/LibWeb/Layout/expected/flex-grow-1.txt
index 5c7fb2dc257..fe73c90d7d9 100644
--- a/Tests/LibWeb/Layout/expected/flex-grow-1.txt
+++ b/Tests/LibWeb/Layout/expected/flex-grow-1.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 500 0+1+282] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 229.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 17, rect: [10,10 144.546875x16] baseline: 12.796875
"1 I grow the most"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [241.328125,10] flex-item [0+1+0 164.671875 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [241.328125,10 67.375x16] baseline: 12.796875
"2 I grow"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [408,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [408,10 68x16] baseline: 12.796875
"3 I don't"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-grow-2.txt b/Tests/LibWeb/Layout/expected/flex-grow-2.txt
index 4417e7dbf6f..e4d1defe8f4 100644
--- a/Tests/LibWeb/Layout/expected/flex-grow-2.txt
+++ b/Tests/LibWeb/Layout/expected/flex-grow-2.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 500 0+1+282] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 82.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [94.328125,10] flex-item [0+1+0 164.671875 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [94.328125,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [261,10] flex-item [0+1+0 247 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [261,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-aspect-ratio-explicit-size.txt b/Tests/LibWeb/Layout/expected/flex-item-aspect-ratio-explicit-size.txt
index 970e71517c7..f4d4eb028fd 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-aspect-ratio-explicit-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-aspect-ratio-explicit-size.txt
@@ -2,45 +2,27 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 416 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 416 0+0+0] children: not-inline
Box <div.container> at [1,1] flex-container(row) [0+1+0 500 0+1+298] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,2] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,2 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [104,2] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [104,2 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [206,2] flex-item [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [206,2 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,104] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [1,115] flex-container(column) [0+1+0 798 0+1+0] [10+1+0 300 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,116] flex-item [0+1+0 796 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,116 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,218] flex-item [0+1+0 796 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,218 11.859375x16] baseline: 12.796875
"E"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,416] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x416] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-auto-basis-content-minimum.txt b/Tests/LibWeb/Layout/expected/flex-item-auto-basis-content-minimum.txt
index 6336ba34970..e9dece71043 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-auto-basis-content-minimum.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-auto-basis-content-minimum.txt
@@ -2,58 +2,30 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 114 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 114 0+0+0] children: not-inline
Box <div.container> at [1,1] flex-container(row) [0+1+0 500 0+1+298] [0+1+0 18 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,2] flex-item [0+1+0 50 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 24, rect: [2,2 222.6875x16] baseline: 12.796875
"LongWordThatExceedsWidth"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [54,2] flex-item [0+1+0 100 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [54,2 47.3125x16] baseline: 12.796875
"Short"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [1,31] flex-container(row) [0+1+0 500 0+1+298] [10+1+0 52 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,32] flex-item [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [2,32] [0+0+0 150 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [2,32] [0+0+0 150 0+0+0] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [2,62] [0+0+0 150 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [154,32] flex-item [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [154,32 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,84] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [1,95] flex-container(row) [0+1+0 500 0+1+298] [10+1+0 18 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,96] flex-item [0+1+0 165.328125 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [2,96 49.546875x16] baseline: 12.796875
"Flex 1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [169.328125,96] flex-item [0+1+0 330.671875 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [169.328125,96 52.015625x16] baseline: 12.796875
"Flex 2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,114] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x114] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-auto-height-with-wrap.txt b/Tests/LibWeb/Layout/expected/flex-item-auto-height-with-wrap.txt
index 40e1538e967..f00d93ec0b7 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-auto-height-with-wrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-auto-height-with-wrap.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 40, rect: [8,8 348.609375x16] baseline: 12.796875
"The orange box should have a snug height"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt b/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt
index d9d3f321678..686a81d45e7 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"3"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-definite-basis-explicit-size.txt b/Tests/LibWeb/Layout/expected/flex-item-definite-basis-explicit-size.txt
index 800c0795eb4..2121d7e87f7 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-definite-basis-explicit-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-definite-basis-explicit-size.txt
@@ -2,62 +2,36 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 430 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 430 0+0+0] children: not-inline
Box <div.container> at [1,1] flex-container(row) [0+1+0 500 0+1+298] [0+1+0 52 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,2] flex-item [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,2 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [104,2] flex-item [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [104,2 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [256,2] flex-item [0+1+0 80 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [256,2 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,54] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [1,65] flex-container(row) [0+1+0 500 0+1+298] [10+1+0 52 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,66] flex-item [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,66 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [104,66] flex-item [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [104,66 11.859375x16] baseline: 12.796875
"E"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,118] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [1,129] flex-container(column) [0+1+0 798 0+1+0] [10+1+0 300 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,130] flex-item [0+1+0 50 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,130 12.546875x16] baseline: 12.796875
"F"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,232] flex-item [0+1+0 50 0+1+0] [0+1+0 80 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [2,232 13.234375x16] baseline: 12.796875
"G"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,430] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x430] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt b/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt
index 3560296db2f..53dcc18cc07 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt
@@ -7,16 +7,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [13.953125,8 8.078125x14] baseline: 10.984375
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.ca> at [8,208] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
Box <button#b2> at [8,208] flex-container(row) flex-item [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
BlockContainer <div.b> at [8,208] flex-item [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [13.953125,208 8.078125x14] baseline: 10.984375
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x296] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt b/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt
index 4a15d829c63..eb88a00fcbd 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [13.953125,41 8.078125x14] baseline: 10.984375
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.ca> at [8,208] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
BlockContainer <button#b2> at [8,208] flex-item [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,208] flex-container(column) [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
@@ -19,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [13.953125,241 8.078125x14] baseline: 10.984375
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x296] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-scroll-container.txt b/Tests/LibWeb/Layout/expected/flex-item-scroll-container.txt
index 817f45f2c9a..8449986f31d 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-scroll-container.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-scroll-container.txt
@@ -2,59 +2,39 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 178 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 178 0+0+0] children: not-inline
Box <div.container> at [1,1] flex-container(row) [0+1+0 500 0+1+298] [0+1+0 82 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,2] flex-item [0+1+0 100 0+1+0] [0+1+0 80 0+1+0] [BFC] children: not-inline overflow: [2,2 200x200]
BlockContainer <div> at [2,2] [0+0+0 200 0+0+-100] [0+0+0 200 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [2,2 149.1875x16] baseline: 12.796875
"Scrollable content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [104,2] flex-item [0+1+0 100 0+1+0] [0+1+0 80 0+1+0] [BFC] children: not-inline overflow: [104,2 200x200]
BlockContainer <div> at [104,2] [0+0+0 200 0+0+-100] [0+0+0 200 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [104,2 149.1875x16] baseline: 12.796875
"Scrollable content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [206,2] flex-item [0+1+0 100 0+1+0] [0+1+0 80 0+1+0] [BFC] children: not-inline overflow: [206,2 200x200]
BlockContainer <div> at [206,2] [0+0+0 200 0+0+-100] [0+0+0 200 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [206,2 127.203125x16] baseline: 12.796875
"Hidden overflow"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,84] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [1,95] flex-container(row) [0+1+0 500 0+1+298] [10+1+0 82 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [2,96] flex-item [0+1+0 100 0+1+0] [0+1+0 80 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [2,96 62.140625x16] baseline: 12.796875
"Regular"
frag 1 from TextNode start: 8, length: 4, rect: [2,112 32.34375x16] baseline: 12.796875
"item"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [104,96] flex-item [0+1+0 100 0+1+0] [0+1+0 80 0+1+0] [BFC] children: not-inline overflow: [104,96 200x80]
BlockContainer <div> at [104,96] [0+0+0 200 0+0+-100] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [104,96 80.28125x16] baseline: 12.796875
"Scrollable"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [206,96] flex-item [0+1+0 100 0+1+0] [0+1+0 80 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [206,96 62.140625x16] baseline: 12.796875
"Regular"
frag 1 from TextNode start: 8, length: 4, rect: [206,112 32.34375x16] baseline: 12.796875
"item"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,178] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x178] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-item-vertical-padding-relative-to-flex-container-width.txt b/Tests/LibWeb/Layout/expected/flex-item-vertical-padding-relative-to-flex-container-width.txt
index 352c5c18b95..7fa5deb3ca1 100644
--- a/Tests/LibWeb/Layout/expected/flex-item-vertical-padding-relative-to-flex-container-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex-item-vertical-padding-relative-to-flex-container-width.txt
@@ -1,17 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 30 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 12 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex-container> at [11,11] flex-container(row) [0+1+0 600 0+1+178] [0+1+0 10 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.flex-item> at [12,72] flex-item [0+1+0 27.15625 0+1+0] [0+1+60 18 120+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,72 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x30] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-justify-end-gap.txt b/Tests/LibWeb/Layout/expected/flex-justify-end-gap.txt
index affdb156ccd..1b6a3d16c2d 100644
--- a/Tests/LibWeb/Layout/expected/flex-justify-end-gap.txt
+++ b/Tests/LibWeb/Layout/expected/flex-justify-end-gap.txt
@@ -2,34 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 474 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 458 0+0+8] children: not-inline
Box <div.container.col> at [10,10] flex-container(column) [0+2+0 50 0+2+730] [0+2+0 400 0+2+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [10,160] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [10,260] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [10,360] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,412] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container.row> at [10,414] flex-container(row) [0+2+0 400 0+2+380] [0+2+0 50 0+2+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [160,414] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [260,414] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [360,414] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,466] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x474] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-margin-auto-justify-content.txt b/Tests/LibWeb/Layout/expected/flex-margin-auto-justify-content.txt
index 03d242329ef..59abad21440 100644
--- a/Tests/LibWeb/Layout/expected/flex-margin-auto-justify-content.txt
+++ b/Tests/LibWeb/Layout/expected/flex-margin-auto-justify-content.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 17, rect: [458,10 138.296875x16] baseline: 12.796875
"over at the right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,62] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-row.txt b/Tests/LibWeb/Layout/expected/flex-row.txt
index 75f02801447..41f3f15e1b2 100644
--- a/Tests/LibWeb/Layout/expected/flex-row.txt
+++ b/Tests/LibWeb/Layout/expected/flex-row.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 782 0+1+0] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [112,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [214,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [214,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-shrink-1.txt b/Tests/LibWeb/Layout/expected/flex-shrink-1.txt
index 0e2dbd6e6e4..a75bc5a07db 100644
--- a/Tests/LibWeb/Layout/expected/flex-shrink-1.txt
+++ b/Tests/LibWeb/Layout/expected/flex-shrink-1.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 250 0+1+532] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 62.671875 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [10,10 18.9375x16] baseline: 12.796875
"1 I"
@@ -14,22 +12,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 15, length: 4, rect: [10,58 38.765625x16] baseline: 12.796875
"most"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [74.671875,10] flex-item [0+1+0 81.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [74.671875,10 78.765625x16] baseline: 12.796875
"2 I shrink"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [158,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [158,10 68x16] baseline: 12.796875
"3 I don't"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-shrink-2.txt b/Tests/LibWeb/Layout/expected/flex-shrink-2.txt
index 246780626c7..c75860d1ff1 100644
--- a/Tests/LibWeb/Layout/expected/flex-shrink-2.txt
+++ b/Tests/LibWeb/Layout/expected/flex-shrink-2.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 500 0+1+282] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 47 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [59,10] flex-item [0+1+0 164.671875 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [59,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [225.671875,10] flex-item [0+1+0 282.328125 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [225.671875,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex-shrink-3.txt b/Tests/LibWeb/Layout/expected/flex-shrink-3.txt
index ae34f926060..4903ee8811f 100644
--- a/Tests/LibWeb/Layout/expected/flex-shrink-3.txt
+++ b/Tests/LibWeb/Layout/expected/flex-shrink-3.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row) [0+1+0 500 0+1+282] [0+1+0 102 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [112,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [214,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [214,10 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-align-items.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-align-items.txt
index d0beef70f8c..4c556071cca 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-align-items.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-align-items.txt
@@ -1,71 +1,51 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [10,10] [0+10+0 780 0+10+0] [0+10+0 546 0+10+0] [BFC] children: not-inline
Box <body> at [28,28] flex-container(row) [8+10+0 744 0+10+8] [8+10+0 510 0+10+8] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.normal> at [38,38] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [48,48] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,48 54.578125x16] baseline: 12.796875
"normal"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.stretch> at [208,38] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [218,48] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [218,48 58.796875x16] baseline: 12.796875
"stretch"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.start> at [378,38] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [388,48] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [388,48 41.234375x16] baseline: 12.796875
"start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.flex-start> at [548,38] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [558,48] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [558,48 76.8125x16] baseline: 12.796875
"flex-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.end> at [38,208] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [48,298] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [48,298 26.1875x16] baseline: 12.796875
"end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.flex-end> at [208,208] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [218,298] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [218,298 61.765625x16] baseline: 12.796875
"flex-end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.center> at [378,208] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [388,258] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [388,258 51.625x16] baseline: 12.796875
"center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.self-start> at [548,208] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [558,218] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [558,218 76.453125x16] baseline: 12.796875
"self-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer.self-end> at [38,378] flex-container(row) flex-item [0+10+0 150 0+10+0] [0+10+0 150 0+10+0] [FFC] children: not-inline
BlockContainer <div> at [48,468] positioned [0+10+0 150 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [48,468 61.40625x16] baseline: 12.796875
"self-end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [10,10 780x546] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-justify-content.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-justify-content.txt
index 469ec1775b3..741fba737d6 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-justify-content.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-static-position-with-justify-content.txt
@@ -1,288 +1,206 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x2500]
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 2498 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 2480 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.start> at [11,11] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,12] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,12 41.234375x16] baseline: 12.796875
"start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,72] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.flex-start> at [11,73] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,74] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [12,74 76.8125x16] baseline: 12.796875
"flex-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,134] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.end> at [11,135] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,136] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [160,136 26.1875x16] baseline: 12.796875
"end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,196] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.flex-end> at [11,197] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,198] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [160,198 61.765625x16] baseline: 12.796875
"flex-end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,258] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.center> at [11,259] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [86,260] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [86,260 51.625x16] baseline: 12.796875
"center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,320] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.space-around> at [11,321] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [86,322] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [86,322 107.96875x16] baseline: 12.796875
"space-around"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,382] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.space-between> at [11,383] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,384] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [12,384 115.515625x16] baseline: 12.796875
"space-between"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,444] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.space-evenly> at [11,445] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [86,446] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [86,446 98.859375x16] baseline: 12.796875
"space-evenly"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,506] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.left> at [11,507] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,508] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,508 26.25x16] baseline: 12.796875
"left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,568] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.right> at [11,569] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,570] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [160,570 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,630] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.start> at [11,631] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,632] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,632 41.234375x16] baseline: 12.796875
"start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,692] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.flex-start> at [11,693] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,694] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [160,694 76.8125x16] baseline: 12.796875
"flex-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,754] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.end> at [11,755] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,756] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [160,756 26.1875x16] baseline: 12.796875
"end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,816] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.flex-end> at [11,817] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,818] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [12,818 61.765625x16] baseline: 12.796875
"flex-end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,878] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.center> at [11,879] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [86,880] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [86,880 51.625x16] baseline: 12.796875
"center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,940] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.space-around> at [11,941] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [86,942] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [86,942 107.96875x16] baseline: 12.796875
"space-around"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1002] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.space-between> at [11,1003] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,1004] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [160,1004 115.515625x16] baseline: 12.796875
"space-between"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1064] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.space-evenly> at [11,1065] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [86,1066] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [86,1066 98.859375x16] baseline: 12.796875
"space-evenly"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1126] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.left> at [11,1127] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1128] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,1128 26.25x16] baseline: 12.796875
"left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1188] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.right> at [11,1189] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [160,1190] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [160,1190 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1250] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.start> at [11,1251] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1252] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,1252 41.234375x16] baseline: 12.796875
"start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1312] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.flex-start> at [11,1313] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1314] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [12,1314 76.8125x16] baseline: 12.796875
"flex-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1374] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.end> at [11,1375] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1384] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,1384 26.1875x16] baseline: 12.796875
"end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1436] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.flex-end> at [11,1437] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1446] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [12,1446 61.765625x16] baseline: 12.796875
"flex-end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1498] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.center> at [11,1499] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1504] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,1504 51.625x16] baseline: 12.796875
"center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1560] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.space-around> at [11,1561] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1566] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [12,1566 107.96875x16] baseline: 12.796875
"space-around"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1622] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.space-between> at [11,1623] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1624] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [12,1624 115.515625x16] baseline: 12.796875
"space-between"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1684] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.space-evenly> at [11,1685] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1690] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [12,1690 98.859375x16] baseline: 12.796875
"space-evenly"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1746] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.left> at [11,1747] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1748] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,1748 26.25x16] baseline: 12.796875
"left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1808] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.right> at [11,1809] flex-container(column) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1810] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,1810 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1870] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.start> at [11,1871] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1872] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,1872 41.234375x16] baseline: 12.796875
"start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1932] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.flex-start> at [11,1933] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1942] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [12,1942 76.8125x16] baseline: 12.796875
"flex-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1994] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.end> at [11,1995] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2004] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,2004 26.1875x16] baseline: 12.796875
"end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2056] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.flex-end> at [11,2057] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2058] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [12,2058 61.765625x16] baseline: 12.796875
"flex-end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2118] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.center> at [11,2119] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2124] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,2124 51.625x16] baseline: 12.796875
"center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2180] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.space-around> at [11,2181] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2186] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [12,2186 107.96875x16] baseline: 12.796875
"space-around"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2242] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.space-between> at [11,2243] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2252] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [12,2252 115.515625x16] baseline: 12.796875
"space-between"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2304] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.space-evenly> at [11,2305] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2310] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [12,2310 98.859375x16] baseline: 12.796875
"space-evenly"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2366] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.left> at [11,2367] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2368] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,2368 26.25x16] baseline: 12.796875
"left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2428] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.right> at [11,2429] flex-container(column-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2430] positioned [0+1+0 150 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,2430 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2490] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x2498] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-auto-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-auto-height.txt
index 3975cc3d947..672a6323964 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-auto-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-auto-height.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
Box <body> at [8,8] positioned flex-container(row) [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] [FFC] children: not-inline
BlockContainer <div.abspos> at [8,-42] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <div.green> at [8,-42] [0+0+0 100 0+0+0] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.green> at [8,-42] [0+0+0 100 0+0+0] [0+0+0 200 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-percentage-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-percentage-height.txt
index f0f0d9def93..2b24c57f1f5 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-child-with-percentage-height.txt
@@ -1,26 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div#containing-block> at [8,8] positioned [0+0+0 200 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div#inner-flex> at [8,8] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [83,8] positioned [0+0+0 50 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [83,8] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <span> at [83,8] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [83,8] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 300 0+0+-100] [0+0+0 300 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,308] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-cross-size.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-cross-size.txt
index 732aa269843..5723abf4e2e 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-cross-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-cross-size.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(column) [0+0+0 40 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 20 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 40 0+0+-20] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-main-size.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-main-size.txt
index 4b530360f46..962056268e6 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-main-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-container-percentage-main-size.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(column) [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+150] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-mixed-height-children.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-mixed-height-children.txt
index 6814b731e22..9472d220c5f 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-mixed-height-children.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-column-mixed-height-children.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.fixed> at [0,0] flex-item [0+0+0 200 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
BlockContainer <div.pct> at [0,80] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,80] [0+0+0 50 0+0+150] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-auto-both-percentage-child.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-auto-both-percentage-child.txt
index c10e844d720..983a36e2c50 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-auto-both-percentage-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-auto-both-percentage-child.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(row) [0+0+0 60 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 30 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 60 0+0+-30] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-calc-percentage-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-calc-percentage-height.txt
index 479666bc479..1ab299450af 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-calc-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-calc-percentage-height.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(row) [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+150] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-deeply-nested-percentage-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-deeply-nested-percentage-height.txt
index a13a367183d..71ad87b5a5c 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-deeply-nested-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-deeply-nested-percentage-height.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.l2> at [0,0] [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div.l3> at [0,0] [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+150] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-explicit-height-percentage-child.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-explicit-height-percentage-child.txt
index 6c9d8e9f773..23b7e878298 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-explicit-height-percentage-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-explicit-height-percentage-child.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(row) [0+0+0 400 0+0+0] [0+0+0 120 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 400 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 200 0+0+200] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-inset-height-percentage-child.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-inset-height-percentage-child.txt
index c223857936c..169e4262bd2 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-inset-height-percentage-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-inset-height-percentage-child.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,20] positioned flex-container(row) [0+0+0 400 0+0+0] [0+0+0 160 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,20] flex-item [0+0+0 400 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,20] [0+0+0 200 0+0+200] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-min-height-percentage.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-min-height-percentage.txt
index 35dc1658001..f4bfe52a534 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-min-height-percentage.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-min-height-percentage.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+150] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-multiple-items-percentage-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-multiple-items-percentage-height.txt
index b21c60b3780..32c3da86665 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-multiple-items-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-multiple-items-percentage-height.txt
@@ -1,20 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 200 0+0+0] [BFC] children: not-inline
Box <body> at [0,0] positioned flex-container(row) [0+0+0 400 0+0+0] [0+0+0 60 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.a> at [0,0] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+50] [0+0+0 60 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [100,0] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [100,0] [0+0+0 50 0+0+50] [0+0+0 60 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [200,0] flex-item [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [200,0] [0+0+0 50 0+0+50] [0+0+0 60 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-nested-percentage-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-nested-percentage-height.txt
index 4d55fd113e6..7246e84f206 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-nested-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-nested-percentage-height.txt
@@ -1,21 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 200 0+0+0] [BFC] children: not-inline
Box <body> at [0,0] positioned flex-container(row) [0+0+0 400 0+0+0] [0+0+0 30 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.outer> at [0,0] flex-item [0+0+0 400 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.inner> at [0,0] [0+0+0 400 0+0+0] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+350] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,30] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,30] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-percentage-main-size.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-percentage-main-size.txt
index 38d570041fb..9af4c257c90 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-percentage-main-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-percentage-main-size.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(row) [0+0+0 60 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 30 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 60 0+0+-30] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-with-percentage-height-item.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-with-percentage-height-item.txt
index f62adff8b58..6e45ae44175 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-with-percentage-height-item.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-container-with-percentage-height-item.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] positioned [0+0+0 500 0+0+300] [0+0+0 300 0+0+0] [BFC] children: not-inline
Box <body> at [0,0] positioned flex-container(row) [0+0+0 500 0+0+0] [0+0+0 55 0+0+0] [FFC] children: not-inline
BlockContainer <main> at [0,0] positioned flex-item [0+0+0 500 0+0+0] [0+0+0 55 0+0+0] [BFC] children: not-inline
- BlockContainer <article> at [0,0] [0+0+0 250 0+0+250] [0+0+0 55 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <article> at [0,0] [0+0+0 250 0+0+250] [0+0+0 55 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 500x300] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-flex-row-container-percentage-cross-size.txt b/Tests/LibWeb/Layout/expected/flex/abspos-flex-row-container-percentage-cross-size.txt
index eeb3f890330..9c535dc7c16 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-flex-row-container-percentage-cross-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-flex-row-container-percentage-cross-size.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned flex-container(row) [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 200 0+0+200] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/abspos-inline-flex-container-percentage-height.txt b/Tests/LibWeb/Layout/expected/flex/abspos-inline-flex-container-percentage-height.txt
index 0d54b116ed7..1dacfc36b8e 100644
--- a/Tests/LibWeb/Layout/expected/flex/abspos-inline-flex-container-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/abspos-inline-flex-container-percentage-height.txt
@@ -1,10 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 200 0+0+0] [BFC] children: not-inline
+ BlockContainer <html> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 200 0+0+0] [BFC] children: inline
Box <body> at [0,0] positioned flex-container(row) [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
BlockContainer <div.child> at [0,0] flex-item [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+350] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/align-keywords-start-and-end.txt b/Tests/LibWeb/Layout/expected/flex/align-keywords-start-and-end.txt
index 09c9e0fe485..84fe9cda2f4 100644
--- a/Tests/LibWeb/Layout/expected/flex/align-keywords-start-and-end.txt
+++ b/Tests/LibWeb/Layout/expected/flex/align-keywords-start-and-end.txt
@@ -11,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 16, rect: [12,214 121.453125x16] baseline: 12.796875
"align-items: end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,232] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex.align-start> at [11,233] flex-container(row) [0+1+0 500 0+1+278] [0+1+0 18 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,234] flex-item [0+1+0 136.5 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [12,234 136.5x16] baseline: 12.796875
@@ -23,8 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 16, rect: [388.546875,254 121.453125x16] baseline: 12.796875
"align-items: end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,272] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x280] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/align-self-anchor-center.txt b/Tests/LibWeb/Layout/expected/flex/align-self-anchor-center.txt
index 9c2ac9af9d9..0a3381d0407 100644
--- a/Tests/LibWeb/Layout/expected/flex/align-self-anchor-center.txt
+++ b/Tests/LibWeb/Layout/expected/flex/align-self-anchor-center.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.flex> at [9,9] flex-container(row) [0+1+0 200 0+1+582] [0+1+0 100 0+1+0] [FFC] children: not-inline
BlockContainer <div.item> at [9,49] flex-item [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.item> at [59,49] flex-item [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,110] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x118] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/aspect-ratio-with-percentage-width-and-height.txt b/Tests/LibWeb/Layout/expected/flex/aspect-ratio-with-percentage-width-and-height.txt
index d255d2c86b3..31d8f385e33 100644
--- a/Tests/LibWeb/Layout/expected/flex/aspect-ratio-with-percentage-width-and-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/aspect-ratio-with-percentage-width-and-height.txt
@@ -1,26 +1,18 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 92.671875 0+0+0] [BFC] children: not-inline
Box <body> at [13,13] flex-container(row) [8+5+0 200 0+5+582] [8+5+0 66.671875 0+5+8] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [18,18] flex-item [0+5+0 56.671875 0+5+0] [0+5+0 56.671875 0+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [18,18 27.15625x16] baseline: 12.796875
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [84.671875,18] flex-item [0+5+0 56.65625 0+5+0] [0+5+0 56.65625 0+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [84.671875,18 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [151.328125,18] flex-item [0+5+0 56.671875 0+5+0] [0+5+0 56.671875 0+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [151.328125,18 27.203125x16] baseline: 12.796875
"baz"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x92.671875] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-natural-ratio-only-svg-item.txt b/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-natural-ratio-only-svg-item.txt
index f144dc7c9b8..403c8e30676 100644
--- a/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-natural-ratio-only-svg-item.txt
+++ b/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-natural-ratio-only-svg-item.txt
@@ -2,16 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 96 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
Box <div#auto-height-flex> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SVGSVGBox <svg> at [8,8] flex-item [0+0+0 60 0+0+0] [0+0+0 30 0+0+0] viewport-transform=[30 0 0 30 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [68,8] flex-item [0+0+0 50 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-percentage-min-height-through-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-percentage-min-height-through-aspect-ratio.txt
index 93badb145bc..93f3a49adbf 100644
--- a/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-percentage-min-height-through-aspect-ratio.txt
+++ b/Tests/LibWeb/Layout/expected/flex/auto-height-row-flex-with-percentage-min-height-through-aspect-ratio.txt
@@ -2,16 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 76 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 60 0+0+8] children: not-inline
Box <div#auto-height-flex> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 60 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#ratio-item> at [8,8] flex-item [0+0+0 0 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#fixed-item> at [8,8] flex-item [0+0+0 40 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,68] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x76] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/automatic-flex-block-size-is-max-content.txt b/Tests/LibWeb/Layout/expected/flex/automatic-flex-block-size-is-max-content.txt
index e7f8fe59a0b..707b9d85c99 100644
--- a/Tests/LibWeb/Layout/expected/flex/automatic-flex-block-size-is-max-content.txt
+++ b/Tests/LibWeb/Layout/expected/flex/automatic-flex-block-size-is-max-content.txt
@@ -2,11 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 241 0+0+0] [BFC] children: not-inline
Box <body> at [8,8] flex-container(column) [8+0+0 784 0+0+8] [8+0+0 225 0+0+8] [FFC] children: not-inline
BlockContainer <div.first> at [8,8] flex-item [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.second> at [8,33] flex-item [0+0+0 100 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x241] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/box-baseline-with-inline-flex-empty-child.txt b/Tests/LibWeb/Layout/expected/flex/box-baseline-with-inline-flex-empty-child.txt
index 34bebb0401d..ba642b2af2a 100644
--- a/Tests/LibWeb/Layout/expected/flex/box-baseline-with-inline-flex-empty-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/box-baseline-with-inline-flex-empty-child.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.first> at [11,11] [0+1+0 778 0+1+0] [0+1+0 25.203125 0+1+0] children: inline
frag 0 from Box start: 0, length: 0, rect: [22,22 0x0] baseline: 22
Box <span.second> at [22,22] flex-container(row) [0+1+10 0 10+1+0] [0+1+10 0 10+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x45.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt b/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt
index 9af7850c0e0..a7b118d827a 100644
--- a/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt
+++ b/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt
@@ -8,15 +8,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [388.6875,11 22.609375x14] baseline: 10.984375
"foo"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,28] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
BlockContainer <span> at [8,28] flex-item [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,28 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x52] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/definite-cross-size-overrides-preferred-aspect-ratio-contribution.txt b/Tests/LibWeb/Layout/expected/flex/definite-cross-size-overrides-preferred-aspect-ratio-contribution.txt
index f68032575b8..56d925d0532 100644
--- a/Tests/LibWeb/Layout/expected/flex/definite-cross-size-overrides-preferred-aspect-ratio-contribution.txt
+++ b/Tests/LibWeb/Layout/expected/flex/definite-cross-size-overrides-preferred-aspect-ratio-contribution.txt
@@ -3,20 +3,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 500 0+0+8] children: not-inline
Box <div.max-content-row> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
BlockContainer <div.green-block-definite-height> at [8,8] flex-item [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.max-content-row> at [8,208] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline
BlockContainer <div.blue-block-definite-height> at [8,208] flex-item [0+0+0 200 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,258] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.min-content-row> at [8,258] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
BlockContainer <div.green-block-definite-height> at [8,258] flex-item [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,458] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.min-content-row> at [8,458] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline
BlockContainer <div.blue-block-definite-height> at [8,458] flex-item [0+0+0 200 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,508] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x516] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-basis-smaller-than-min-content-size.txt b/Tests/LibWeb/Layout/expected/flex/flex-basis-smaller-than-min-content-size.txt
index 7c7d683801a..fff58766f27 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-basis-smaller-than-min-content-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-basis-smaller-than-min-content-size.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
Box <body> at [8,8] flex-container(row) [8+0+0 300 0+0+492] [8+0+0 200 0+0+8] [FFC] children: not-inline
BlockContainer <div#item2> at [8,8] flex-item [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <div#item2-inner> at [8,8] [0+0+0 50 0+0+50] [0+0+0 50 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#item2-inner> at [8,8] [0+0+0 50 0+0+50] [0+0+0 50 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-percentage-max-width.txt b/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-percentage-max-width.txt
index 3cd23929c57..de2eb8f05cb 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-percentage-max-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-column-item-with-percentage-max-width.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [12,12 39.78125x16] baseline: 12.796875
"Hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-column-reverse-constrained-wrap.txt b/Tests/LibWeb/Layout/expected/flex/flex-column-reverse-constrained-wrap.txt
index 25673186db8..8d70d9b3d4d 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-column-reverse-constrained-wrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-column-reverse-constrained-wrap.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
Box <div.container.column> at [9,9] flex-container(column-reverse) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,158] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,158 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,56] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,56 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [135,158] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [135,158 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-constrained-wrap-reverse.txt b/Tests/LibWeb/Layout/expected/flex/flex-constrained-wrap-reverse.txt
index 69c3a5ca0a5..0f73635a780 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-constrained-wrap-reverse.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-constrained-wrap-reverse.txt
@@ -2,97 +2,57 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 1024 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 1008 0+0+8] children: not-inline
Box <div.row> at [9,9] flex-container(row) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,158] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,158 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [112,158] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,158 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,33] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,33 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column> at [9,261] flex-container(column) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [158,262] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [158,262 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [158,364] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [158,364 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [33,262] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [33,262 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,512] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.start> at [9,513] flex-container(row) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,639] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,639 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [112,639] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,639 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,514] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,514 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,764] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.start> at [9,765] flex-container(column) [0+1+0 250 0+1+532] [0+1+0 250 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [135,766] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [135,766 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [135,868] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [135,868 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [10,766] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [10,766 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,1016] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1024] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-container-with-auto-width-avoids-float-intrusions.txt b/Tests/LibWeb/Layout/expected/flex/flex-container-with-auto-width-avoids-float-intrusions.txt
index 792075a3138..1b1a6cbcfa9 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-container-with-auto-width-avoids-float-intrusions.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-container-with-auto-width-avoids-float-intrusions.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 39, rect: [3,108 303.78125x16] baseline: 12.796875
"This should clear the full-width float."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <hr> at [9,217] [0+1+0 398 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <div.partial-width-float> at [8,226] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div.small-negative-margin> at [108,226] flex-container(row) [-5+0+0 300 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
@@ -18,8 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 34, length: 6, rect: [108,242 41.578125x16] baseline: 12.796875
"float."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,326] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <hr> at [9,335] [0+1+0 398 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <div.partial-width-float> at [8,344] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div.large-negative-margin> at [-342,444] flex-container(row) [-350+0+0 750 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
@@ -27,8 +23,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 28, rect: [-342,444 224.828125x16] baseline: 12.796875
"This should clear the float."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,544] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x552] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-container-with-definite-width-avoids-float-intrusions.txt b/Tests/LibWeb/Layout/expected/flex/flex-container-with-definite-width-avoids-float-intrusions.txt
index 15c66b228b6..60c557d2224 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-container-with-definite-width-avoids-float-intrusions.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-container-with-definite-width-avoids-float-intrusions.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 31, rect: [8,124 257.3125x16] baseline: 12.796875
"This should clear the blue box."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,224] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <hr> at [9,233] [0+1+0 398 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <div.a> at [8,242] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [358,242] floating [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
@@ -19,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 32, rect: [8,442 268.5625x16] baseline: 12.796875
"This should clear the green box."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,542] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <hr> at [9,551] [0+1+0 398 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <div.a> at [8,560] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [358,560] floating [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
@@ -31,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 35, length: 32, rect: [58,676 258.65625x16] baseline: 12.796875
"sit flush against the green box."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,760] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <hr> at [9,769] [0+1+0 398 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <div.a> at [8,778] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div.e> at [148,778] flex-container(row) [50+0+40 150 0+0+110] [0+0+0 100 0+0+0] [FFC] children: not-inline
@@ -48,8 +42,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 4 from TextNode start: 65, length: 12, rect: [148,842 88.6875x16] baseline: 12.796875
"to the left."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,878] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <hr> at [9,887] [0+1+0 398 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <div.a> at [8,896] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [358,896] floating [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
@@ -62,8 +54,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 45, length: 12, rect: [133,928 103.375x16] baseline: 12.796875
"green boxes."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,996] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1096] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-container-with-max-width-and-negative-margin-in-same-axis.txt b/Tests/LibWeb/Layout/expected/flex/flex-container-with-max-width-and-negative-margin-in-same-axis.txt
index 07cc22f8ec0..1a0a3f41817 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-container-with-max-width-and-negative-margin-in-same-axis.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-container-with-max-width-and-negative-margin-in-same-axis.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
BlockContainer <div#container-of-flex> at [8,8] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
Box <div#flex> at [-92,8] flex-container(row) [-100+0+0 200 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-container-with-width-auto-avoids-float-intrusions.txt b/Tests/LibWeb/Layout/expected/flex/flex-container-with-width-auto-avoids-float-intrusions.txt
index 05eaeca241e..cb8fa6faa6c 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-container-with-width-auto-avoids-float-intrusions.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-container-with-width-auto-avoids-float-intrusions.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: not-inline
BlockContainer <div#a> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div#b> at [108,8] flex-container(row) [0+0+0 684 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x108] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-aspect-ratio-with-percentage-size-svg-child.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-aspect-ratio-with-percentage-size-svg-child.txt
index 4ba6ca34e87..9551ee72c43 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-aspect-ratio-with-percentage-size-svg-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-aspect-ratio-with-percentage-size-svg-child.txt
@@ -1,22 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 316 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 500 0+0+292] [8+0+0 300 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 500 0+0+292] [8+0+0 300 0+0+8] children: not-inline
Box <div.button> at [10,8] positioned flex-container(row) [0+0+0 40 0+0+0] [0+0+0 70 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.icon-wrapper> at [20,33] flex-container(row) flex-item [0+0+10 20 10+0+0] [0+0+10 20 10+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [20,33] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] viewport-transform=[0.0390625 0 0 0.0390625 3.75 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [20,33] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] viewport-transform=[0.0390625 0 0 0.0390625 3.75 0] [SVG] children: not-inline
SVGGeometryBox <path> at [-3.09375,28.796875] [0+0+0 262.296875 0+0+0] [0+0+0 454.40625 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x316] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-min-width-fit-content.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-min-width-fit-content.txt
index b3694f32ea9..f9136b2e586 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-min-width-fit-content.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-min-width-fit-content.txt
@@ -1,11 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 70 0+1+0] [BFC] children: not-inline
Box <body> at [10,10] flex-container(row) [8+1+0 500 0+1+288] [8+1+0 52 0+1+8] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.big> at [11,11] flex-item [0+1+0 381.625 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.buttons> at [394.625,11] flex-item [0+1+0 114.375 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [395.625,12 57.046875x16] baseline: 13.796875
frag 1 from BlockContainer start: 0, length: 0, rect: [454.671875,12 53.328125x16] baseline: 13.796875
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-on-row-with-intrinsic-size.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-on-row-with-intrinsic-size.txt
index 65bb4fa54f8..522f882ff01 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-on-row-with-intrinsic-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-on-row-with-intrinsic-size.txt
@@ -2,11 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 8 0+0+8] children: not-inline
Box <div> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 8 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,8] flex-item [0+0+0 8 0+0+0] [0+0+0 8 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x24] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-percentage-main-size-during-min-content-sizing.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-percentage-main-size-during-min-content-sizing.txt
index a809b039e75..991fe511651 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-percentage-main-size-during-min-content-sizing.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-percentage-main-size-during-min-content-sizing.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <html> at [0,0] flex-container(row) [0+0+0 60 0+0+740] [0+0+0 50 0+0+0] [FFC] children: not-inline
Box <body> at [8,3] flex-container(row) flex-item [8+0+0 44 0+0+8] [8+0+0 44 0+0+8] [FFC] children: not-inline
ImageBox <img> at [8,3] flex-item [0+0+0 44 0+0+0] [0+0+0 44 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for Box<HTML> [0,0 60x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt
index 71f0f2e04c5..577168400de 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-with-intrinsic-aspect-ratio-and-max-height.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 69.984375 0+1+0] [BFC] children: not-inline
Box <body> at [10,10] flex-container(row) [8+1+0 780 0+1+8] [8+1+0 51.984375 0+1+8] [FFC] children: not-inline
ImageBox <img> at [11,11] flex-item [0+1+0 66.65625 0+1+0] [0+1+0 49.984375 0+1+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x69.984375] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt
index 854893f492f..7dccb696806 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt
@@ -3,7 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [8,8] flex-container(row) [8+0+0 50 0+0+742] [8+0+0 20 0+0+8] [FFC] children: not-inline
BlockContainer <div> at [8,8] flex-item [0+0+0 247.453125 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 229.453125x14] baseline: 13.984375
- TextNode <#text> (not painted)
BlockContainer <button> at [17,11] inline-block [0+2+7 229.453125 7+2+0] [0+2+1 14 1+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 229.453125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 229.453125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
@@ -11,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"LOOOOOOOOOOOOOOOOOOOOONG"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-optimization-cases.txt b/Tests/LibWeb/Layout/expected/flex/flex-optimization-cases.txt
index 0edb588baac..ad7030e6ef9 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-optimization-cases.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-optimization-cases.txt
@@ -2,175 +2,64 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 2016 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 500 0+0+292] [8+0+0 2000 0+0+8] children: not-inline
Box <div> at [8,8] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] flex-item [0+0+0 78.59375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,8 78.59375x16] baseline: 12.796875
"abcdefghij"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,24] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] flex-item [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,24 78.59375x16] baseline: 12.796875
"abcdefghij"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,40] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,40] flex-item [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,40 100x16] baseline: 12.796875
- TextNode <#text> (not painted)
BlockContainer <span> at [8,40] inline-block [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,40 9.703125x16] baseline: 12.796875
"x"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,56] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] flex-item [0+0+0 210.09375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 24, rect: [8,56 210.09375x16] baseline: 12.796875
"longwordlongwordlongword"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,72] flex-container(column) [0+0+0 500 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] flex-item [0+0+0 500 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,72] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,72] [0+0+0 500 0+0+0] [0+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,272] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,272] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,272] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,272] flex-item [0+0+0 500 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,272 78.59375x16] baseline: 12.796875
"abcdefghij"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,288] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,288] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 8 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,288] flex-item [0+0+0 8 0+0+0] [0+0+0 8 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,296] flex-container(row) [0+0+0 100 0+0+400] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,296] flex-item [0+0+0 210.09375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 24, rect: [8,296 210.09375x16] baseline: 12.796875
"longwordlongwordlongword"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,312] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 18.421875 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,312] flex-item [0+0+0 36.84375 0+0+0] [0+0+0 18.421875 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,312 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,330.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,330.421875] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,330.421875] flex-item [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,430.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,430.421875] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,430.421875] flex-item [0+0+0 0 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,430.421875] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,430.421875] [0+0+0 0 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,530.421875] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,530.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,530.421875] flex-container(column) [0+0+0 500 0+0+0] [0+0+0 120 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,530.421875] flex-item [0+0+0 500 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,530.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,530.421875] [0+0+0 500 0+0+0] [0+0+0 120 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,650.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,650.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,650.421875] flex-container(column) [0+0+0 500 0+0+0] [0+0+0 300 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,650.421875] flex-item [0+0+0 500 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,650.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,650.421875] [0+0+0 500 0+0+0] [0+0+0 300 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,950.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,950.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,950.421875] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 150 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,950.421875] flex-item [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,950.421875] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,950.421875] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,1100.421875] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,1100.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1100.421875] flex-container(row) [0+0+0 500 0+0+0] [0+0+0 8 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,1100.421875] flex-item [0+0+0 8 0+0+0] [0+0+0 8 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,1108.421875] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x2016] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-constrained-wrap.txt b/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-constrained-wrap.txt
index 3acfa8d1da9..4bc3c3cfc78 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-constrained-wrap.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-row-reverse-constrained-wrap.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 222 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 206 0+0+8] children: not-inline
Box <div.container> at [9,9] flex-container(row-reverse) [0+1+0 250 0+1+532] [0+1+0 204 0+1+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [158,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [158,10 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [56,10] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [56,10 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [158,112] flex-item [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [158,112 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,214] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x222] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-shorthand-flex-basis-zero-percent.txt b/Tests/LibWeb/Layout/expected/flex/flex-shorthand-flex-basis-zero-percent.txt
index 5bc861c7f0a..2467d9cbcbf 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-shorthand-flex-basis-zero-percent.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-shorthand-flex-basis-zero-percent.txt
@@ -11,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [48.84375,12 55.359375x16] baseline: 12.796875
"friends"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,64] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex> at [11,65] flex-container(row) [0+1+0 500 0+1+278] [0+1+0 52 0+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [11,65] flex-item [0+0+0 36.84375 0+0+0] [0+0+0 52 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [11,65 36.84375x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/flex/flex-shrink-item-restored-after-sibling-freezes-at-max-size.txt b/Tests/LibWeb/Layout/expected/flex/flex-shrink-item-restored-after-sibling-freezes-at-max-size.txt
index 96f0b1e1b54..890f29df2ba 100644
--- a/Tests/LibWeb/Layout/expected/flex/flex-shrink-item-restored-after-sibling-freezes-at-max-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/flex-shrink-item-restored-after-sibling-freezes-at-max-size.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"side"
TextNode <#text> (not painted)
Box <div.wrap> at [276,0] flex-container(row) flex-item [0+0+0 448 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.content> at [300,0] flex-container(column) flex-item [0+0+24 252 24+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
BlockContainer <p> at [300,0] flex-item [0+0+0 252 0+0+0] [0+0+0 120 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 26, rect: [300,4 227.796875x16] baseline: 12.796875
@@ -22,8 +20,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 4 from TextNode start: 114, length: 6, rect: [300,100 48.3125x16] baseline: 12.796875
"aliqua"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.sidecar> at [600,0] flex-item [24+0+0 100 0+0+24] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <ul> at [600,0] [0+0+0 100 0+0+0] [0+0+0 72 0+0+0] children: not-inline
ListItemBox <li> at [600,0] [0+0+0 100 0+0+0] [0+0+0 24 0+0+0] children: not-inline
@@ -46,10 +42,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 11, length: 4, rect: [600,52 35.5625x16] baseline: 12.796875
"here"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/inline-flex-baseline-of-child.txt b/Tests/LibWeb/Layout/expected/flex/inline-flex-baseline-of-child.txt
index d1684555618..70df5c06eae 100644
--- a/Tests/LibWeb/Layout/expected/flex/inline-flex-baseline-of-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/inline-flex-baseline-of-child.txt
@@ -20,8 +20,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [376,32 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,98] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x106] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/inline-flex-intrinsic-baseline.txt b/Tests/LibWeb/Layout/expected/flex/inline-flex-intrinsic-baseline.txt
index aefba2f8a00..7629eff2678 100644
--- a/Tests/LibWeb/Layout/expected/flex/inline-flex-intrinsic-baseline.txt
+++ b/Tests/LibWeb/Layout/expected/flex/inline-flex-intrinsic-baseline.txt
@@ -21,8 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [72,31 16x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.control> at [8,44] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 36 0+0+0] [FFC] children: not-inline
BlockContainer <span> at [8,23] flex-item [0+0+0 80 0+0+0] [0+0+0 78 0+0+0] [BFC] children: not-inline
Box <span.trigger> at [8,23] flex-container(row) [0+0+0 80 0+0+0] [0+0+0 78 0+0+0] [FFC] children: not-inline
@@ -43,8 +41,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [72,67 16x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.control> at [8,80] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 36 0+0+0] [FFC] children: not-inline
BlockContainer <span> at [8,59] flex-item [0+0+0 96 0+0+0] [0+0+0 78 0+0+0] [BFC] children: not-inline
Box <span.trigger> at [8,59] flex-container(row) [0+0+0 96 0+0+0] [0+0+0 78 0+0+0] [FFC] children: not-inline
@@ -69,8 +65,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [72,103 16x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,116] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x124] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-column-items-with-different-kinds-of-width.txt b/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-column-items-with-different-kinds-of-width.txt
index 4863b2d79ca..06fc4d143de 100644
--- a/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-column-items-with-different-kinds-of-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex/intrinsic-height-of-column-items-with-different-kinds-of-width.txt
@@ -1,40 +1,30 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 134 0+1+0] [BFC] children: not-inline
Box <body> at [10,10] flex-container(column) [8+1+0 780 0+1+8] [8+1+0 116 0+1+8] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.px> at [11,11] flex-item [0+1+0 200 0+1+0] [0+1+0 18 0+1+0] [BFC] children: not-inline
Box <div.inner> at [12,12] flex-container(row) [0+1+0 198 0+1+0] [0+1+0 16 0+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [12,12] flex-item [0+0+0 19.125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [12,12 19.125x16] baseline: 12.796875
"px"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.percentage> at [11,31] flex-item [0+1+0 50 0+1+0] [0+1+0 18 0+1+0] [BFC] children: not-inline
Box <div.inner> at [12,32] flex-container(row) [0+1+0 48 0+1+0] [0+1+0 16 0+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [12,32] flex-item [0+0+0 86.671875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [12,32 86.671875x16] baseline: 12.796875
"percentage"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.fit-content> at [11,51] flex-item [0+1+0 88.765625 0+1+0] [0+1+0 18 0+1+0] [BFC] children: not-inline
Box <div.inner> at [12,52] flex-container(row) [0+1+0 86.765625 0+1+0] [0+1+0 16 0+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [12,52] flex-item [0+0+0 86.765625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [12,52 86.765625x16] baseline: 12.796875
"fit content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.max-content> at [11,71] flex-item [0+1+0 102.15625 0+1+0] [0+1+0 18 0+1+0] [BFC] children: not-inline
Box <div.inner> at [12,72] flex-container(row) [0+1+0 100.15625 0+1+0] [0+1+0 16 0+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [12,72] flex-item [0+0+0 100.15625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [12,72 100.15625x16] baseline: 12.796875
"max content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.min-content> at [11,91] flex-item [0+1+0 62.90625 0+1+0] [0+1+0 34 0+1+0] [BFC] children: not-inline
Box <div.inner> at [12,92] flex-container(row) [0+1+0 60.90625 0+1+0] [0+1+0 32 0+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [12,92] flex-item [0+0+0 60.90625 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
@@ -43,8 +33,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 4, length: 7, rect: [12,108 60.90625x16] baseline: 12.796875
"content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x134] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/intrinsic-sizing-uses-inline-flex-baseline.txt b/Tests/LibWeb/Layout/expected/flex/intrinsic-sizing-uses-inline-flex-baseline.txt
index dd30db73128..8900b699280 100644
--- a/Tests/LibWeb/Layout/expected/flex/intrinsic-sizing-uses-inline-flex-baseline.txt
+++ b/Tests/LibWeb/Layout/expected/flex/intrinsic-sizing-uses-inline-flex-baseline.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] children: not-inline
Box <div.row> at [0,0] flex-container(row) [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,0] flex-item [0+0+0 164.9375 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from Box start: 0, length: 0, rect: [13,1 48.203125x30] baseline: 20.203125
frag 1 from TextNode start: 0, length: 14, rect: [74.203125,8.5 90.734375x14] baseline: 11.203125
@@ -14,10 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Filters"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/justify-content-1.txt b/Tests/LibWeb/Layout/expected/flex/justify-content-1.txt
index 33202c21713..a1185a55088 100644
--- a/Tests/LibWeb/Layout/expected/flex/justify-content-1.txt
+++ b/Tests/LibWeb/Layout/expected/flex/justify-content-1.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x7300]
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 7298 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 7280 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.start> at [11,11] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,12] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,12 41.234375x16] baseline: 12.796875
@@ -16,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [116,12 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,72] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.flex-start> at [11,73] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,74] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,74 35.578125x16] baseline: 12.796875
@@ -33,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [116,74 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,134] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.end> at [11,135] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [156,136] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [156,136 26.1875x16] baseline: 12.796875
@@ -48,8 +42,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,136 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,196] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.flex-end> at [11,197] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [156,198] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [156,198 35.578125x16] baseline: 12.796875
@@ -65,8 +57,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,198 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,258] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.center> at [11,259] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [84,260] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [84,260 51.625x16] baseline: 12.796875
@@ -80,8 +70,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [188,260 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,320] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.space-around> at [11,321] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [36,322] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [36,322 52.203125x16] baseline: 12.796875
@@ -97,8 +85,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [236,322 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,382] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.space-between> at [11,383] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,384] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,384 52.203125x16] baseline: 12.796875
@@ -114,8 +100,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,384 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,444] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.space-evenly> at [11,445] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [48,446] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,446 52.203125x16] baseline: 12.796875
@@ -131,8 +115,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [224,446 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,506] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.left> at [11,507] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,508] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,508 26.25x16] baseline: 12.796875
@@ -146,8 +128,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [116,508 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,568] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.right> at [11,569] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [156,570] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [156,570 37.109375x16] baseline: 12.796875
@@ -161,8 +141,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,570 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,630] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.start> at [11,631] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [116,632] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [116,632 41.234375x16] baseline: 12.796875
@@ -176,8 +154,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,632 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,692] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.flex-start> at [11,693] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,694] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [260,694 35.578125x16] baseline: 12.796875
@@ -193,8 +169,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [156,694 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,754] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.end> at [11,755] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,756] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [260,756 26.1875x16] baseline: 12.796875
@@ -208,8 +182,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [156,756 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,816] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.flex-end> at [11,817] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [116,818] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [116,818 35.578125x16] baseline: 12.796875
@@ -225,8 +197,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,818 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,878] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.center> at [11,879] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [188,880] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [188,880 51.625x16] baseline: 12.796875
@@ -240,8 +210,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [84,880 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,940] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.space-around> at [11,941] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [236,942] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [236,942 52.203125x16] baseline: 12.796875
@@ -257,8 +225,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [36,942 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1002] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.space-between> at [11,1003] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,1004] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [260,1004 52.203125x16] baseline: 12.796875
@@ -274,8 +240,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,1004 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1064] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.space-evenly> at [11,1065] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [224,1066] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [224,1066 52.203125x16] baseline: 12.796875
@@ -291,8 +255,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [48,1066 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1126] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.left> at [11,1127] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [116,1128] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [116,1128 26.25x16] baseline: 12.796875
@@ -306,8 +268,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,1128 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1188] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.right> at [11,1189] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,1190] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [260,1190 37.109375x16] baseline: 12.796875
@@ -321,8 +281,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [156,1190 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1250] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.start> at [11,1251] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1252] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,1252 41.234375x16] baseline: 12.796875
@@ -336,8 +294,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,1356 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1552] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.flex-start> at [11,1553] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1554] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,1554 35.578125x16] baseline: 12.796875
@@ -353,8 +309,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,1658 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1854] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.end> at [11,1855] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2000] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,2000 26.1875x16] baseline: 12.796875
@@ -368,8 +322,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,2104 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2156] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.flex-end> at [11,2157] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2302] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,2302 35.578125x16] baseline: 12.796875
@@ -385,8 +337,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,2406 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2458] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.center> at [11,2459] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2532] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,2532 51.625x16] baseline: 12.796875
@@ -400,8 +350,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,2636 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2760] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.space-around> at [11,2761] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2786] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,2786 52.203125x16] baseline: 12.796875
@@ -417,8 +365,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,2986 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3062] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.space-between> at [11,3063] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3064] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,3064 52.203125x16] baseline: 12.796875
@@ -434,8 +380,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,3312 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3364] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.space-evenly> at [11,3365] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3402] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,3402 52.203125x16] baseline: 12.796875
@@ -451,8 +395,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,3578 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3666] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.left> at [11,3667] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3668] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,3668 26.25x16] baseline: 12.796875
@@ -466,8 +408,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,3772 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3968] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.right> at [11,3969] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3970] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,3970 37.109375x16] baseline: 12.796875
@@ -481,8 +421,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,4074 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,4270] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.start> at [11,4271] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,4376] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,4376 41.234375x16] baseline: 12.796875
@@ -496,8 +434,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,4272 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,4572] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.flex-start> at [11,4573] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,4822] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,4822 35.578125x16] baseline: 12.796875
@@ -513,8 +449,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,4718 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,4874] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.end> at [11,4875] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,5124] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,5124 26.1875x16] baseline: 12.796875
@@ -528,8 +462,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,5020 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,5176] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.flex-end> at [11,5177] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,5282] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,5282 35.578125x16] baseline: 12.796875
@@ -545,8 +477,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,5178 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,5478] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.center> at [11,5479] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,5656] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,5656 51.625x16] baseline: 12.796875
@@ -560,8 +490,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,5552 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,5780] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.space-around> at [11,5781] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,6006] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,6006 52.203125x16] baseline: 12.796875
@@ -577,8 +505,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,5806 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,6082] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.space-between> at [11,6083] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,6332] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,6332 52.203125x16] baseline: 12.796875
@@ -594,8 +520,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,6084 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,6384] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.space-evenly> at [11,6385] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,6598] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [12,6598 52.203125x16] baseline: 12.796875
@@ -611,8 +535,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,6422 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,6686] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.left> at [11,6687] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,6792] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,6792 26.25x16] baseline: 12.796875
@@ -626,8 +548,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,6688 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,6988] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.right> at [11,6989] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,7094] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,7094 37.109375x16] baseline: 12.796875
@@ -641,8 +561,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,6990 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,7290] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x7298] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/justify-content-on-min-content-with-gap.txt b/Tests/LibWeb/Layout/expected/flex/justify-content-on-min-content-with-gap.txt
index 2efe959980a..0fed746d466 100644
--- a/Tests/LibWeb/Layout/expected/flex/justify-content-on-min-content-with-gap.txt
+++ b/Tests/LibWeb/Layout/expected/flex/justify-content-on-min-content-with-gap.txt
@@ -2,47 +2,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 136 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 120 0+0+8] children: not-inline
Box <div.container> at [8,8] flex-container(row) [0+0+0 160 0+0+624] [0+0+0 40 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [8,8] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [68,8] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [128,8] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,48] flex-container(row) [0+0+0 160 0+0+624] [0+0+0 40 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [8,48] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [68,48] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [128,48] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,88] flex-container(row) [0+0+0 160 0+0+624] [0+0+0 40 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [8,88] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [68,88] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box> at [128,88] flex-item [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x136] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/justify-content-with-margin-auto-child.txt b/Tests/LibWeb/Layout/expected/flex/justify-content-with-margin-auto-child.txt
index 083fc2bd271..1f49349e1ca 100644
--- a/Tests/LibWeb/Layout/expected/flex/justify-content-with-margin-auto-child.txt
+++ b/Tests/LibWeb/Layout/expected/flex/justify-content-with-margin-auto-child.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x4388]
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 4386 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 4368 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.start> at [11,11] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [60,12] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [60,12 41.234375x16] baseline: 12.796875
@@ -16,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,12 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,72] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.flex-start> at [11,73] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [60,74] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [60,74 35.578125x16] baseline: 12.796875
@@ -33,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,74 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,134] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.end> at [11,135] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,136] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,136 26.1875x16] baseline: 12.796875
@@ -48,8 +42,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [212,136 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,196] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.flex-end> at [11,197] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,198] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,198 35.578125x16] baseline: 12.796875
@@ -65,8 +57,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [212,198 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,258] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.left> at [11,259] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,260] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,260 26.25x16] baseline: 12.796875
@@ -80,8 +70,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [116,260 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,320] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.outer.right> at [11,321] flex-container(row) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [156,322] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [156,322 37.109375x16] baseline: 12.796875
@@ -95,8 +83,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [260,322 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,382] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.start> at [11,383] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,384] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [260,384 41.234375x16] baseline: 12.796875
@@ -110,8 +96,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [60,384 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,444] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.flex-start> at [11,445] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,446] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [260,446 35.578125x16] baseline: 12.796875
@@ -127,8 +111,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [60,446 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,506] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.end> at [11,507] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [212,508] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [212,508 26.1875x16] baseline: 12.796875
@@ -142,8 +124,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,508 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,568] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.flex-end> at [11,569] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [212,570] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [212,570 35.578125x16] baseline: 12.796875
@@ -159,8 +139,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,570 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,630] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.left> at [11,631] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [116,632] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [116,632 26.25x16] baseline: 12.796875
@@ -174,8 +152,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,632 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,692] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row.reverse.outer.right> at [11,693] flex-container(row-reverse) [0+1+0 300 0+1+478] [0+1+0 60 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [260,694] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [260,694 37.109375x16] baseline: 12.796875
@@ -189,8 +165,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [156,694 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,754] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.start> at [11,755] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [20,756] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [20,756 41.234375x16] baseline: 12.796875
@@ -204,8 +178,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [20,860 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1056] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.flex-start> at [11,1057] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [20,1058] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [20,1058 35.578125x16] baseline: 12.796875
@@ -221,8 +193,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [20,1162 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1358] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.end> at [11,1359] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1504] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,1504 26.1875x16] baseline: 12.796875
@@ -236,8 +206,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,1608 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1660] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.flex-end> at [11,1661] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1806] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,1806 35.578125x16] baseline: 12.796875
@@ -253,8 +221,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,1910 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,1962] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.left> at [11,1963] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,1964] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,1964 26.25x16] baseline: 12.796875
@@ -268,8 +234,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,2068 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2264] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.outer.right> at [11,2265] flex-container(column) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,2266] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,2266 37.109375x16] baseline: 12.796875
@@ -283,8 +247,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,2370 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2566] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.start> at [11,2567] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [20,2672] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [20,2672 41.234375x16] baseline: 12.796875
@@ -298,8 +260,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [20,2568 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,2868] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.flex-start> at [11,2869] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [20,3118] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [20,3118 35.578125x16] baseline: 12.796875
@@ -315,8 +275,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [20,3014 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3170] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.end> at [11,3171] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3420] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,3420 26.1875x16] baseline: 12.796875
@@ -330,8 +288,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,3316 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3472] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.flex-end> at [11,3473] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3578] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,3578 35.578125x16] baseline: 12.796875
@@ -347,8 +303,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,3474 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,3774] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.left> at [11,3775] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,3880] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,3880 26.25x16] baseline: 12.796875
@@ -362,8 +316,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,3776 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,4076] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.column.reverse.outer.right> at [11,4077] flex-container(column-reverse) [0+1+0 60 0+1+718] [0+1+0 300 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,4182] flex-item [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,4182 37.109375x16] baseline: 12.796875
@@ -377,8 +329,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,4078 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,4378] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x4386] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/nested-min-width-item.txt b/Tests/LibWeb/Layout/expected/flex/nested-min-width-item.txt
index 35da24365ed..4ba67640160 100644
--- a/Tests/LibWeb/Layout/expected/flex/nested-min-width-item.txt
+++ b/Tests/LibWeb/Layout/expected/flex/nested-min-width-item.txt
@@ -3,8 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 25 0+0+8] children: not-inline
Box <div.a> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 25 0+0+0] [FFC] children: not-inline
BlockContainer <div.b> at [8,8] flex-item [0+0+0 784 0+0+0] [0+0+0 25 0+0+0] [BFC] children: not-inline
- BlockContainer <div.c> at [8,8] [0+0+0 50 0+0+734] [0+0+0 25 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.c> at [8,8] [0+0+0 50 0+0+734] [0+0+0 25 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x41] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/no-stretch-fit-width-for-item-that-can-resolve-aspect-ratio-through-height.txt b/Tests/LibWeb/Layout/expected/flex/no-stretch-fit-width-for-item-that-can-resolve-aspect-ratio-through-height.txt
index 73a04b5e3f0..abcc0a2fddb 100644
--- a/Tests/LibWeb/Layout/expected/flex/no-stretch-fit-width-for-item-that-can-resolve-aspect-ratio-through-height.txt
+++ b/Tests/LibWeb/Layout/expected/flex/no-stretch-fit-width-for-item-that-can-resolve-aspect-ratio-through-height.txt
@@ -3,8 +3,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [8,8] flex-container(row) [8+0+0 200 0+0+592] [8+0+0 20 0+0+8] [FFC] children: not-inline
SVGSVGBox <svg> at [8,8] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] viewport-transform=[0.8333333 0 0 0.8333333 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 12 0+0+0] [0+0+0 12 0+0+0] children: not-inline
- BlockContainer <div> at [28,8] flex-item [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [28,8] flex-item [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-reference-value.txt b/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-reference-value.txt
index 727c91d42ed..0c1bfc94b6c 100644
--- a/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-reference-value.txt
+++ b/Tests/LibWeb/Layout/expected/flex/percentage-flex-basis-with-indefinite-reference-value.txt
@@ -2,26 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 152 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 136 0+0+8] children: not-inline
Box <div.outer> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 136 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] flex-item [0+0+0 784 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.spacer> at [8,8] [0+0+0 120 0+0+664] [0+0+0 120 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,128] flex-item [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 9, length: 14, rect: [8,128 112.421875x16] baseline: 12.796875
"text text text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,144] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div> at [8,144] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,144] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x152] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/reverse-flex-layout-with-space-between-and-space-around.txt b/Tests/LibWeb/Layout/expected/flex/reverse-flex-layout-with-space-between-and-space-around.txt
index e4ba6b9097e..9dd15177f91 100644
--- a/Tests/LibWeb/Layout/expected/flex/reverse-flex-layout-with-space-between-and-space-around.txt
+++ b/Tests/LibWeb/Layout/expected/flex/reverse-flex-layout-with-space-between-and-space-around.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [98.015625,8 55.359375x16] baseline: 12.796875
"friends"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.outer.row-reverse> at [8,158] flex-container(row-reverse) [0+0+0 150 0+0+634] [0+0+0 150 0+0+0] [FFC] children: not-inline
BlockContainer <div.inner> at [123.3125,158] flex-item [0+0+0 30.078125 0+0+0] [0+0+0 150 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [123.3125,158 30.078125x16] baseline: 12.796875
@@ -29,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [12.625,158 55.359375x16] baseline: 12.796875
"friends"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,308] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.outer.column> at [8,308] flex-container(column) [0+0+0 150 0+0+634] [0+0+0 150 0+0+0] [FFC] children: not-inline
BlockContainer <div.inner> at [8,325] flex-item [0+0+0 150 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,325 30.078125x16] baseline: 12.796875
@@ -44,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [8,425 55.359375x16] baseline: 12.796875
"friends"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,458] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.outer.column-reverse> at [8,458] flex-container(column-reverse) [0+0+0 150 0+0+634] [0+0+0 150 0+0+0] [FFC] children: not-inline
BlockContainer <div.inner> at [8,575] flex-item [0+0+0 150 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,575 30.078125x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/flex/single-line-flex-line-uses-cross-start.txt b/Tests/LibWeb/Layout/expected/flex/single-line-flex-line-uses-cross-start.txt
index bfe366c1a36..45023e9b8ef 100644
--- a/Tests/LibWeb/Layout/expected/flex/single-line-flex-line-uses-cross-start.txt
+++ b/Tests/LibWeb/Layout/expected/flex/single-line-flex-line-uses-cross-start.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
Box <body> at [8,8] flex-container(row) [8+0+0 100 0+0+692] [8+0+0 584 0+0+8] [FFC] children: not-inline
BlockContainer <div> at [8,8] flex-item [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/stretch-fit-width-for-column-layout-svg-item-that-only-has-natural-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/flex/stretch-fit-width-for-column-layout-svg-item-that-only-has-natural-aspect-ratio.txt
index 249a1eb3bdc..f34702ad3c2 100644
--- a/Tests/LibWeb/Layout/expected/flex/stretch-fit-width-for-column-layout-svg-item-that-only-has-natural-aspect-ratio.txt
+++ b/Tests/LibWeb/Layout/expected/flex/stretch-fit-width-for-column-layout-svg-item-that-only-has-natural-aspect-ratio.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [8,8] flex-container(row) [8+0+0 784 0+0+8] [8+0+0 784 0+0+8] [FFC] children: not-inline
SVGSVGBox <svg> at [8,8] flex-item [0+0+0 784 0+0+0] [0+0+0 784 0+0+0] viewport-transform=[32.666668 0 0 32.666668 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 12 0+0+0] [0+0+0 12 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x800] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/stretched-item-percentage-min-cross-size.txt b/Tests/LibWeb/Layout/expected/flex/stretched-item-percentage-min-cross-size.txt
index 1b8ffbea697..dc2b033cc05 100644
--- a/Tests/LibWeb/Layout/expected/flex/stretched-item-percentage-min-cross-size.txt
+++ b/Tests/LibWeb/Layout/expected/flex/stretched-item-percentage-min-cross-size.txt
@@ -2,37 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] children: not-inline
Box <div.row> at [0,0] flex-container(row) [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.column> at [20,4] flex-container(column) flex-item [0+0+20 100 20+0+0] [0+0+4 24 4+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.indicator> at [0,4] positioned flex-item [0+0+0 140 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.label> at [20,8] flex-item [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.row> at [0,32] flex-container(row) [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.column> at [20,36] flex-container(column) flex-item [0+0+20 100 20+0+0] [0+0+4 24 4+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.indicator.percentage-only> at [0,36] positioned flex-item [0+0+0 150 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.label> at [20,40] flex-item [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,64] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/svg-css-height-viewbox-max-content-width.txt b/Tests/LibWeb/Layout/expected/flex/svg-css-height-viewbox-max-content-width.txt
index e0232796bc3..6fcb1ab3450 100644
--- a/Tests/LibWeb/Layout/expected/flex/svg-css-height-viewbox-max-content-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex/svg-css-height-viewbox-max-content-width.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [0,0] flex-item [0+0+0 10 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <span> at [10,0] flex-container(row) flex-item [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
SVGSVGBox <svg> at [10,0] flex-item [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] viewport-transform=[20 0 0 20 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/svg-flex-item-with-height-and-viewbox-contributes-width.txt b/Tests/LibWeb/Layout/expected/flex/svg-flex-item-with-height-and-viewbox-contributes-width.txt
index 12f75bf12c1..970f4ce72ac 100644
--- a/Tests/LibWeb/Layout/expected/flex/svg-flex-item-with-height-and-viewbox-contributes-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex/svg-flex-item-with-height-and-viewbox-contributes-width.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGSVGBox <svg> at [0,0] flex-item [0+0+0 190.53125 0+0+0] [0+0+0 24 0+0+0] viewport-transform=[0.7272185 0 0 0.7272185 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 262 0+0+0] [0+0+0 33 0+0+0] children: not-inline
BlockContainer <div.sibling> at [190.53125,0] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,24] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x24] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/svg-height-viewbox-centered-flex-item-width.txt b/Tests/LibWeb/Layout/expected/flex/svg-height-viewbox-centered-flex-item-width.txt
index 3cc37b8645f..9e379f95a5a 100644
--- a/Tests/LibWeb/Layout/expected/flex/svg-height-viewbox-centered-flex-item-width.txt
+++ b/Tests/LibWeb/Layout/expected/flex/svg-height-viewbox-centered-flex-item-width.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGSVGBox <svg> at [0,0] flex-item [0+0+0 190.53125 0+0+0] [0+0+0 24 0+0+0] viewport-transform=[0.7272185 0 0 0.7272185 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 262 0+0+0] [0+0+0 33 0+0+0] children: not-inline
BlockContainer <div.sibling> at [190.53125,0] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,24] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x24] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/table-flex-item-stretch.txt b/Tests/LibWeb/Layout/expected/flex/table-flex-item-stretch.txt
index 8b897858099..192cc138400 100644
--- a/Tests/LibWeb/Layout/expected/flex/table-flex-item-stretch.txt
+++ b/Tests/LibWeb/Layout/expected/flex/table-flex-item-stretch.txt
@@ -2,24 +2,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <div.flex> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] flex-item [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div.table> at [8,8] table-box [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] [TFC] children: not-inline
Box <(anonymous)> at [8,8] table-row [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div.cell> at [8,46.390625] table-cell [0+0+0 20 0+0+0] [0+0+38.390625 23.203125 38.390625+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,46.390625 20x20] baseline: 20
BlockContainer <span.content> at [8,46.390625] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.sizer> at [28,8] flex-item [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex> at [8,108] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,108] flex-item [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div.table> at [8,128] table-box [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [TFC] children: not-inline
BlockContainer <div.caption> at [8,108] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
@@ -27,13 +17,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [8,156.390625] table-cell [0+0+0 20 0+0+0] [0+0+28.390625 23.203125 28.390625+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,156.390625 20x20] baseline: 20
BlockContainer <span.content> at [8,156.390625] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.sizer> at [28,108] flex-item [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt b/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt
index 713a6d9a4b2..7f13942b855 100644
--- a/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt
+++ b/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [13,11] flex-item [0+0+0 774 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [13,11 0x14] baseline: 10.984375
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/float-after-short-inline-block-goes-below-line-box.txt b/Tests/LibWeb/Layout/expected/float-after-short-inline-block-goes-below-line-box.txt
index 4c8268efd4a..64ac238248d 100644
--- a/Tests/LibWeb/Layout/expected/float-after-short-inline-block-goes-below-line-box.txt
+++ b/Tests/LibWeb/Layout/expected/float-after-short-inline-block-goes-below-line-box.txt
@@ -5,14 +5,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from BlockContainer start: 0, length: 0, rect: [20,11 200x1] baseline: 1
BlockContainer <div.short> at [20,11] inline-block [20+0+0 200 0+0+0] [0+0+0 1 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,16] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,26] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,26] [0+0+0 400 0+0+0] [0+0+0 43.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [20,56 200x0] baseline: 30
BlockContainer <div.short.margin> at [20,56] inline-block [20+0+0 200 0+0+0] [30+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,59.203125] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,69.203125] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,69.203125] [0+0+0 400 0+0+0] [0+0+0 43.203125 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [0,86.203125 41.671875x16] baseline: 12.796875
"gjpqy"
@@ -20,8 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <div.short.tall> at [61.671875,69.203125] inline-block [20+0+0 200 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,102.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,112.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,112.40625] [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [0,118.40625 41.671875x16] baseline: 12.796875
"gjpqy"
@@ -29,8 +23,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <div.short.tall.middle> at [61.671875,112.40625] inline-block [20+0+0 200 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,142.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,152.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,152.40625] [0+0+0 400 0+0+0] [0+0+0 54 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [0,166.40625 41.671875x16] baseline: 12.796875
"gjpqy"
@@ -40,8 +32,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.short.tall.narrow.text-top> at [61.671875,166.40625] inline-block [20+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.short.tall.narrow.text-bottom> at [131.671875,152.40625] inline-block [20+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,196.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,206.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,206.40625] [0+0+0 400 0+0+0] [0+0+0 49 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [0,223.40625 41.671875x16] baseline: 12.796875
"gjpqy"
@@ -51,8 +41,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.short.tall.narrow.super> at [61.671875,200.40625] inline-block [20+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.short.tall.narrow.sub> at [131.671875,209.40625] inline-block [20+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,245.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,255.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,255.40625] [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [0,261.40625 41.671875x16] baseline: 12.796875
"gjpqy"
@@ -62,8 +50,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.short.tall.narrow.top> at [61.671875,255.40625] inline-block [20+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.short.tall.narrow.middle> at [131.671875,255.40625] inline-block [20+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.wide> at [0,285.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,295.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,295.40625] [0+0+0 400 0+0+0] [0+0+0 41 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [0,310.40625 125.015625x16] baseline: 12.796875
"gjpqygjpqygjpqy"
@@ -73,8 +59,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"gjpqy"
TextNode <#text> (not painted)
BlockContainer <div.wide> at [0,326.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,336.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,336.40625] [0+0+0 400 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [0,355.40625 83.34375x16] baseline: 12.796875
"gjpqygjpqy"
@@ -88,8 +72,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"gjpqy"
TextNode <#text> (not painted)
BlockContainer <div.wide> at [0,376.40625] floating [0+0+0 300 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,386.40625] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x386.40625] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/float-with-padding-top-beside-short-float.txt b/Tests/LibWeb/Layout/expected/float-with-padding-top-beside-short-float.txt
index 8e62650b5de..4b9c1c1bad8 100644
--- a/Tests/LibWeb/Layout/expected/float-with-padding-top-beside-short-float.txt
+++ b/Tests/LibWeb/Layout/expected/float-with-padding-top-beside-short-float.txt
@@ -1,10 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 58 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.a> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [108,48] floating [0+0+0 100 0+0+0] [0+0+40 10 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x58] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/font-variation-settings-doesnt-disallow-merging-fallback-font.txt b/Tests/LibWeb/Layout/expected/font-variation-settings-doesnt-disallow-merging-fallback-font.txt
index 96910ea6129..d5a45f40b98 100644
--- a/Tests/LibWeb/Layout/expected/font-variation-settings-doesnt-disallow-merging-fallback-font.txt
+++ b/Tests/LibWeb/Layout/expected/font-variation-settings-doesnt-disallow-merging-fallback-font.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 52, rect: [8,8 350.734375x16] baseline: 12.796875
"حسنًا ، hello friends مرحباً أيها ا test لأصدقاء end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt b/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt
index c5be9b0550b..35a29bc3fdf 100644
--- a/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt
+++ b/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt
@@ -38,7 +38,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 0, rect: [13,102 0x14] baseline: 10.984375
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x127] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-abspos-under-relative-block-inside-item.txt b/Tests/LibWeb/Layout/expected/grid-abspos-under-relative-block-inside-item.txt
index 017628f332a..f2927bf0516 100644
--- a/Tests/LibWeb/Layout/expected/grid-abspos-under-relative-block-inside-item.txt
+++ b/Tests/LibWeb/Layout/expected/grid-abspos-under-relative-block-inside-item.txt
@@ -2,27 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 96 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 200 0+0+584] [0+0+0 80 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 100 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.holder> at [18,18] positioned [10+0+0 80 0+0+10] [10+0+0 50 0+0+10] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.holder> at [18,18] positioned [10+0+0 80 0+0+10] [10+0+0 50 0+0+10] children: not-inline
BlockContainer <div.abspos> at [25,23] positioned [0+0+0 30 0+0+0] [0+0+0 12 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,78] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [108,8] [0+0+0 100 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [108,8 54.78125x16] baseline: 12.796875
"second"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-min-height-definite.txt b/Tests/LibWeb/Layout/expected/grid-min-height-definite.txt
index 276dfb6f048..65bc9dd3a85 100644
--- a/Tests/LibWeb/Layout/expected/grid-min-height-definite.txt
+++ b/Tests/LibWeb/Layout/expected/grid-min-height-definite.txt
@@ -2,16 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 100 0+0+684] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,8 32.375x16] baseline: 12.796875
"Item"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-min-height-fit-content.txt b/Tests/LibWeb/Layout/expected/grid-min-height-fit-content.txt
index fd2dbac6a72..2bada878c2f 100644
--- a/Tests/LibWeb/Layout/expected/grid-min-height-fit-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid-min-height-fit-content.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
Box <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-min-height-max-content-with-content.txt b/Tests/LibWeb/Layout/expected/grid-min-height-max-content-with-content.txt
index 3ba4c124a7a..04c8f3ec098 100644
--- a/Tests/LibWeb/Layout/expected/grid-min-height-max-content-with-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid-min-height-max-content-with-content.txt
@@ -2,16 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 66 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 100 0+0+684] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,8 32.375x16] baseline: 12.796875
"Item"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x66] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-min-height-max-content.txt b/Tests/LibWeb/Layout/expected/grid-min-height-max-content.txt
index fd2dbac6a72..2bada878c2f 100644
--- a/Tests/LibWeb/Layout/expected/grid-min-height-max-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid-min-height-max-content.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
Box <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-min-height-min-content.txt b/Tests/LibWeb/Layout/expected/grid-min-height-min-content.txt
index fd2dbac6a72..2bada878c2f 100644
--- a/Tests/LibWeb/Layout/expected/grid-min-height-min-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid-min-height-min-content.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
Box <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-nested-percent-height-contribution.txt b/Tests/LibWeb/Layout/expected/grid-nested-percent-height-contribution.txt
index 57c6888f6d5..d41f85636e4 100644
--- a/Tests/LibWeb/Layout/expected/grid-nested-percent-height-contribution.txt
+++ b/Tests/LibWeb/Layout/expected/grid-nested-percent-height-contribution.txt
@@ -2,29 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 370 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 370 0+0+0] children: not-inline
Box <div.parent> at [0,0] [0+0+0 240 0+0+560] [0+0+0 370 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.table> at [0,0] [0+0+0 240 0+0+0] [0+0+0 320 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.card.first> at [0,0] [0+0+0 100 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 100 0+0+0] [0+0+0 80 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.card.second> at [0,100] [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,100] [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.image> at [120,0] [0+0+0 100 0+0+0] [0+0+0 320 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.next> at [0,340] [0+0+0 240 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,370] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x370] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-percent-height-auto-row-contribution.txt b/Tests/LibWeb/Layout/expected/grid-percent-height-auto-row-contribution.txt
index 2a012b93e29..d5c989b5e68 100644
--- a/Tests/LibWeb/Layout/expected/grid-percent-height-auto-row-contribution.txt
+++ b/Tests/LibWeb/Layout/expected/grid-percent-height-auto-row-contribution.txt
@@ -2,21 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 300 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 300 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 120 0+0+680] [0+0+0 300 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.label> at [0,0] [0+0+0 120 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,30] [0+0+0 120 0+0+0] [0+0+0 125 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,30] [0+0+0 120 0+0+0] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,175] [0+0+0 120 0+0+0] [0+0+0 125 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,175] [0+0+0 120 0+0+0] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,300] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x300] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid-place-items-center.txt b/Tests/LibWeb/Layout/expected/grid-place-items-center.txt
index d4047ecb46e..b4da89b40ee 100644
--- a/Tests/LibWeb/Layout/expected/grid-place-items-center.txt
+++ b/Tests/LibWeb/Layout/expected/grid-place-items-center.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <article> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <div> at [375,83] [367+0+0 50 0+0+367] [75+0+0 50 0+0+75] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [375,83] [367+0+0 50 0+0+367] [75+0+0 50 0+0+75] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-auto-height-stretch.txt b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-auto-height-stretch.txt
index 90d9bde392c..bc1877432d4 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-auto-height-stretch.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-auto-height-stretch.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] [GFC] children: not-inline
BlockContainer <div.item> at [0,0] [0+0+0 200 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+150] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-inset-both-percentage-child.txt b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-inset-both-percentage-child.txt
index 70f566ef8e7..54e10f11aea 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-inset-both-percentage-child.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-inset-both-percentage-child.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [20,10] positioned [0+0+0 360 0+0+0] [0+0+0 180 0+0+0] [GFC] children: not-inline
BlockContainer <div.child> at [20,10] [0+0+0 180 0+0+0] [0+0+0 90 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [20,10] [0+0+0 30 0+0+150] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-height.txt b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-height.txt
index 470918f19b1..261c4a6a79f 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-height.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
BlockContainer <div.child> at [0,0] [0+0+0 400 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+350] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-width.txt b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-width.txt
index f1c45567aad..cd31b4bc191 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-grid-container-percentage-width.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [0,0] positioned [0+0+0 40 0+0+0] [0+0+0 200 0+0+0] [GFC] children: not-inline
BlockContainer <div.child> at [0,0] [0+0+0 20 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 40 0+0+-20] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-inline-grid-container-percentage-height.txt b/Tests/LibWeb/Layout/expected/grid/abspos-inline-grid-container-percentage-height.txt
index 470918f19b1..ffc6d5ade29 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-inline-grid-container-percentage-height.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-inline-grid-container-percentage-height.txt
@@ -1,10 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 200 0+0+0] [BFC] children: not-inline
+ BlockContainer <html> at [0,0] positioned [0+0+0 400 0+0+400] [0+0+0 200 0+0+0] [BFC] children: inline
Box <body> at [0,0] positioned [0+0+0 400 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
BlockContainer <div.child> at [0,0] [0+0+0 400 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.content> at [0,0] [0+0+0 50 0+0+350] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 400x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-placed-into-augmented-row-and-column.txt b/Tests/LibWeb/Layout/expected/grid/abspos-placed-into-augmented-row-and-column.txt
index e02211c6b5a..61860a0edd6 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-placed-into-augmented-row-and-column.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-placed-into-augmented-row-and-column.txt
@@ -2,37 +2,23 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 286 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 270 0+0+8] children: not-inline
Box <div.grid-container> at [58,58] positioned [0+0+50 170 50+0+514] [0+0+50 170 50+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,58] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,58 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,58] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,58 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,128] [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,128 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,128] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,128 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.abspos-box> at [228,228] positioned [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,278] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x286] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-subgrid-child-of-grid-container.txt b/Tests/LibWeb/Layout/expected/grid/abspos-subgrid-child-of-grid-container.txt
index fdf98afa2a3..241eb185fdb 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-subgrid-child-of-grid-container.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-subgrid-child-of-grid-container.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div#abs> at [0,0] positioned [0+0+0 333 0+0+0] [0+0+0 50 0+0+0] [GFC] children: not-inline
BlockContainer <div#a> at [0,0] [0+0+0 333 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <div#b> at [0,25] [0+0+0 333 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-column-placed-in-augmented-row.txt b/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-column-placed-in-augmented-row.txt
index cd05b2bba50..afe90728587 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-column-placed-in-augmented-row.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-column-placed-in-augmented-row.txt
@@ -2,37 +2,23 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 286 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 270 0+0+8] children: not-inline
Box <div.grid-container> at [58,58] positioned [0+0+50 170 50+0+514] [0+0+50 170 50+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,58] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,58 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,58] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,58 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,128] [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,128 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,128] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,128 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.abspos-box> at [8,228] positioned [0+0+0 270 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,278] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x286] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-and-column-contained-by-grid.txt b/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-and-column-contained-by-grid.txt
index e60e1f6490d..35d0cbb0592 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-and-column-contained-by-grid.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-and-column-contained-by-grid.txt
@@ -2,37 +2,23 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 286 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 270 0+0+8] children: not-inline
Box <div.grid-container> at [58,58] positioned [0+0+50 170 50+0+514] [0+0+50 170 50+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,58] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,58 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,58] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,58 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,128] [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,128 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,128] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,128 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.abspos-box> at [8,8] positioned [0+0+0 270 0+0+0] [0+0+0 270 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,278] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x286] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-placed-in-augmented-column.txt b/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-placed-in-augmented-column.txt
index 6ed81b410fa..9d392c66d41 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-placed-in-augmented-column.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-with-auto-row-placed-in-augmented-column.txt
@@ -2,37 +2,23 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 286 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 270 0+0+8] children: not-inline
Box <div.grid-container> at [58,58] positioned [0+0+50 170 50+0+514] [0+0+50 170 50+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,58] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,58 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,58] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,58 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,128] [0+0+0 50 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,128 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,128] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [128,128 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.abspos-box> at [228,8] positioned [0+0+0 50 0+0+0] [0+0+0 270 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,278] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x286] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/abspos-with-grid-container-as-parent.txt b/Tests/LibWeb/Layout/expected/grid/abspos-with-grid-container-as-parent.txt
index cdce4d7c5d9..44cb99fb7e2 100644
--- a/Tests/LibWeb/Layout/expected/grid/abspos-with-grid-container-as-parent.txt
+++ b/Tests/LibWeb/Layout/expected/grid/abspos-with-grid-container-as-parent.txt
@@ -5,38 +5,27 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#grid> at [8,108] [0+0+0 400 0+0+0] [0+0+0 75 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#grid> at [8,108] [0+0+0 400 0+0+0] [0+0+0 75 0+0+0] [BFC] children: not-inline
BlockContainer <div#grid-item-abspos> at [8,8] positioned [0+0+0 60.890625 0+0+0] [0+0+0 25 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [8,8 60.890625x16] baseline: 12.796875
"top left"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#grid-item-abspos> at [336.25,8] positioned [0+0+0 71.75 0+0+0] [0+0+0 25 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [336.25,8 71.75x16] baseline: 12.796875
"top right"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#grid-item-abspos> at [8,258] positioned [0+0+0 90.359375 0+0+0] [0+0+0 25 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [8,258 90.359375x16] baseline: 12.796875
"bottom left"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#grid-item-abspos> at [306.78125,258] positioned [0+0+0 101.21875 0+0+0] [0+0+0 25 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [306.78125,258 101.21875x16] baseline: 12.796875
"bottom right"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,183] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#fill> at [8,183] [0+0+0 100 0+0+300] [0+0+0 100 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,183 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,283] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/align-content.txt b/Tests/LibWeb/Layout/expected/grid/align-content.txt
index 3c0775dbc70..f04b767810f 100644
--- a/Tests/LibWeb/Layout/expected/grid/align-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid/align-content.txt
@@ -2,229 +2,75 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 684 0+0+0] [BFC] children: not-inline
Box <body> at [28,28] flex-container(row) [8+0+20 744 20+0+8] [8+0+20 628 20+0+8] [FFC] children: not-inline
Box <div.container> at [30,30] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [75,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [120,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,75] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [75,75] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [120,75] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [75,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [120,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [174,30] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [174,210] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [219,210] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [264,210] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [174,255] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [219,255] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [264,255] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [174,300] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [219,300] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [264,300] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [318,30] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [318,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [363,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [408,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [318,165] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [363,165] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [408,165] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [318,210] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [363,210] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [408,210] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [462,30] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [462,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [507,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [552,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [462,75] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [507,75] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [552,75] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [462,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [507,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [552,120] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [606,30] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [606,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [651,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [696,30] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [606,165] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [651,165] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [696,165] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [606,300] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [651,300] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [696,300] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [30,354] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,389] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [75,389] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [120,389] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,489] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [75,489] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [120,489] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,589] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [75,589] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [120,589] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [174,354] flex-item [0+2+0 120 0+2+0] [0+2+0 300 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [174,406.5] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [219,406.5] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [264,406.5] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [174,489] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [219,489] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [264,489] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [174,571.5] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [219,571.5] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [264,571.5] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x684] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/align-items.txt b/Tests/LibWeb/Layout/expected/grid/align-items.txt
index e44985ddc34..9641a7d801b 100644
--- a/Tests/LibWeb/Layout/expected/grid/align-items.txt
+++ b/Tests/LibWeb/Layout/expected/grid/align-items.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 258 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 240 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.start> at [31,31] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div> at [32,32] [0+1+0 355.765625 0+1+0] [0+1+0 16 0+1+20] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [32,32 50.203125x16] baseline: 12.796875
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [399.765625,42 52.671875x16] baseline: 12.796875
"Start2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,90] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.center> at [31,111] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div> at [32,122] [0+1+0 355.765625 0+1+0] [10+1+0 16 0+1+10] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [32,122 59.390625x16] baseline: 12.796875
@@ -23,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [399.765625,122 61.859375x16] baseline: 12.796875
"Center2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,170] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.end> at [31,191] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div> at [32,212] [0+1+0 355.765625 0+1+0] [20+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [32,212 35.671875x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/grid/align-self.txt b/Tests/LibWeb/Layout/expected/grid/align-self.txt
index 0f65f67d77b..a9a014183d0 100644
--- a/Tests/LibWeb/Layout/expected/grid/align-self.txt
+++ b/Tests/LibWeb/Layout/expected/grid/align-self.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 258 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 240 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [31,31] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div.start> at [32,32] [0+1+0 355.765625 0+1+0] [0+1+0 16 0+1+20] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [32,32 50.203125x16] baseline: 12.796875
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [399.765625,42 52.671875x16] baseline: 12.796875
"Start2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,90] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [31,111] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div.center> at [32,122] [0+1+0 355.765625 0+1+0] [10+1+0 16 0+1+10] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [32,122 59.390625x16] baseline: 12.796875
@@ -23,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [399.765625,122 61.859375x16] baseline: 12.796875
"Center2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,170] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [31,191] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div.end> at [32,212] [0+1+0 355.765625 0+1+0] [20+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [32,212 35.671875x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/grid/all-implicit-rows.txt b/Tests/LibWeb/Layout/expected/grid/all-implicit-rows.txt
index 3257bb9cf6c..b704ce797b2 100644
--- a/Tests/LibWeb/Layout/expected/grid/all-implicit-rows.txt
+++ b/Tests/LibWeb/Layout/expected/grid/all-implicit-rows.txt
@@ -2,34 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 392.140625 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400.140625,8] [0+0+0 391.859375 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,108] [0+0+0 392.140625 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400.140625,108] [0+0+0 391.859375 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,108 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fill-repeat-count-floors-max-track-size-by-min.txt b/Tests/LibWeb/Layout/expected/grid/auto-fill-repeat-count-floors-max-track-size-by-min.txt
index 9d36bde915e..ce2de69f08b 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-fill-repeat-count-floors-max-track-size-by-min.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-fill-repeat-count-floors-max-track-size-by-min.txt
@@ -2,30 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 96 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
Box <div.grid.a> at [8,8] [0+0+0 450 0+0+334] [0+0+0 40 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 150 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [158,8] [0+0+0 150 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [308,8] [0+0+0 150 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.b> at [8,48] [0+0+0 450 0+0+334] [0+0+0 40 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,48] [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [208,48] [0+0+0 200 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fill.txt b/Tests/LibWeb/Layout/expected/grid/auto-fill.txt
index 5f9752e9ee6..af0731a8eeb 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-fill.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-fill.txt
@@ -2,26 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 261.328125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [269.328125,8] [0+0+0 261.328125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [269.328125,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [530.65625,8] [0+0+0 261.328125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [530.65625,8 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fit-and-auto-fill-with-zero-min-track-size.txt b/Tests/LibWeb/Layout/expected/grid/auto-fit-and-auto-fill-with-zero-min-track-size.txt
index 0f3e30228ac..a229b59becf 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-fit-and-auto-fill-with-zero-min-track-size.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-fit-and-auto-fill-with-zero-min-track-size.txt
@@ -2,42 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 96 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
Box <div.grid.fit> at [8,8] [0+0+0 530 0+0+254] [0+0+0 40 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 170 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.34375x16] baseline: 12.796875
"a"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [188,8] [0+0+0 170 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [188,8 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [368,8] [0+0+0 170 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [368,8 8.890625x16] baseline: 12.796875
"c"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.fill> at [8,48] [0+0+0 530 0+0+254] [0+0+0 40 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,48] [0+0+0 1.015625 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [19.015625,48] [0+0+0 1.015625 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30.03125,48] [0+0+0 1.015625 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fit-empty-container.txt b/Tests/LibWeb/Layout/expected/grid/auto-fit-empty-container.txt
index d7ded849a51..63e60305bd2 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-fit-empty-container.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-fit-empty-container.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
Box <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-fit.txt b/Tests/LibWeb/Layout/expected/grid/auto-fit.txt
index 5f9752e9ee6..af0731a8eeb 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-fit.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-fit.txt
@@ -2,26 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 261.328125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [269.328125,8] [0+0+0 261.328125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [269.328125,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [530.65625,8] [0+0+0 261.328125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [530.65625,8 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-margins-prevent-stretch-fr-tracks.txt b/Tests/LibWeb/Layout/expected/grid/auto-margins-prevent-stretch-fr-tracks.txt
index e4135a4984f..c990c91933f 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-margins-prevent-stretch-fr-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-margins-prevent-stretch-fr-tracks.txt
@@ -2,34 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 220 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 202 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 200 0+1+578] [0+1+0 200 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [12,12 58.796875x16] baseline: 12.796875
"stretch"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [149.234375,12] [37.234375+1+0 60.765625 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [149.234375,12 60.765625x16] baseline: 12.796875
"ml auto"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,194] [0+1+0 98 0+1+0] [82+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [12,194 63.390625x16] baseline: 12.796875
"mt auto"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [132.734375,153] [20.734375+1+0 56.53125 0+1+20.734375] [41+1+0 16 0+1+41] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [132.734375,153 56.53125x16] baseline: 12.796875
"m auto"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,212] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x220] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/auto-placement-cursor-after-spanning-item-overflows-implicit-rows.txt b/Tests/LibWeb/Layout/expected/grid/auto-placement-cursor-after-spanning-item-overflows-implicit-rows.txt
index 0b1dd6006c2..c001a92e400 100644
--- a/Tests/LibWeb/Layout/expected/grid/auto-placement-cursor-after-spanning-item-overflows-implicit-rows.txt
+++ b/Tests/LibWeb/Layout/expected/grid/auto-placement-cursor-after-spanning-item-overflows-implicit-rows.txt
@@ -2,34 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 28.6875x16] baseline: 12.796875
"one"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [108,8] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [108,8 28.4375x16] baseline: 12.796875
"two"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,58] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,58 42.421875x16] baseline: 12.796875
"three"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [108,58] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [108,58 35.390625x16] baseline: 12.796875
"four"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/basic.txt b/Tests/LibWeb/Layout/expected/grid/basic.txt
index 576b040ec68..1c2299026d6 100644
--- a/Tests/LibWeb/Layout/expected/grid/basic.txt
+++ b/Tests/LibWeb/Layout/expected/grid/basic.txt
@@ -2,32 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 392.140625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400.140625,8] [0+0+0 391.859375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,24] [0+0+0 392.140625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400.140625,24] [0+0+0 391.859375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,24 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/borders.txt b/Tests/LibWeb/Layout/expected/grid/borders.txt
index 9ad700a0f77..82bc6706a7f 100644
--- a/Tests/LibWeb/Layout/expected/grid/borders.txt
+++ b/Tests/LibWeb/Layout/expected/grid/borders.txt
@@ -2,147 +2,87 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 434 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 418 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 72 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,18] [0+10+0 372.140625 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,18 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [410.140625,18] [0+10+0 371.859375 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [410.140625,18 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,54] [0+10+0 372.140625 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,54 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [410.140625,54] [0+10+0 371.859375 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [410.140625,54 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid-container> at [8,80] [0+0+0 784 0+0+0] [0+0+0 106 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,90] [0+10+0 372.140625 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,90 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [410.140625,90] [0+10+0 371.859375 0+10+0] [0+10+0 50 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [410.140625,90 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,160] [0+10+0 372.140625 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,160 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [410.140625,160] [0+10+0 371.859375 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [410.140625,160 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,186] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid-container> at [8,186] [0+0+0 784 0+0+0] [0+0+0 82 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,196] [0+10+0 347.140625 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,196 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [435.140625,196] [0+10+0 346.859375 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [435.140625,196 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,242] [0+10+0 347.140625 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,242 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [435.140625,242] [0+10+0 346.859375 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [435.140625,242 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,268] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid-container> at [8,268] [0+0+0 784 0+0+0] [0+0+0 88 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [445.421875,278] [0+10+0 336.5625 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [445.421875,278 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,330] [0+10+0 339.03125 0+10+0] [0+10+0 16 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,330 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,356] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid-container> at [8,356] [0+0+0 784 0+0+0] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,366] [0+10+0 280 0+10+0] [0+10+0 5 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,366 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [318,366] [0+10+0 280 0+10+0] [0+10+0 5 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [318,366 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,391] [0+10+0 280 0+10+0] [0+10+0 5 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,391 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [318,391] [0+10+0 280 0+10+0] [0+10+0 5 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [318,391 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,406] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid-container> at [8,406] [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,416] [0+10+0 764 0+10+0] [0+10+0 0 0+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [18,416 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x434] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/calc-track-size.txt b/Tests/LibWeb/Layout/expected/grid/calc-track-size.txt
index 37a9efaf065..1a75ed1b7f1 100644
--- a/Tests/LibWeb/Layout/expected/grid/calc-track-size.txt
+++ b/Tests/LibWeb/Layout/expected/grid/calc-track-size.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [8,8 31.265625x16] baseline: 12.796875
"Uno"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/clamp-content-based-minimum-size-by-limited-max-track-size.txt b/Tests/LibWeb/Layout/expected/grid/clamp-content-based-minimum-size-by-limited-max-track-size.txt
index 095d4e1db47..b976fd31c66 100644
--- a/Tests/LibWeb/Layout/expected/grid/clamp-content-based-minimum-size-by-limited-max-track-size.txt
+++ b/Tests/LibWeb/Layout/expected/grid/clamp-content-based-minimum-size-by-limited-max-track-size.txt
@@ -7,13 +7,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"XXXXXXXXXX"
TextNode <#text> (not painted)
BlockContainer <div#b> at [13,38] [0+0+0 0 0+0+0] [0+0+0 25 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,68] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [13,73] [0+5+0 50 0+5+724] [0+5+0 50 0+5+0] [GFC] children: not-inline
BlockContainer <div#a> at [18,73] [5+0+0 0 0+0+5] [0+0+0 25 0+0+0] [BFC] children: not-inline
BlockContainer <div#b> at [13,98] [0+0+0 10 0+0+0] [0+0+0 25 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x136] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/container-max-width-max-content.txt b/Tests/LibWeb/Layout/expected/grid/container-max-width-max-content.txt
index 3ccb10461a2..b3862f590dc 100644
--- a/Tests/LibWeb/Layout/expected/grid/container-max-width-max-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid/container-max-width-max-content.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] [GFC] children: not-inline
BlockContainer <div.item> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/content-based-minimum-size-suggestions.txt b/Tests/LibWeb/Layout/expected/grid/content-based-minimum-size-suggestions.txt
index 403b6546024..76f5323d3ab 100644
--- a/Tests/LibWeb/Layout/expected/grid/content-based-minimum-size-suggestions.txt
+++ b/Tests/LibWeb/Layout/expected/grid/content-based-minimum-size-suggestions.txt
@@ -2,19 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 10 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 10 0+0+774] [0+0+0 10 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,8] [0+0+0 80 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,8 115.625x16] baseline: 12.796875
"XXXXXXXXXX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.marker> at [88,8] [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,18] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x26] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/css-calc-in-grid-position.txt b/Tests/LibWeb/Layout/expected/grid/css-calc-in-grid-position.txt
index 4a7829f12ab..b99945f2dfb 100644
--- a/Tests/LibWeb/Layout/expected/grid/css-calc-in-grid-position.txt
+++ b/Tests/LibWeb/Layout/expected/grid/css-calc-in-grid-position.txt
@@ -1,50 +1,30 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
Box <body> at [8,8] [8+0+0 600 0+0+192] [8+0+0 32 0+0+8] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.title> at [8,8] [0+0+0 198.25 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [8,8 45.578125x16] baseline: 12.796875
"title 1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.text> at [8,24] [0+0+0 198.25 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [8,24 46.484375x16] baseline: 12.796875
"text 1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.title> at [206.25,8] [0+0+0 200.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [206.25,8 48.046875x16] baseline: 12.796875
"title 2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.text> at [206.25,24] [0+0+0 200.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [206.25,24 48.953125x16] baseline: 12.796875
"text 2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.title> at [406.96875,8] [0+0+0 201 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [406.96875,8 48.328125x16] baseline: 12.796875
"title 3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.text> at [406.96875,24] [0+0+0 201 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [406.96875,24 49.234375x16] baseline: 12.796875
"text 3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt b/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt
index d3f2b312414..950dbf03eb9 100644
--- a/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt
+++ b/Tests/LibWeb/Layout/expected/grid/different-column-sizes.txt
@@ -2,32 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,8] [0+0+0 392 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,24] [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,24] [0+0+0 392 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,24 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/distribute-extra-space-across-spanned-tracks.txt b/Tests/LibWeb/Layout/expected/grid/distribute-extra-space-across-spanned-tracks.txt
index ecee361e189..6988809bddd 100644
--- a/Tests/LibWeb/Layout/expected/grid/distribute-extra-space-across-spanned-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/distribute-extra-space-across-spanned-tracks.txt
@@ -2,27 +2,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.right> at [400,8] [0+0+0 392 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400,8 9.34375x16] baseline: 12.796875
"a"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left> at [8,8] [0+0+0 392 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 392 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.inner> at [8,8] [0+0+0 392 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 392 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/fit-content-2.txt b/Tests/LibWeb/Layout/expected/grid/fit-content-2.txt
index 8c689cf9ecb..67e34c50b42 100644
--- a/Tests/LibWeb/Layout/expected/grid/fit-content-2.txt
+++ b/Tests/LibWeb/Layout/expected/grid/fit-content-2.txt
@@ -2,14 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <div#container> at [18,18] [0+0+10 764 10+0+0] [0+0+10 180 10+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [23,23] [0+0+5 232.234375 5+0+0] [0+0+5 170 5+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 28, rect: [23,23 232.234375x16] baseline: 12.796875
"Item as wide as the content."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [270.234375,23] [0+0+5 290 5+0+0] [0+0+5 170 5+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 34, rect: [270.234375,23 278.625x16] baseline: 12.796875
"Item with more text in it. Because"
@@ -20,16 +16,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 106, length: 11, rect: [270.234375,71 86.609375x16] baseline: 12.796875
"300 pixels."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [575.234375,23] [0+0+5 201.765625 5+0+0] [0+0+5 170 5+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [575.234375,23 102.53125x16] baseline: 12.796875
"Flexible item"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/fit-content-3.txt b/Tests/LibWeb/Layout/expected/grid/fit-content-3.txt
index b4302536d48..8c1e6a4d988 100644
--- a/Tests/LibWeb/Layout/expected/grid/fit-content-3.txt
+++ b/Tests/LibWeb/Layout/expected/grid/fit-content-3.txt
@@ -3,17 +3,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,10] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
BlockContainer <div.container> at [8,10] [0+0+0 200 0+0+584] [10+0+0 104 0+0+0] children: inline
frag 0 from Box start: 0, length: 0, rect: [8,10 104x104] baseline: 104
- TextNode <#text> (not painted)
Box <div.grid> at [8,10] [0+0+0 104 0+0+0] [0+0+0 104 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [8,10] [0+0+0 78 0+0+0] [0+0+0 104 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [9,11] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [9,63] floating [0+1+0 50 0+1+0] [0+1+0 50 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,114] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/fit-content-row-with-overflow-hidden.txt b/Tests/LibWeb/Layout/expected/grid/fit-content-row-with-overflow-hidden.txt
index 5fdbcd0ac9b..3094fe5f642 100644
--- a/Tests/LibWeb/Layout/expected/grid/fit-content-row-with-overflow-hidden.txt
+++ b/Tests/LibWeb/Layout/expected/grid/fit-content-row-with-overflow-hidden.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.grid> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [GFC] children: not-inline
BlockContainer <div.wrapper> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline overflow: [8,8 784x200]
BlockContainer <div.inner> at [8,8] [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/fixed-tracks-followed-by-repeat-auto-fill.txt b/Tests/LibWeb/Layout/expected/grid/fixed-tracks-followed-by-repeat-auto-fill.txt
index e1b440e73b3..87008b08655 100644
--- a/Tests/LibWeb/Layout/expected/grid/fixed-tracks-followed-by-repeat-auto-fill.txt
+++ b/Tests/LibWeb/Layout/expected/grid/fixed-tracks-followed-by-repeat-auto-fill.txt
@@ -2,58 +2,38 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 34 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 34 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [18,18] [0+0+10 80 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [55.21875,18 5.546875x14] baseline: 11.203125
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [128,18] [0+0+10 80 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [164.140625,18 7.71875x14] baseline: 11.203125
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [238,18] [0+0+10 33.78125 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [250.90625,18 7.953125x14] baseline: 11.203125
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [301.78125,18] [0+0+10 33.78125 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [315.28125,18 6.78125x14] baseline: 11.203125
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [365.5625,18] [0+0+10 33.78125 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [378.75,18 7.390625x14] baseline: 11.203125
"5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [429.34375,18] [0+0+10 33.78125 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [442.40625,18 7.640625x14] baseline: 11.203125
"6"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [493.125,18] [0+0+10 33.78125 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [506.203125,18 7.625x14] baseline: 11.203125
"7"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [556.90625,18] [0+0+10 33.78125 10+0+0] [0+0+10 14 10+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [569.640625,18 8.296875x14] baseline: 11.203125
"8"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,42] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/flexible-row-with-zero-minimum-honors-item-min-height.txt b/Tests/LibWeb/Layout/expected/grid/flexible-row-with-zero-minimum-honors-item-min-height.txt
index f7f3209db43..18ae9801149 100644
--- a/Tests/LibWeb/Layout/expected/grid/flexible-row-with-zero-minimum-honors-item-min-height.txt
+++ b/Tests/LibWeb/Layout/expected/grid/flexible-row-with-zero-minimum-honors-item-min-height.txt
@@ -3,43 +3,27 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 706 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 200 0+0+584] [0+0+0 100 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,118] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,118] [0+0+0 200 0+0+584] [0+0+0 100 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,118] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,118 32.140625x16] baseline: 12.796875
"text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,228] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,228] [0+0+0 200 0+0+584] [0+0+0 116 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,228] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [8,328] [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,328 40.1875x16] baseline: 12.796875
"after"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,354] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,354] [0+0+0 200 0+0+584] [0+0+0 100 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,354] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,464] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,464] [0+0+0 200 0+0+584] [0+0+0 0 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,464] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,474] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,474] [0+0+0 200 0+0+584] [0+0+0 100 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,474] [0+0+0 200 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,584] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,584] [0+0+0 200 0+0+584] [0+0+0 100 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,584] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,694] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,694] [0+0+0 80 0+0+704] [0+0+0 20 0+0+10] [GFC] children: not-inline
BlockContainer <div> at [8,694] [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,724] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x724] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt b/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt
index 1367469a0d3..b4661755508 100644
--- a/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/floating-table-wrapper-width.txt
@@ -23,8 +23,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [171.140625,8 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-area-non-token-parts-crash.txt b/Tests/LibWeb/Layout/expected/grid/grid-area-non-token-parts-crash.txt
index 55c0ace73da..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-area-non-token-parts-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-area-non-token-parts-crash.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-column-non-token-parts-crash.txt b/Tests/LibWeb/Layout/expected/grid/grid-column-non-token-parts-crash.txt
index 55c0ace73da..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-column-non-token-parts-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-column-non-token-parts-crash.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-item-block-fit-content-uses-content-width.txt b/Tests/LibWeb/Layout/expected/grid/grid-item-block-fit-content-uses-content-width.txt
index edc16d32cf9..888b0890c52 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-item-block-fit-content-uses-content-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-item-block-fit-content-uses-content-width.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from BlockContainer start: 0, length: 0, rect: [118,28 45x10] baseline: 10
BlockContainer <span> at [118,18] inline-block [0+0+0 45 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <span> at [118,28] inline-block [0+0+0 45 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,48] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [8,48] [0+0+0 100 0+0+0] [0+0+0 0 0+0+40] [BFC] children: not-inline
BlockContainer <div.item.orthogonal> at [118,58] [0+0+10 80 10+0+0] [0+0+10 20 10+0+0] [BFC] children: not-inline
@@ -18,8 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from BlockContainer start: 0, length: 0, rect: [118,68 45x10] baseline: 10
BlockContainer <span> at [118,58] inline-block [0+0+0 45 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <span> at [118,68] inline-block [0+0+0 45 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-item-fixed-paddings.txt b/Tests/LibWeb/Layout/expected/grid/grid-item-fixed-paddings.txt
index 869ecbd72e1..af4506c59fd 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-item-fixed-paddings.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-item-fixed-paddings.txt
@@ -2,34 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 366 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 350 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 350 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [68,68] [0+10+50 17.046875 50+10+0] [0+10+50 30 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [70.578125,68 11.890625x30] baseline: 24
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [255.046875,68] [0+10+50 16.53125 50+10+0] [0+10+50 30 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [255.046875,68 16.53125x30] baseline: 24
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [68,268] [0+10+50 17.046875 50+10+0] [0+10+50 30 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [68,268 17.046875x30] baseline: 24
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [255.046875,268] [0+10+50 16.53125 50+10+0] [0+10+50 30 50+10+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [256.046875,268 14.53125x30] baseline: 24
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,358] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x366] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-item-horizontal-margins-auto.txt b/Tests/LibWeb/Layout/expected/grid/grid-item-horizontal-margins-auto.txt
index dce94a0ccb2..88ac05c2f6b 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-item-horizontal-margins-auto.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-item-horizontal-margins-auto.txt
@@ -2,44 +2,30 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 422 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 404 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 500 0+1+278] [0+1+0 402 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left-margin-auto.right-margin-auto> at [99.71875,12] [87.71875+1+0 322.5625 0+1+87.71875] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 38, rect: [99.71875,12 322.5625x16] baseline: 12.796875
"auto horizontal margins and auto width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left-margin-auto> at [252.375,30] [240.375+1+0 257.625 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 31, rect: [252.375,30 257.625x16] baseline: 12.796875
"auto left margin and auto width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.right-margin-auto> at [12,48] [0+1+0 268.484375 0+1+229.515625] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 32, rect: [12,48 268.484375x16] baseline: 12.796875
"auto right margin and auto width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left-margin-auto.right-margin-auto.fit-content-width> at [75.25,66] [63.25+1+0 371.484375 0+1+63.25] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 45, rect: [75.25,66 371.484375x16] baseline: 12.796875
"auto horizontal margins and fit-content width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left-margin-auto.fit-content-width> at [203.453125,84] [191.453125+1+0 306.546875 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 38, rect: [203.453125,84 306.546875x16] baseline: 12.796875
"auto left margin and fit-content width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.right-margin-auto.fit-content-width> at [12,102] [0+1+0 317.40625 0+1+180.59375] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 39, rect: [12,102 317.40625x16] baseline: 12.796875
"auto right margin and fit-content width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left-margin-auto.right-margin-auto.fixed-width> at [236,120] [224+1+0 50 0+1+224] [0+1+0 96 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [236,120 36.328125x16] baseline: 12.796875
"auto"
@@ -54,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 5 from TextNode start: 34, length: 5, rect: [236,200 39.796875x16] baseline: 12.796875
"width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.left-margin-auto.fixed-width> at [460,218] [448+1+0 50 0+1+0] [0+1+0 96 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [460,218 36.328125x16] baseline: 12.796875
"auto"
@@ -70,8 +54,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 5 from TextNode start: 27, length: 5, rect: [460,298 39.796875x16] baseline: 12.796875
"width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.right-margin-auto.fixed-width> at [12,316] [0+1+0 50 0+1+448] [0+1+0 96 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,316 36.328125x16] baseline: 12.796875
"auto"
@@ -86,10 +68,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 5 from TextNode start: 28, length: 5, rect: [12,396 39.796875x16] baseline: 12.796875
"width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,414] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x422] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-item-vertical-padding-and-margin-percentages.txt b/Tests/LibWeb/Layout/expected/grid/grid-item-vertical-padding-and-margin-percentages.txt
index 454b60e7c69..705ad5b13c7 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-item-vertical-padding-and-margin-percentages.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-item-vertical-padding-and-margin-percentages.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <body> at [8,8] [8+0+0 500 0+0+292] [8+0+0 450 0+0+8] [GFC] children: not-inline
BlockContainer <div.a> at [8,183] [0+0+0 500 0+0+0] [50+0+125 0 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [8,183] [0+0+0 500 0+0+0] [0+0+0 0 175+0+100] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x466] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-placement-shorthand-single-custom-ident.txt b/Tests/LibWeb/Layout/expected/grid/grid-placement-shorthand-single-custom-ident.txt
index 2e6710c911a..166777571ca 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-placement-shorthand-single-custom-ident.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-placement-shorthand-single-custom-ident.txt
@@ -2,20 +2,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 132 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 116 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 116 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.headline> at [8,8] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [8,8 65.28125x16] baseline: 12.796875
"Headline"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.content> at [8,24] [0+0+0 400 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [8,24 62.328125x16] baseline: 12.796875
"Content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x132] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-row-overflow-crash.txt b/Tests/LibWeb/Layout/expected/grid/grid-row-overflow-crash.txt
index d0c8ba0c2be..1cbd083e049 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-row-overflow-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-row-overflow-crash.txt
@@ -2,13 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
Box <div> at [8,8] positioned [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] positioned [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-row-start-non-token-parts-crash.txt b/Tests/LibWeb/Layout/expected/grid/grid-row-start-non-token-parts-crash.txt
index 55c0ace73da..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-row-start-non-token-parts-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-row-start-non-token-parts-crash.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-template.txt b/Tests/LibWeb/Layout/expected/grid/grid-template.txt
index edad4ee9b37..012fe186985 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-template.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-template.txt
@@ -2,52 +2,27 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <div.mw-page-container-inner> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.vector-main-menu-container> at [8,8] [0+0+0 196 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.vector-sitenotice-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.mw-content-container> at [204,8] [0+0+0 588 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.mw-footer-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
Box <section#page> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <header> at [8,8] [0+0+0 784 0+0+0] [0+0+0 30 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [8,8 55.703125x16] baseline: 12.796875
"Header"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <nav> at [8,38] [0+0+0 120 0+0+0] [0+0+0 170 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,38 80.6875x16] baseline: 12.796875
"Navigation"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <main> at [128,38] [0+0+0 664 0+0+0] [0+0+0 140 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [128,38 79.515625x16] baseline: 12.796875
"Main area"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <footer> at [128,178] [0+0+0 664 0+0+0] [0+0+0 30 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [128,178 57.671875x16] baseline: 12.796875
"Footer"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/grid-with-min-content-max-width.txt b/Tests/LibWeb/Layout/expected/grid/grid-with-min-content-max-width.txt
index b2c55797d39..6f5e73fcdef 100644
--- a/Tests/LibWeb/Layout/expected/grid/grid-with-min-content-max-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/grid-with-min-content-max-width.txt
@@ -70,8 +70,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"hello"
TextNode <#text> (not painted)
BlockContainer <div> at [8,520] [0+0+0 36.84375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,520] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x528] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt b/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt
index 03f186d59c8..cd5ab928869 100644
--- a/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt
+++ b/Tests/LibWeb/Layout/expected/grid/image-in-grid.txt
@@ -2,15 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 24 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 24 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.wrapper> at [8,8] [0+0+0 64 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 64x24] baseline: 24
- TextNode <#text> (not painted)
ImageBox <img> at [8,8] [0+0+0 64 0+0+0] [0+0+0 24 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/image-with-percentage-width-and-auto-height.txt b/Tests/LibWeb/Layout/expected/grid/image-with-percentage-width-and-auto-height.txt
index f86c3ed2883..f23bc30bec8 100644
--- a/Tests/LibWeb/Layout/expected/grid/image-with-percentage-width-and-auto-height.txt
+++ b/Tests/LibWeb/Layout/expected/grid/image-with-percentage-width-and-auto-height.txt
@@ -2,11 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 66 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: not-inline
Box <div#item> at [8,8] [0+0+0 100 0+0+684] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [8,8] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x66] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/inline-abspos-item.txt b/Tests/LibWeb/Layout/expected/grid/inline-abspos-item.txt
index 3cb30144a7e..999dcc407a3 100644
--- a/Tests/LibWeb/Layout/expected/grid/inline-abspos-item.txt
+++ b/Tests/LibWeb/Layout/expected/grid/inline-abspos-item.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 537 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 521 0+0+8] children: not-inline
Box <div.grid> at [18,117] positioned [4+6+0 550 0+3+221] [1+9+100 400 0+12+3] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [18,117] [0+0+0 200 0+0+0] [0+0+0 150 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 5, length: 1, rect: [18,117 11.5625x16] baseline: 12.796875
"X"
@@ -16,11 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [41.125,133 23.125x16] baseline: 12.796875
"XX"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,532] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x537] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/inline-svg-cyclic-percentage-width.txt b/Tests/LibWeb/Layout/expected/grid/inline-svg-cyclic-percentage-width.txt
index 0fda87bef85..1785d3ff552 100644
--- a/Tests/LibWeb/Layout/expected/grid/inline-svg-cyclic-percentage-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/inline-svg-cyclic-percentage-width.txt
@@ -2,16 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 332 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 332 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 800 0+0+0] [0+0+0 332 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [0,16] [0+0+0 300 0+0+0] [16+0+0 300 0+0+16] [BFC] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [0,16 300x300] baseline: 300
SVGSVGBox <svg> at [0,16] [0+0+0 300 0+0+0] [0+0+0 300 0+0+0] viewport-transform=[3.030303 0 0 3.030303 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,332] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x332] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/intrinsic-sized-column.txt b/Tests/LibWeb/Layout/expected/grid/intrinsic-sized-column.txt
index 790f32941b3..7550b1bf604 100644
--- a/Tests/LibWeb/Layout/expected/grid/intrinsic-sized-column.txt
+++ b/Tests/LibWeb/Layout/expected/grid/intrinsic-sized-column.txt
@@ -1,12 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 34 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 34 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] floating [8+0+0 20 0+0+8] [8+0+0 18 0+0+8] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 20 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,8] [0+0+0 20 0+0+0] [0+0+0 18 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.whee> at [9,9] [0+1+0 18 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [9,9 37.953125x16] baseline: 12.796875
"whee"
diff --git a/Tests/LibWeb/Layout/expected/grid/intrinsic-sizing-uses-inline-grid-baseline.txt b/Tests/LibWeb/Layout/expected/grid/intrinsic-sizing-uses-inline-grid-baseline.txt
index b9abf0a3a39..1cb00b60e55 100644
--- a/Tests/LibWeb/Layout/expected/grid/intrinsic-sizing-uses-inline-grid-baseline.txt
+++ b/Tests/LibWeb/Layout/expected/grid/intrinsic-sizing-uses-inline-grid-baseline.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] children: not-inline
Box <div.row> at [0,0] flex-container(row) [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [0,0] flex-item [0+0+0 164.9375 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from Box start: 0, length: 0, rect: [13,1 48.203125x30] baseline: 20.203125
frag 1 from TextNode start: 0, length: 14, rect: [74.203125,8.5 90.734375x14] baseline: 11.203125
@@ -14,10 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Filters"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/item-column-span-2.txt b/Tests/LibWeb/Layout/expected/grid/item-column-span-2.txt
index 13999554060..bccf5be8ac5 100644
--- a/Tests/LibWeb/Layout/expected/grid/item-column-span-2.txt
+++ b/Tests/LibWeb/Layout/expected/grid/item-column-span-2.txt
@@ -2,21 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
Box <div.container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item-left> at [8,8] [0+0+0 100 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item-right> at [108,8] [0+0+0 684 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 77, rect: [108,8 625.953125x16] baseline: 12.796875
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut iaculis venenatis"
frag 1 from TextNode start: 78, length: 39, rect: [108,24 304.0625x16] baseline: 12.796875
"purus, eget blandit velit venenatis at."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/justify-content-cols.txt b/Tests/LibWeb/Layout/expected/grid/justify-content-cols.txt
index 4b001e675a9..b42550dee63 100644
--- a/Tests/LibWeb/Layout/expected/grid/justify-content-cols.txt
+++ b/Tests/LibWeb/Layout/expected/grid/justify-content-cols.txt
@@ -2,103 +2,33 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 288 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 260 0+0+8] children: not-inline
Box <div.grid.justify-start> at [8,8] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [84,8] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [160,8] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.justify-end> at [8,48] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [580,48] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [656,48] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [732,48] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.justify-center> at [8,88] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [294,88] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [370,88] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [446,88] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.justify-stretch> at [8,128] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,128] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [84,128] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [160,128] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.justify-space-around> at [8,168] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [108.671875,168] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [370,168] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [631.328125,168] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.justify-space-between> at [8,208] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,208] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [370,208] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [732,208] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.justify-space-evenly> at [8,248] [0+0+0 784 0+0+0] [0+0+0 20 0+0+20] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [159,248] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [370,248] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [581,248] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x288] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/justify-content-fr.txt b/Tests/LibWeb/Layout/expected/grid/justify-content-fr.txt
index f6abe795044..76f0877f2c3 100644
--- a/Tests/LibWeb/Layout/expected/grid/justify-content-fr.txt
+++ b/Tests/LibWeb/Layout/expected/grid/justify-content-fr.txt
@@ -2,103 +2,33 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 252 0+0+0] [BFC] children: not-inline
Box <body> at [28,28] flex-container(row) [8+0+20 744 20+0+8] [8+0+20 196 20+0+8] [FFC] children: not-inline
Box <div.container> at [30,30] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,30] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [135,30] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [240,30] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [354,30] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [354,30] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [459,30] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [564,30] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [30,84] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,84] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [135,84] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [240,84] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [354,84] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [354,84] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [459,84] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [564,84] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [30,138] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,138] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [135,138] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [240,138] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [354,138] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [354,138] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [459,138] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [564,138] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [30,192] flex-item [0+2+0 300 0+2+0] [0+2+0 30 0+2+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [30,192] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [135,192] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [240,192] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x252] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/justify-content.txt b/Tests/LibWeb/Layout/expected/grid/justify-content.txt
index f416fb05713..8723d5c3745 100644
--- a/Tests/LibWeb/Layout/expected/grid/justify-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid/justify-content.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [400,8 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [8,24] [0+0+0 392 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [8,24 67.96875x16] baseline: 12.796875
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [400,24 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [8,40] [0+0+0 67.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [8,40 67.96875x16] baseline: 12.796875
@@ -32,8 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [75.96875,40 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [332.03125,56] [0+0+0 67.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [332.03125,56 67.96875x16] baseline: 12.796875
@@ -43,8 +37,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [400,56 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,72] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [656.0625,72] [0+0+0 67.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [656.0625,72 67.96875x16] baseline: 12.796875
@@ -54,8 +46,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [724.03125,72 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,88] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [8,88] [0+0+0 67.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [8,88 67.96875x16] baseline: 12.796875
@@ -65,8 +55,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [75.96875,88 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.container> at [8,104] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [656.0625,104] [0+0+0 67.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [656.0625,104 67.96875x16] baseline: 12.796875
@@ -76,8 +64,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [724.03125,104 67.96875x16] baseline: 12.796875
"wikipedia"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x128] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/justify-items.txt b/Tests/LibWeb/Layout/expected/grid/justify-items.txt
index c4e19d0ba36..db65027cf22 100644
--- a/Tests/LibWeb/Layout/expected/grid/justify-items.txt
+++ b/Tests/LibWeb/Layout/expected/grid/justify-items.txt
@@ -1,43 +1,31 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 118 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 100 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.start> at [11,11] [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [GFC] children: not-inline
BlockContainer <div> at [12,12] [0+1+0 43.859375 0+1+732.140625] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [12,12 43.859375x16] baseline: 12.796875
"Start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,30] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.center> at [11,31] [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [GFC] children: not-inline
BlockContainer <div> at [373.46875,32] [361.46875+1+0 53.046875 0+1+361.46875] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [373.46875,32 53.046875x16] baseline: 12.796875
"Center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,50] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.end> at [11,51] [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [GFC] children: not-inline
BlockContainer <div> at [758.671875,52] [746.671875+1+0 29.328125 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [758.671875,52 29.328125x16] baseline: 12.796875
"End"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,70] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.left> at [11,71] [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [GFC] children: not-inline
BlockContainer <div> at [12,72] [0+1+0 32.875 0+1+743.125] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,72 32.875x16] baseline: 12.796875
"Left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,90] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.right> at [11,91] [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [GFC] children: not-inline
BlockContainer <div> at [746.03125,92] [734.03125+1+0 41.96875 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [746.03125,92 41.96875x16] baseline: 12.796875
"Right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,110] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x118] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/justify-self.txt b/Tests/LibWeb/Layout/expected/grid/justify-self.txt
index 1f0f66ecdb5..9a560ecb9b5 100644
--- a/Tests/LibWeb/Layout/expected/grid/justify-self.txt
+++ b/Tests/LibWeb/Layout/expected/grid/justify-self.txt
@@ -1,38 +1,26 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 108 0+1+0] [BFC] children: not-inline
Box <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 90 0+1+8] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [11,11] [0+1+0 43.859375 0+1+734.140625] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [11,11 43.859375x16] baseline: 12.796875
"Start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [373.46875,29] [362.46875+1+0 53.046875 0+1+362.46875] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [373.46875,29 53.046875x16] baseline: 12.796875
"Center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [759.671875,47] [748.671875+1+0 29.328125 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [759.671875,47 29.328125x16] baseline: 12.796875
"End"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [11,65] [0+1+0 32.875 0+1+745.125] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [11,65 32.875x16] baseline: 12.796875
"Left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [747.03125,83] [736.03125+1+0 41.96875 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [747.03125,83 41.96875x16] baseline: 12.796875
"Right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x108] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span-negative.txt b/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span-negative.txt
index c8f6b5bdc57..13d15bbe657 100644
--- a/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span-negative.txt
+++ b/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span-negative.txt
@@ -1,23 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 164 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 148 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.wrapper> at [8,8] [0+0+0 784 0+0+0] [0+0+0 148 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.a> at [28,38] [0+0+20 60 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,38 21.40625x24] baseline: 19.1875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.b> at [28,112] [0+0+20 60 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,112 14.015625x24] baseline: 19.1875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x164] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span.txt b/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span.txt
index dbe7799bee3..edc69eae655 100644
--- a/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span.txt
+++ b/Tests/LibWeb/Layout/expected/grid/line-based-placement-named-lines-with-span.txt
@@ -1,41 +1,27 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 228 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 212 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.wrapper> at [8,8] [0+0+0 784 0+0+0] [0+0+0 212 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.a> at [28,28] [0+0+20 170 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,28 21.40625x24] baseline: 19.1875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.b> at [248,28] [0+0+20 170 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [248,28 14.015625x24] baseline: 19.1875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.c> at [28,102] [0+0+20 60 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,102 15.46875x24] baseline: 19.1875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.d> at [138,102] [0+0+20 280 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [138,102 16.71875x24] baseline: 19.1875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.e> at [28,176] [0+0+20 390 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,176 17.796875x24] baseline: 19.1875
"E"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x228] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/line-based-with-repeat.txt b/Tests/LibWeb/Layout/expected/grid/line-based-with-repeat.txt
index dbe7799bee3..edc69eae655 100644
--- a/Tests/LibWeb/Layout/expected/grid/line-based-with-repeat.txt
+++ b/Tests/LibWeb/Layout/expected/grid/line-based-with-repeat.txt
@@ -1,41 +1,27 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 228 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 212 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.wrapper> at [8,8] [0+0+0 784 0+0+0] [0+0+0 212 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.a> at [28,28] [0+0+20 170 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,28 21.40625x24] baseline: 19.1875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.b> at [248,28] [0+0+20 170 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [248,28 14.015625x24] baseline: 19.1875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.c> at [28,102] [0+0+20 60 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,102 15.46875x24] baseline: 19.1875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.d> at [138,102] [0+0+20 280 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [138,102 16.71875x24] baseline: 19.1875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.box.e> at [28,176] [0+0+20 390 20+0+0] [0+0+20 24 20+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28,176 17.796875x24] baseline: 19.1875
"E"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x228] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/maximize-tracks-retries-at-container-max-width.txt b/Tests/LibWeb/Layout/expected/grid/maximize-tracks-retries-at-container-max-width.txt
index 850f4e4b8b4..5c56d2bf044 100644
--- a/Tests/LibWeb/Layout/expected/grid/maximize-tracks-retries-at-container-max-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/maximize-tracks-retries-at-container-max-width.txt
@@ -2,11 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: not-inline
BlockContainer <div.wrapper> at [8,8] [0+0+0 240 0+0+544] [0+0+0 48 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 240 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [8,8] [0+0+0 240 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 120 0+0+0] [0+0+0 48 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,8 115.625x16] baseline: 12.796875
"XXXXXXXXXX"
@@ -15,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 22, length: 10, rect: [8,40 115.625x16] baseline: 12.796875
"XXXXXXXXXX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [128,8] [0+0+0 120 0+0+0] [0+0+0 48 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [128,8 115.625x16] baseline: 12.796875
"XXXXXXXXXX"
@@ -25,12 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 22, length: 10, rect: [128,40 115.625x16] baseline: 12.796875
"XXXXXXXXXX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 240 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/min-height-from-text.txt b/Tests/LibWeb/Layout/expected/grid/min-height-from-text.txt
index ab42895b0c1..dc65de5a327 100644
--- a/Tests/LibWeb/Layout/expected/grid/min-height-from-text.txt
+++ b/Tests/LibWeb/Layout/expected/grid/min-height-from-text.txt
@@ -14,14 +14,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 4 from TextNode start: 245, length: 31, rect: [435.265625,40 255.859375x16] baseline: 12.796875
"rhoncus, vestibulum vel tortor."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.footer> at [8,56] flex-item [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 27, rect: [8,56 232.140625x16] baseline: 12.796875
"Lorem ipsum dolor sit amet."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x66] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/min-max-content.txt b/Tests/LibWeb/Layout/expected/grid/min-max-content.txt
index 87c09ca5d2b..089b44286d5 100644
--- a/Tests/LibWeb/Layout/expected/grid/min-max-content.txt
+++ b/Tests/LibWeb/Layout/expected/grid/min-max-content.txt
@@ -2,28 +2,20 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 30.453125 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,8 32.859375x16] baseline: 12.796875
"min-"
frag 1 from TextNode start: 4, length: 7, rect: [8,24 60.90625x16] baseline: 12.796875
"content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [68.90625,8] [0+0+0 98.640625 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [68.90625,8 98.640625x16] baseline: 12.796875
"max-content"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [167.546875,8] [0+0+0 624.453125 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [167.546875,8 21.609375x16] baseline: 12.796875
"1fr"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/minmax-non-token-contents-crash.txt b/Tests/LibWeb/Layout/expected/grid/minmax-non-token-contents-crash.txt
index 55c0ace73da..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/grid/minmax-non-token-contents-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/minmax-non-token-contents-crash.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/mixed-alignment-fr-tracks.txt b/Tests/LibWeb/Layout/expected/grid/mixed-alignment-fr-tracks.txt
index 820ba86ff51..60d250ee9c7 100644
--- a/Tests/LibWeb/Layout/expected/grid/mixed-alignment-fr-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/mixed-alignment-fr-tracks.txt
@@ -2,46 +2,30 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 220 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 202 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 300 0+1+478] [0+1+0 200 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [12,12 58.796875x16] baseline: 12.796875
"stretch"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,12] [0+1+0 98 0+1+0] [0+1+0 16 0+1+82] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [112,12 41.234375x16] baseline: 12.796875
"start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [212,53] [0+1+0 98 0+1+0] [41+1+0 16 0+1+41] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [212,53 51.625x16] baseline: 12.796875
"center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,194] [0+1+0 98 0+1+0] [82+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,194 26.1875x16] baseline: 12.796875
"end"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,112] [0+1+0 54.171875 0+1+43.828125] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [112,112 54.171875x16] baseline: 12.796875
"j-start"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [228.71875,112] [16.71875+1+0 64.5625 0+1+16.71875] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [228.71875,112 64.5625x16] baseline: 12.796875
"j-center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,212] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x220] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/negative-grid-item-column-index.txt b/Tests/LibWeb/Layout/expected/grid/negative-grid-item-column-index.txt
index e72f5edc465..5f15bcf42b9 100644
--- a/Tests/LibWeb/Layout/expected/grid/negative-grid-item-column-index.txt
+++ b/Tests/LibWeb/Layout/expected/grid/negative-grid-item-column-index.txt
@@ -2,64 +2,42 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 64 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 784 0+0+0] [0+0+0 64 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.a> at [8,8] [0+0+0 196.453125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.34375x16] baseline: 12.796875
"a"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [204.453125,8] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [204.453125,8 8.890625x16] baseline: 12.796875
"c"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [400.453125,8] [0+0+0 196.578125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.453125,8 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [400.453125,24] [0+0+0 196.578125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.453125,24 9.46875x16] baseline: 12.796875
"b"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.d> at [597.03125,24] [0+0+0 194.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [597.03125,24 7.859375x16] baseline: 12.796875
"d"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [204.453125,40] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [204.453125,40 8.890625x16] baseline: 12.796875
"c"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.d> at [597.03125,40] [0+0+0 194.96875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [597.03125,40 7.859375x16] baseline: 12.796875
"d"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.e> at [8,56] [0+0+0 196.453125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,56 8.71875x16] baseline: 12.796875
"e"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.f> at [204.453125,56] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [204.453125,56 6.4375x16] baseline: 12.796875
"f"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x80] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/nested-grid-flex-track-minimum-contribution.txt b/Tests/LibWeb/Layout/expected/grid/nested-grid-flex-track-minimum-contribution.txt
index dc2ac530210..d204be6b82e 100644
--- a/Tests/LibWeb/Layout/expected/grid/nested-grid-flex-track-minimum-contribution.txt
+++ b/Tests/LibWeb/Layout/expected/grid/nested-grid-flex-track-minimum-contribution.txt
@@ -2,27 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
Box <div.parent> at [8,8] [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.outer> at [8,8] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.inner> at [8,8] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.middle> at [48,8] flex-container(row) [0+0+0 260 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
BlockContainer <div.content> at [48,8] flex-item [0+0+0 260 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/nested-grid-limited-contribution-fit-content-row.txt b/Tests/LibWeb/Layout/expected/grid/nested-grid-limited-contribution-fit-content-row.txt
index f8a62c2a98e..33ff74bbf9d 100644
--- a/Tests/LibWeb/Layout/expected/grid/nested-grid-limited-contribution-fit-content-row.txt
+++ b/Tests/LibWeb/Layout/expected/grid/nested-grid-limited-contribution-fit-content-row.txt
@@ -2,28 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 160 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 160 0+0+0] children: not-inline
Box <div.outer> at [0,0] [0+0+0 800 0+0+0] [0+0+0 160 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.inner> at [300,0] [0+0+0 200 0+0+0] [0+0+0 160 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.span> at [300,0] [0+0+0 95 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.top> at [405,0] [0+0+0 95 0+0+0] [0+0+0 70 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.middle> at [405,80] [0+0+0 95 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.feed> at [300,110] [0+0+0 200 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline overflow: [300,110 200x300]
BlockContainer <div> at [300,110] [0+0+0 200 0+0+0] [0+0+0 300 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,160] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x160] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/nested-grid-stretch-fr-tracks.txt b/Tests/LibWeb/Layout/expected/grid/nested-grid-stretch-fr-tracks.txt
index 5037d34692b..359c931a5c9 100644
--- a/Tests/LibWeb/Layout/expected/grid/nested-grid-stretch-fr-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/nested-grid-stretch-fr-tracks.txt
@@ -2,45 +2,27 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 220 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 202 0+1+8] children: not-inline
Box <div.outer-grid> at [11,11] [0+1+0 400 0+1+378] [0+1+0 200 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.inner-grid> at [12,12] [0+1+0 198 0+1+0] [0+1+0 198 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [13,13] [0+1+0 97 0+1+0] [0+1+0 97 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [13,13 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,13] [0+1+0 97 0+1+0] [0+1+0 97 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,13 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [13,112] [0+1+0 97 0+1+0] [0+1+0 97 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [13,112 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,112] [0+1+0 97 0+1+0] [0+1+0 97 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,112 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [212,12] [0+1+0 198 0+1+0] [0+1+0 198 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [212,12 11.859375x16] baseline: 12.796875
"E"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,212] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x220] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/order.txt b/Tests/LibWeb/Layout/expected/grid/order.txt
index e0e617d369c..d5338ae6cc8 100644
--- a/Tests/LibWeb/Layout/expected/grid/order.txt
+++ b/Tests/LibWeb/Layout/expected/grid/order.txt
@@ -2,28 +2,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 122 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 104 0+1+8] children: not-inline
Box <div.grid-container> at [11,11] [0+1+0 778 0+1+0] [0+1+0 102 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-1> at [271.328125,12] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [271.328125,12 7.9375x20] baseline: 16
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-2> at [530.65625,12] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [530.65625,12 11.015625x20] baseline: 16
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-3> at [12,12] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [12,12 11.375x20] baseline: 16
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,114] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x122] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/place-self-anchor-center.txt b/Tests/LibWeb/Layout/expected/grid/place-self-anchor-center.txt
index 9ddb8fe4a83..80efe552a91 100644
--- a/Tests/LibWeb/Layout/expected/grid/place-self-anchor-center.txt
+++ b/Tests/LibWeb/Layout/expected/grid/place-self-anchor-center.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.grid> at [9,9] [0+1+0 782 0+1+0] [0+1+0 100 0+1+0] [GFC] children: not-inline
BlockContainer <div.item> at [34,49] [25+0+0 50 0+0+25] [40+0+0 20 0+0+40] [BFC] children: not-inline
BlockContainer <div.item> at [134,49] [25+0+0 50 0+0+25] [40+0+0 20 0+0+40] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,110] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x118] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/place-self.txt b/Tests/LibWeb/Layout/expected/grid/place-self.txt
index fc3e44b2215..703e8c8ad3f 100644
--- a/Tests/LibWeb/Layout/expected/grid/place-self.txt
+++ b/Tests/LibWeb/Layout/expected/grid/place-self.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [399.765625,42 52.671875x16] baseline: 12.796875
"Start2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,90] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [31,111] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div.center> at [180.1875,122] [148.1875+1+0 59.390625 0+1+148.1875] [10+1+0 16 0+1+10] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [180.1875,122 59.390625x16] baseline: 12.796875
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [399.765625,122 61.859375x16] baseline: 12.796875
"Center2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,170] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [31,191] [0+1+20 738 20+1+0] [0+1+20 38 20+1+0] [GFC] children: not-inline
BlockContainer <div.end> at [352.09375,212] [320.09375+1+0 35.671875 0+1+0] [20+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [352.09375,212 35.671875x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/grid/placement-auto-negative.txt b/Tests/LibWeb/Layout/expected/grid/placement-auto-negative.txt
index ac19514d339..2a06856ed8c 100644
--- a/Tests/LibWeb/Layout/expected/grid/placement-auto-negative.txt
+++ b/Tests/LibWeb/Layout/expected/grid/placement-auto-negative.txt
@@ -2,16 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: not-inline
Box <div.a> at [8,8] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [8,8] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [56,8] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-conflicting-height-constraints.txt b/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-conflicting-height-constraints.txt
index 7575f29e1d4..e7bd2810619 100644
--- a/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-conflicting-height-constraints.txt
+++ b/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-conflicting-height-constraints.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Viewport <#document> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[100 0 0 100 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-size-transfer-matrix.txt b/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-size-transfer-matrix.txt
index 094ffe6358d..120d9f5ffd5 100644
--- a/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-size-transfer-matrix.txt
+++ b/Tests/LibWeb/Layout/expected/grid/ratio-only-replaced-item-size-transfer-matrix.txt
@@ -7,152 +7,114 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[16 0 0 16 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,24] [0+0+0 64 0+0+720] [0+0+0 21 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-calculated-preferred> at [8,24] [0+0+0 42 0+0+0] [0+0+0 21 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 42 0+0+0] [0+0+0 21 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 42 0+0+0] [0+0+0 21 0+0+0] viewport-transform=[21 0 0 21 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,45] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,45] [0+0+0 80 0+0+704] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.fixed-preferred> at [8,45] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[32 0 0 32 8 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,77] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,77] [0+0+0 80 0+0+704] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.calculated-preferred> at [8,77] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[32 0 0 32 8 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,109] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,109] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.transferred-minimum> at [8,109] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[100 0 0 100 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,209] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,209] [0+0+0 30 0+0+754] [0+0+0 10 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-calculated-transferred-minimum> at [8,209] [0+0+0 30 0+0+0] [0+0+0 15 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 30 0+0+0] [0+0+0 15 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 30 0+0+0] [0+0+0 15 0+0+0] viewport-transform=[15 0 0 15 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,219] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,219] [0+0+0 150 0+0+634] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.capped-transferred-minimum> at [8,219] [0+0+0 150 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 150 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 150 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[75 0 0 75 0 12.5] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,319] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,319] [0+0+0 150 0+0+634] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.calculated-capped-transferred-minimum> at [8,319] [0+0+0 150 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 150 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 150 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[75 0 0 75 0 12.5] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,419] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,419] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-maximum> at [8,419] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[50 0 0 50 0 25] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,519] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,519] [0+0+0 10 0+0+774] [0+0+0 2 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-minimum> at [8,519] [0+0+0 15 0+0+0] [0+0+0 2 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 15 0+0+0] [0+0+0 2 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 15 0+0+0] [0+0+0 2 0+0+0] viewport-transform=[2 0 0 2 5.5 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,521] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,521] [0+0+0 0 0+0+784] [0+0+0 0 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-zero-minimum> at [8,521] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[0 0 0 0 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,521] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,521] [0+0+0 0 0+0+784] [0+0+0 0 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-zero-calculated-minimum> at [8,521] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[0 0 0 0 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,521] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,521] [0+0+0 80 0+0+704] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.calculated-minimum> at [8,521] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 80 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[32 0 0 32 8 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,553] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,553] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.fixed-minimum-only> at [8,553] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[100 0 0 100 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,653] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,653] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.calculated-minimum-only> at [8,653] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[100 0 0 100 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,753] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,753] [0+0+0 84 0+0+700] [0+0+0 52 0+0+0] [GFC] children: not-inline
ImageBox <img.border-box-maximum> at [18,763] [0+10+0 64 0+10+0] [0+10+0 32 0+10+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[32 0 0 32 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,805] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.definite-height> at [8,805] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.percentage-maximum> at [8,805] [0+0+0 100 0+0+0] [0+0+0 50 0+0+50] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] viewport-transform=[50 0 0 50 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,905] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.available-width> at [8,905] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-preferred> at [8,905] [0+0+0 32 0+0+0] [0+0+0 16 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[16 0 0 16 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,921] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.available-width> at [8,921] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-zero-minimum> at [8,921] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[0 0 0 0 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,921] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x929] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/relative-position-grid-item-with-percentage-insets.txt b/Tests/LibWeb/Layout/expected/grid/relative-position-grid-item-with-percentage-insets.txt
index 975f7ae4c06..926f59369dd 100644
--- a/Tests/LibWeb/Layout/expected/grid/relative-position-grid-item-with-percentage-insets.txt
+++ b/Tests/LibWeb/Layout/expected/grid/relative-position-grid-item-with-percentage-insets.txt
@@ -2,38 +2,26 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 318 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 302 0+0+8] children: not-inline
Box <div.grid-container> at [9,9] [0+1+0 300 0+1+482] [0+1+0 300 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [20,20] flex-container(row) [0+1+10 123 10+1+0] [0+1+10 123 10+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [58.140625,73.5] flex-item [0+0+0 46.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [58.140625,73.5 46.71875x16] baseline: 12.796875
"Item 1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item.relative-item> at [247.5,92.5] positioned flex-container(row) [0+1+10 123 10+1+0] [0+1+10 123 10+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [284.40625,146] flex-item [0+0+0 49.1875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [284.40625,146 49.1875x16] baseline: 12.796875
"Item 2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [20,175] flex-container(row) [0+1+10 123 10+1+0] [0+1+10 123 10+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [56.765625,228.5] flex-item [0+0+0 49.46875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [56.765625,228.5 49.46875x16] baseline: 12.796875
"Item 3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [175,175] flex-container(row) [0+1+10 123 10+1+0] [0+1+10 123 10+1+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [212.4375,228.5] flex-item [0+0+0 48.125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [212.4375,228.5 48.125x16] baseline: 12.796875
"Item 4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,310] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x318] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/repeat-auto-fit-fill-cannot-have-auto.txt b/Tests/LibWeb/Layout/expected/grid/repeat-auto-fit-fill-cannot-have-auto.txt
index 4a9bee272a9..0fadbdc154c 100644
--- a/Tests/LibWeb/Layout/expected/grid/repeat-auto-fit-fill-cannot-have-auto.txt
+++ b/Tests/LibWeb/Layout/expected/grid/repeat-auto-fit-fill-cannot-have-auto.txt
@@ -2,45 +2,27 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.four> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [204,8] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [204,8 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [400,8] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400,8 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [596,8] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [596,8 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 196 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 11.859375x16] baseline: 12.796875
"E"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/repeat-non-token-contents-crash.txt b/Tests/LibWeb/Layout/expected/grid/repeat-non-token-contents-crash.txt
index 55c0ace73da..0bd176dea63 100644
--- a/Tests/LibWeb/Layout/expected/grid/repeat-non-token-contents-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/repeat-non-token-contents-crash.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/repeat.txt b/Tests/LibWeb/Layout/expected/grid/repeat.txt
index 99033bbcba0..0de9c2bcb6b 100644
--- a/Tests/LibWeb/Layout/expected/grid/repeat.txt
+++ b/Tests/LibWeb/Layout/expected/grid/repeat.txt
@@ -2,75 +2,47 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 232 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 216 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 392 0+0+0] [0+0+0 200 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400,8] [0+0+0 392 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400,108] [0+0+0 196 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400,108 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [596,108] [0+0+0 196 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [596,108 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400,158] [0+0+0 196 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400,158 8.453125x16] baseline: 12.796875
"5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [596,158] [0+0+0 196 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [596,158 8.734375x16] baseline: 12.796875
"6"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
Box <div.grid-container> at [8,208] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,208] [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,208 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [58,208] [0+0+0 50 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [58,208 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [108,208] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [108,208 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [208,208] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [208,208 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x232] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/replaced-item-percentage-max-width-min-content-contribution.txt b/Tests/LibWeb/Layout/expected/grid/replaced-item-percentage-max-width-min-content-contribution.txt
index 9a9b3598df0..c72396c9056 100644
--- a/Tests/LibWeb/Layout/expected/grid/replaced-item-percentage-max-width-min-content-contribution.txt
+++ b/Tests/LibWeb/Layout/expected/grid/replaced-item-percentage-max-width-min-content-contribution.txt
@@ -2,49 +2,25 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 516.015625 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 500.015625 0+0+8] children: not-inline
Box <div.outer> at [8,8] [0+0+0 1400 0+0+-616] [0+0+0 400.015625 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 700 0+0+0] [0+0+0 400.015625 0+0+0] [BFC] children: not-inline
Box <div.inner> at [8,8] [0+0+0 700 0+0+0] [0+0+0 400.015625 0+0+0] [GFC] children: not-inline
CanvasBox <canvas> at [8,8] [0+0+0 700.03125 0+0+0] [0+0+0 400.015625 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [708,8] [0+0+0 700 0+0+0] [0+0+0 400.015625 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [708,8 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,408.015625] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.min-content-track> at [8,408.015625] [0+0+0 400 0+0+384] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
CanvasBox <canvas.with-margins> at [58,408.015625] [50+0+0 100 0+0+50] [0+0+0 50 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [108,408.015625] [0+0+0 300 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [108,408.015625 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,458.015625] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.min-content-track> at [8,458.015625] [0+0+0 400 0+0+384] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
CanvasBox <canvas.border-box> at [18,468.015625] [0+0+10 130 10+0+0] [0+0+10 30 10+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [108,458.015625] [0+0+0 300 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [108,458.015625 37.109375x16] baseline: 12.796875
"right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,508.015625] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x516.015625] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/replaced-item-preferred-ratio-source-matrix.txt b/Tests/LibWeb/Layout/expected/grid/replaced-item-preferred-ratio-source-matrix.txt
index 772be080f0c..f3c65944103 100644
--- a/Tests/LibWeb/Layout/expected/grid/replaced-item-preferred-ratio-source-matrix.txt
+++ b/Tests/LibWeb/Layout/expected/grid/replaced-item-preferred-ratio-source-matrix.txt
@@ -6,155 +6,111 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[16 0 0 16 0 8] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,40] [0+0+0 64 0+0+720] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio> at [8,40] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,72] [0+0+0 64 0+0+720] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.calculated-maximum> at [8,72] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,104] [0+0+0 800 0+0+-16] [0+0+0 400 0+0+0] [GFC] children: not-inline
ImageBox <img.unconstrained> at [8,104] [0+0+0 800 0+0+0] [0+0+0 400 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[16 0 0 16 0 8] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,504] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,504] [0+0+0 800 0+0+-16] [0+0+0 400 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.unconstrained> at [8,504] [0+0+0 800 0+0+0] [0+0+0 400 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,904] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,904] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.minimum-only> at [8,904] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1004] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1004] [0+0+0 220 0+0+564] [0+0+0 120 0+0+0] [GFC] children: not-inline
ImageBox <img.border-box-minimum-only> at [18,1014] [0+10+0 200 0+10+0] [0+10+0 100 0+10+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[16 0 0 16 0 8] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1124] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1124] [0+0+0 240 0+0+544] [0+0+0 120 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.border-box-minimum-only> at [18,1134] [0+10+0 220 0+10+0] [0+10+0 100 0+10+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1244] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.definite-height> at [8,1244] [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] [GFC] children: not-inline
ImageBox <img.percentage-minimum-only> at [8,1244] [0+0+0 200 0+0+0] [0+0+0 100 0+0+100] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[16 0 0 16 0 8] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1444] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.definite-height> at [8,1444] [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.percentage-minimum-only> at [8,1444] [0+0+0 200 0+0+0] [0+0+0 100 0+0+100] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1644] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1644] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.conflicting-heights> at [8,1644] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1744] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1744] [0+0+0 300 0+0+484] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-zero-minimum> at [8,1744] [0+0+0 300 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1776] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1776] [0+0+0 300 0+0+484] [0+0+0 2 0+0+0] [GFC] children: not-inline
ImageBox <img.cyclic-calculated-minimum> at [8,1776] [0+0+0 300 0+0+0] [0+0+0 2 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1778] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1778] [0+0+0 0 0+0+784] [0+0+0 0 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.cyclic-zero-minimum> at [8,1778] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1778] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1778] [0+0+0 0 0+0+784] [0+0+0 0 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.cyclic-zero-minimum.unconstrained> at [8,1778] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1778] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1778] [0+0+0 10 0+0+774] [0+0+0 2 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.cyclic-calculated-minimum> at [8,1778] [0+0+0 15 0+0+0] [0+0+0 2 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1780] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1780] [0+0+0 64 0+0+720] [0+0+0 16 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.cyclic-preferred> at [8,1780] [0+0+0 32 0+0+0] [0+0+0 16 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1796] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1796] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.cyclic-maximum> at [8,1796] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1896] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1896] [0+0+0 20 0+0+764] [0+0+0 20 0+0+0] [GFC] children: not-inline
ImageBox <img.css-ratio.border-box-cyclic-minimum> at [18,1906] [0+10+0 0 0+10+0] [0+10+0 0 0+10+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1916] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1916] [0+0+0 32 0+0+752] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.css-override> at [8,1916] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[16 0 0 16 0 8] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1948] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1948] [0+0+0 64 0+0+720] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.css-auto-with-ratio> at [8,1948] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[16 0 0 16 0 8] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,1980] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,1980] [0+0+0 32 0+0+752] [0+0+0 32 0+0+0] [GFC] children: not-inline
ImageBox <img.css-auto-with-ratio> at [8,1980] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> at [8,2012] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x2020] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-gaps-with-overflowing-spans-crash.txt b/Tests/LibWeb/Layout/expected/grid/row-gaps-with-overflowing-spans-crash.txt
index 542ebb76d17..9989e7d24bf 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-gaps-with-overflowing-spans-crash.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-gaps-with-overflowing-spans-crash.txt
@@ -2,16 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: not-inline
Box <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-height.txt b/Tests/LibWeb/Layout/expected/grid/row-height.txt
index 7021a9f4bf9..19e8a5ad197 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-height.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-height.txt
@@ -2,32 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 82 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 66 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 66 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,8] [0+0+0 392.140625 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400.140625,8] [0+0+0 391.859375 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,8 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [8,58] [0+0+0 392.140625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,58 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item> at [400.140625,58] [0+0+0 391.859375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [400.140625,58 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x82] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-sized-by-flex-item-with-percentage-height-and-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/grid/row-sized-by-flex-item-with-percentage-height-and-aspect-ratio.txt
index b7dcb935fe8..fa9435e1a19 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-sized-by-flex-item-with-percentage-height-and-aspect-ratio.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-sized-by-flex-item-with-percentage-height-and-aspect-ratio.txt
@@ -2,26 +2,16 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 128.5 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 128.5 0+0+0] children: not-inline
Box <ul> at [0,0] [0+0+0 300 0+0+500] [0+0+0 112.5 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [0,0] [0+0+0 150 0+0+0] [0+0+0 112.5 0+0+0] [BFC] children: not-inline
Box <a> at [0,0] flex-container(row) [0+0+0 150 0+0+0] [0+0+0 112.5 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [0,0] flex-item [0+0+0 150 0+0+0] [0+0+0 112.5 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [150,0] [0+0+0 150 0+0+0] [0+0+0 112.5 0+0+0] [BFC] children: not-inline
Box <a> at [150,0] flex-container(row) [0+0+0 150 0+0+0] [0+0+0 112.5 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [150,0] flex-item [0+0+0 150 0+0+0] [0+0+0 112.5 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,112.5] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [0,112.5] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 40, rect: [0,112.5 341.84375x16] baseline: 12.796875
"The paragraph must not overlap the grid."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,128.5] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x128.5] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-span-2-maxcontent.txt b/Tests/LibWeb/Layout/expected/grid/row-span-2-maxcontent.txt
index 49541eae68b..04adb1ff214 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-span-2-maxcontent.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-span-2-maxcontent.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 304 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 288 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 288 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-one> at [401.46875,8] [0+0+0 390.53125 0+0+0] [0+0+0 120 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 40, rect: [401.46875,8 319.171875x16] baseline: 12.796875
"In a sollicitudin augue. Sed ante augue,"
@@ -14,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 134, length: 22, rect: [401.46875,56 182.8125x16] baseline: 12.796875
"at, consequat ut orci."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-two> at [401.46875,128] [0+0+0 390.53125 0+0+0] [0+0+0 168 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 43, rect: [401.46875,128 359.15625x16] baseline: 12.796875
"Suspendisse potenti. Pellentesque at varius"
@@ -32,8 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 6 from TextNode start: 260, length: 31, rect: [401.46875,224 242.921875x16] baseline: 12.796875
"bibendum nulla lectus ut felis."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-two> at [8,8] [0+0+0 393.46875 0+0+0] [0+0+0 288 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 39, rect: [8,8 337.6875x16] baseline: 12.796875
"Lorem ipsum dolor sit amet, consectetur"
@@ -72,8 +66,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 17 from TextNode start: 771, length: 36, rect: [8,280 294.90625x16] baseline: 12.796875
"cursus, vitae gravida mauris dictum."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x304] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-span-2-mincontent.txt b/Tests/LibWeb/Layout/expected/grid/row-span-2-mincontent.txt
index c4be791efee..07f9b46c786 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-span-2-mincontent.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-span-2-mincontent.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 528 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 512 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 512 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-one> at [108.640625,8] [0+0+0 101.515625 0+0+0] [0+0+0 224 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 4, rect: [108.640625,8 31.546875x16] baseline: 12.796875
"In a"
@@ -34,8 +32,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 13 from TextNode start: 148, length: 8, rect: [108.640625,216 61.609375x16] baseline: 12.796875
"ut orci."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-two> at [108.640625,232] [0+0+0 101.515625 0+0+0] [0+0+0 288 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 11, rect: [108.640625,232 98.65625x16] baseline: 12.796875
"Suspendisse"
@@ -74,8 +70,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 17 from TextNode start: 176, length: 3, rect: [108.640625,504 20.546875x16] baseline: 12.796875
"at."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-two> at [8,8] [0+0+0 100.640625 0+0+0] [0+0+0 512 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 5, rect: [8,8 50.96875x16] baseline: 12.796875
"Lorem"
@@ -126,8 +120,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 23 from TextNode start: 218, length: 9, rect: [8,376 68.296875x16] baseline: 12.796875
"orci leo."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x528] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-span-2-with-gaps.txt b/Tests/LibWeb/Layout/expected/grid/row-span-2-with-gaps.txt
index 9cf02c96510..6cddbd64e21 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-span-2-with-gaps.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-span-2-with-gaps.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 320 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 304 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 304 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-one> at [411.46875,8] [0+0+0 380.53125 0+0+0] [0+0+0 118 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 40, rect: [411.46875,8 319.171875x16] baseline: 12.796875
"In a sollicitudin augue. Sed ante augue,"
@@ -14,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 134, length: 22, rect: [411.46875,56 182.8125x16] baseline: 12.796875
"at, consequat ut orci."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-two> at [411.46875,146] [0+0+0 380.53125 0+0+0] [0+0+0 166 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 43, rect: [411.46875,146 359.15625x16] baseline: 12.796875
"Suspendisse potenti. Pellentesque at varius"
@@ -32,8 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 6 from TextNode start: 260, length: 31, rect: [411.46875,242 242.921875x16] baseline: 12.796875
"bibendum nulla lectus ut felis."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-two> at [8,8] [0+0+0 383.46875 0+0+0] [0+0+0 304 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 39, rect: [8,8 337.6875x16] baseline: 12.796875
"Lorem ipsum dolor sit amet, consectetur"
@@ -74,8 +68,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 18 from TextNode start: 785, length: 22, rect: [8,296 180.234375x16] baseline: 12.796875
"gravida mauris dictum."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x320] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/row-span-2.txt b/Tests/LibWeb/Layout/expected/grid/row-span-2.txt
index 49541eae68b..04adb1ff214 100644
--- a/Tests/LibWeb/Layout/expected/grid/row-span-2.txt
+++ b/Tests/LibWeb/Layout/expected/grid/row-span-2.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 304 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 288 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 288 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-one> at [401.46875,8] [0+0+0 390.53125 0+0+0] [0+0+0 120 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 40, rect: [401.46875,8 319.171875x16] baseline: 12.796875
"In a sollicitudin augue. Sed ante augue,"
@@ -14,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 134, length: 22, rect: [401.46875,56 182.8125x16] baseline: 12.796875
"at, consequat ut orci."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-one-two> at [401.46875,128] [0+0+0 390.53125 0+0+0] [0+0+0 168 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 43, rect: [401.46875,128 359.15625x16] baseline: 12.796875
"Suspendisse potenti. Pellentesque at varius"
@@ -32,8 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 6 from TextNode start: 260, length: 31, rect: [401.46875,224 242.921875x16] baseline: 12.796875
"bibendum nulla lectus ut felis."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.grid-item.item-span-two> at [8,8] [0+0+0 393.46875 0+0+0] [0+0+0 288 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 1, length: 39, rect: [8,8 337.6875x16] baseline: 12.796875
"Lorem ipsum dolor sit amet, consectetur"
@@ -72,8 +66,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 17 from TextNode start: 771, length: 36, rect: [8,280 294.90625x16] baseline: 12.796875
"cursus, vitae gravida mauris dictum."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x304] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/rows-1fr-1fr.txt b/Tests/LibWeb/Layout/expected/grid/rows-1fr-1fr.txt
index ee25575a71b..a0947eacea3 100644
--- a/Tests/LibWeb/Layout/expected/grid/rows-1fr-1fr.txt
+++ b/Tests/LibWeb/Layout/expected/grid/rows-1fr-1fr.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [8,8 31.265625x16] baseline: 12.796875
"Uno"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/stretch-explicit-alignment-fr-tracks.txt b/Tests/LibWeb/Layout/expected/grid/stretch-explicit-alignment-fr-tracks.txt
index e4a5a0085f9..7dbd7e7ec67 100644
--- a/Tests/LibWeb/Layout/expected/grid/stretch-explicit-alignment-fr-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/stretch-explicit-alignment-fr-tracks.txt
@@ -2,24 +2,16 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 120 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 102 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 300 0+1+478] [0+1+0 100 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [12,12 58.796875x16] baseline: 12.796875
"stretch"
frag 1 from TextNode start: 8, length: 4, rect: [12,28 35.984375x16] baseline: 12.796875
"both"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,12] [0+1+0 198 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 16, rect: [112,12 123.75x16] baseline: 12.796875
"explicit stretch"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,112] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/stretch-in-fr-tracks.txt b/Tests/LibWeb/Layout/expected/grid/stretch-in-fr-tracks.txt
index 8e74fb1aa0e..aa1c1ea621f 100644
--- a/Tests/LibWeb/Layout/expected/grid/stretch-in-fr-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/stretch-in-fr-tracks.txt
@@ -2,34 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 220 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 202 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 200 0+1+578] [0+1+0 200 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,12 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,112] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [12,112 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [112,112] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [112,112 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,212] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x220] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/stretch-with-fixed-margins-fr-tracks.txt b/Tests/LibWeb/Layout/expected/grid/stretch-with-fixed-margins-fr-tracks.txt
index baa3dc83559..f90c5ff33c1 100644
--- a/Tests/LibWeb/Layout/expected/grid/stretch-with-fixed-margins-fr-tracks.txt
+++ b/Tests/LibWeb/Layout/expected/grid/stretch-with-fixed-margins-fr-tracks.txt
@@ -2,38 +2,26 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 220 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 202 0+1+8] children: not-inline
Box <div.grid> at [11,11] [0+1+0 200 0+1+578] [0+1+0 200 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item> at [12,12] [0+1+0 98 0+1+0] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [12,12 80.078125x16] baseline: 12.796875
"no margin"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item.with-margin> at [122,22] [10+1+0 78 0+1+10] [10+1+0 78 0+1+10] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [122,22 35.0625x16] baseline: 12.796875
"10px"
frag 1 from TextNode start: 5, length: 6, rect: [122,38 52.109375x16] baseline: 12.796875
"margin"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item.with-horizontal-margin> at [17,112] [5+1+0 78 0+1+15] [0+1+0 98 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [17,112 9.296875x16] baseline: 12.796875
"h"
frag 1 from TextNode start: 2, length: 7, rect: [17,128 61.453125x16] baseline: 12.796875
"margins"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.item.with-vertical-margin> at [112,120] [0+1+0 98 0+1+0] [8+1+0 78 0+1+12] [BFC] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [112,120 77.65625x16] baseline: 12.796875
"v margins"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,212] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x220] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-auto-placement-of-row-spanning-items.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-auto-placement-of-row-spanning-items.txt
index 2f40b6a75e7..bb446ee8ce6 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-auto-placement-of-row-spanning-items.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-auto-placement-of-row-spanning-items.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 112 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 96 0+0+8] children: not-inline
Box <div.grid> at [8,8] [0+0+0 784 0+0+0] [0+0+0 96 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.item> at [8,8] [0+0+0 100 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,8 15.6875x16] baseline: 12.796875
@@ -17,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [8,40 18.4375x16] baseline: 12.796875
"a3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.item> at [108,8] [0+0+0 100 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [108,8] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [108,8 15.8125x16] baseline: 12.796875
@@ -32,8 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [108,40 18.5625x16] baseline: 12.796875
"b3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.item> at [208,8] [0+0+0 100 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [208,8] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [208,8 15.234375x16] baseline: 12.796875
@@ -47,8 +41,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [208,40 17.984375x16] baseline: 12.796875
"c3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.item> at [8,56] [0+0+0 100 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [8,56] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,56 14.203125x16] baseline: 12.796875
@@ -62,8 +54,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [8,88 16.953125x16] baseline: 12.796875
"d3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.item> at [108,56] [0+0+0 100 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [108,56] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [108,56 15.0625x16] baseline: 12.796875
@@ -77,8 +67,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [108,88 17.8125x16] baseline: 12.796875
"e3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.item> at [208,56] [0+0+0 100 0+0+0] [0+0+0 48 0+0+0] [GFC] children: not-inline
BlockContainer <div> at [208,56] [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [208,56 12.78125x16] baseline: 12.796875
@@ -92,10 +80,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [208,88 15.53125x16] baseline: 12.796875
"f3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x112] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-clamps-implicit-columns.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-clamps-implicit-columns.txt
index b5f5e0e73bb..1d0445ae7eb 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-clamps-implicit-columns.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-clamps-implicit-columns.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.parent> at [0,0] [0+0+0 800 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
Box <div.subgrid> at [0,0] [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.item> at [0,0] [0+0+0 40 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-columns-content-sized-block-size.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-columns-content-sized-block-size.txt
index 54f9b3763b9..6d60d74fcfe 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-columns-content-sized-block-size.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-columns-content-sized-block-size.txt
@@ -2,34 +2,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 80 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 800 0+0+0] [0+0+0 80 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,0] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,20] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,20] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,20] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,20] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,40] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,40] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,40] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,40] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,60] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,60] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,60] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,60] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,80] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x80] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-columns.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-columns.txt
index d7c5244162e..34ae6ee3c1f 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-columns.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-columns.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.subgrid> at [60,0] [0+0+0 230 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.first> at [60,0] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.second> at [130,0] [0+0+0 160 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-deeply-nested-columns.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-deeply-nested-columns.txt
index c5d094b8f13..c2219c39f09 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-deeply-nested-columns.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-deeply-nested-columns.txt
@@ -83,8 +83,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.subgrid> at [0,390] [0+0+0 200 0+0+0] [0+0+0 10 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,390] [0+0+0 100 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,390] [0+0+0 100 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,400] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x400] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-line-names-through-subgrid.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-line-names-through-subgrid.txt
index 8457f273352..828c18015e0 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-line-names-through-subgrid.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-line-names-through-subgrid.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.middle> at [0,0] [0+0+0 180 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
Box <div.subgrid> at [0,0] [0+0+0 180 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.item> at [40,0] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-grid-area-line-names-through-subgrid.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-grid-area-line-names-through-subgrid.txt
index a46629e5c31..835a5cdc24f 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-grid-area-line-names-through-subgrid.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-grid-area-line-names-through-subgrid.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.rail> at [0,20] [0+0+0 50 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.list> at [50,20] [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.page> at [150,20] [0+0+0 150 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,60] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-line-names.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-line-names.txt
index 8abac48cd0f..17281c08ad2 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-line-names.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-inherits-parent-line-names.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.parent> at [0,0] [0+0+0 800 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
Box <div.subgrid> at [0,0] [0+0+0 180 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.item> at [40,0] [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-parent-resolved-column-widths.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-parent-resolved-column-widths.txt
index 1e78d15de64..6186d1784fe 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-parent-resolved-column-widths.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-parent-resolved-column-widths.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 300 0+0+500] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,0] [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
BlockContainer <div.box> at [0,0] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <div.wrapping> at [250,0] flex-container(row) [0+0+0 50 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
@@ -11,16 +9,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.box> at [270,0] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.box> at [250,20] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.box> at [270,20] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.wide> at [0,40] [0+0+0 250 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,50] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid> at [0,50] [0+0+0 300 0+0+500] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,50] [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
Box <div.both-axes-subgrid> at [0,50] [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
BlockContainer <div.box> at [0,50] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
@@ -29,13 +19,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.box> at [270,50] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.box> at [250,70] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.box> at [270,70] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.wide> at [0,90] [0+0+0 250 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-fr-column-width.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-fr-column-width.txt
index 0d6197aa2d1..3069926c90f 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-fr-column-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-fr-column-width.txt
@@ -2,23 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 63 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [2,2] [0+1+0 796 0+1+0] [0+1+0 61 0+1+0] children: not-inline
Box <div.outer> at [3,3] [0+1+0 766 0+1+28] [0+1+0 59 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.card> at [4,4] [0+1+0 245.328125 0+1+0] [0+1+0 57 0+1+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [5,5] [0+1+0 243.328125 0+1+0] [0+1+0 33 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 26, rect: [5,5 222.375x16] baseline: 12.796875
"Some long text that should"
frag 1 from TextNode start: 27, length: 26, rect: [5,21 219.03125x16] baseline: 12.796875
"wrap over to the next line"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [2,63] [0+0+0 796 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x63] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-inline-size.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-inline-size.txt
index d1bc4c7af1b..b3761db826d 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-inline-size.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-resolved-inline-size.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,40] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-subgridded-columns.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-subgridded-columns.txt
index 44482aa531f..7b663f57838 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-subgridded-columns.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-row-contribution-uses-subgridded-columns.txt
@@ -2,33 +2,19 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,0] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,20] [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,20] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,20] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,20] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,20] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,40] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] [GFC] children: not-inline
BlockContainer <div.cell> at [0,40] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [100,40] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [200,40] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,60] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/subgrid-rows-items-use-parent-resolved-column-widths.txt b/Tests/LibWeb/Layout/expected/grid/subgrid-rows-items-use-parent-resolved-column-widths.txt
index 3dcfab4cadc..f9b9798a9b1 100644
--- a/Tests/LibWeb/Layout/expected/grid/subgrid-rows-items-use-parent-resolved-column-widths.txt
+++ b/Tests/LibWeb/Layout/expected/grid/subgrid-rows-items-use-parent-resolved-column-widths.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 300 0+0+500] [0+0+0 50 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.subgrid> at [0,0] [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [GFC] children: not-inline
BlockContainer <div.box> at [0,0] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <div.wrapping> at [250,0] flex-container(row) [0+0+0 50 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
@@ -11,13 +9,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.box> at [270,0] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.box> at [250,20] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.box> at [270,20] flex-item [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.wide> at [0,40] [0+0+0 250 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,50] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/svg-width-only-stretches-height.txt b/Tests/LibWeb/Layout/expected/grid/svg-width-only-stretches-height.txt
index 95a33b01d09..0df1d19800c 100644
--- a/Tests/LibWeb/Layout/expected/grid/svg-width-only-stretches-height.txt
+++ b/Tests/LibWeb/Layout/expected/grid/svg-width-only-stretches-height.txt
@@ -2,14 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] children: not-inline
Box <div.grid> at [0,0] [0+0+0 50 0+0+750] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGSVGBox <svg> at [0,0] [0+0+0 50 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/table-wrapper-sizing-matrix.txt b/Tests/LibWeb/Layout/expected/grid/table-wrapper-sizing-matrix.txt
index c06092ed130..df6d531f9fd 100644
--- a/Tests/LibWeb/Layout/expected/grid/table-wrapper-sizing-matrix.txt
+++ b/Tests/LibWeb/Layout/expected/grid/table-wrapper-sizing-matrix.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,0] table-cell [0+0+0 100 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,0 20x20] baseline: 20
BlockContainer <span.narrow> at [0,0] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,23.203125] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.center> at [0,23.203125] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [20,23.203125] [20+0+0 60 0+0+20] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table> at [20,23.203125] table-box [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -17,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [20,23.203125] table-cell [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [20,23.203125 60x20] baseline: 20
BlockContainer <span.medium> at [20,23.203125] inline-block [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,46.40625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.end> at [0,46.40625] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [-60,46.40625] [-60+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table> at [-60,46.40625] table-box [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -26,8 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [-60,46.40625] table-cell [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [-60,46.40625 160x20] baseline: 20
BlockContainer <span.wide> at [-60,46.40625] inline-block [0+0+0 160 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,69.609375] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.center> at [0,69.609375] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,69.609375] [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.auto-margins> at [0,69.609375] table-box [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -35,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,69.609375] table-cell [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,69.609375 160x20] baseline: 20
BlockContainer <span.wide> at [0,69.609375] inline-block [0+0+0 160 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,92.8125] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.end> at [0,92.8125] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [50,92.8125] [50+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.fixed> at [50,92.8125] table-box [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -44,8 +36,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [50,92.8125] table-cell [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [50,92.8125 20x20] baseline: 20
BlockContainer <span.narrow> at [50,92.8125] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,116.015625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,116.015625] [0+0+0 100 0+0+700] [0+0+0 33.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,116.015625] [0+0+0 100 0+0+0] [0+0+0 33.203125 0+0+0] [BFC] children: not-inline
Box <div.table.bordered> at [5,121.015625] table-box [0+5+0 90 0+5+0] [0+5+0 23.203125 0+5+0] [TFC] children: not-inline
@@ -53,8 +43,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [5,121.015625] table-cell [0+0+0 90 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [5,121.015625 20x20] baseline: 20
BlockContainer <span.narrow> at [5,121.015625] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,149.21875] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,149.21875] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,149.21875] [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.max-width> at [0,149.21875] table-box [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -62,8 +50,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,149.21875] table-cell [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,149.21875 20x20] baseline: 20
BlockContainer <span.narrow> at [0,149.21875] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,172.421875] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,172.421875] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,172.421875] [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.max-width> at [0,172.421875] table-box [0+0+0 160 0+0+100] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -71,8 +57,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,172.421875] table-cell [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,172.421875 160x20] baseline: 20
BlockContainer <span.wide> at [0,172.421875] inline-block [0+0+0 160 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,195.625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,195.625] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,195.625] [0+0+0 120 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.min-over-max> at [0,195.625] table-box [0+0+0 120 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -80,8 +64,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,195.625] table-cell [0+0+0 120 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,195.625 20x20] baseline: 20
BlockContainer <span.narrow> at [0,195.625] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,218.828125] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,218.828125] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,218.828125] [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.border-box.max-width-border-box> at [15,218.828125] table-box [0+10+5 30 5+10+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -89,8 +71,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [15,218.828125] table-cell [0+0+0 30 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [15,218.828125 20x20] baseline: 20
BlockContainer <span.narrow> at [15,218.828125] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,242.03125] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,242.03125] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,242.03125] [0+0+0 190 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.border-box.max-width-border-box> at [15,242.03125] table-box [0+10+5 160 5+10+130] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -98,8 +78,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [15,242.03125] table-cell [0+0+0 160 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [15,242.03125 160x20] baseline: 20
BlockContainer <span.wide> at [15,242.03125] inline-block [0+0+0 160 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,265.234375] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,265.234375] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,265.234375] [0+0+0 100 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.border-box.min-width-border-box> at [15,265.234375] table-box [0+10+5 70 5+10+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -107,8 +85,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [15,265.234375] table-cell [0+0+0 70 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [15,265.234375 20x20] baseline: 20
BlockContainer <span.narrow> at [15,265.234375] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,288.4375] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,288.4375] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,288.4375] [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.border-box.fixed-border-box> at [15,288.4375] table-box [0+10+5 30 5+10+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -116,8 +92,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [15,288.4375] table-cell [0+0+0 30 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [15,288.4375 20x20] baseline: 20
BlockContainer <span.narrow> at [15,288.4375] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,311.640625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.wide-grid.stretch> at [0,311.640625] [0+0+0 300 0+0+500] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,311.640625] [0+0+0 256 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.max-content-width> at [0,311.640625] table-box [0+0+0 256 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -135,8 +109,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span.segment> at [88,311.640625] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.segment> at [176,311.640625] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,334.84375] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.wide-grid.stretch> at [0,334.84375] [0+0+0 300 0+0+500] [0+0+0 70.421875 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,334.84375] [0+0+0 80 0+0+0] [0+0+0 70.421875 0+0+0] [BFC] children: not-inline
Box <div.table.min-content-width> at [0,334.84375] table-box [0+0+0 80 0+0+0] [0+0+0 70.421875 0+0+0] [TFC] children: not-inline
@@ -150,8 +122,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span.segment> at [0,357.84375] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.segment> at [0,380.84375] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,405.265625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.wide-grid.stretch> at [0,405.265625] [0+0+0 300 0+0+500] [0+0+0 70.421875 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,405.265625] [0+0+0 120 0+0+0] [0+0+0 70.421875 0+0+0] [BFC] children: not-inline
Box <div.table.fit-content-width> at [0,405.265625] table-box [0+0+0 120 0+0+0] [0+0+0 70.421875 0+0+0] [TFC] children: not-inline
@@ -165,8 +135,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span.segment> at [0,428.265625] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.segment> at [0,451.265625] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,475.6875] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.intrinsic.stretch> at [0,475.6875] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
BlockContainer <div.track-sizer> at [0,475.6875] [0+0+0 260 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
TableWrapper <(anonymous)> at [0,475.6875] [0+0+0 260 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
@@ -185,8 +153,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span.segment> at [88,475.6875] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.segment> at [176,475.6875] inline-block [0+0+0 80 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,498.890625] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.stretch> at [0,498.890625] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [50,498.890625] [50+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.fixed.self-end> at [50,498.890625] table-box [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -194,8 +160,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [50,498.890625] table-cell [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [50,498.890625 20x20] baseline: 20
BlockContainer <span.narrow> at [50,498.890625] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,522.09375] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.tall-row.stretch> at [0,522.09375] [0+0+0 100 0+0+700] [0+0+0 60 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [0,540.484375] [0+0+0 50 0+0+0] [18.390625+0+0 23.203125 0+0+18.390625] [BFC] children: not-inline
Box <div.table.fixed.self-center> at [0,540.484375] table-box [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -203,8 +167,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,540.484375] table-cell [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,540.484375 20x20] baseline: 20
BlockContainer <span.narrow> at [0,540.484375] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,582.09375] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.two-columns.stretch> at [0,582.09375] [0+0+0 100 0+0+700] [0+0+0 23.203125 0+0+0] [GFC] children: not-inline
TableWrapper <(anonymous)> at [100,582.09375] [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: not-inline
Box <div.table.fixed.order-late> at [100,582.09375] table-box [0+0+0 50 0+0+0] [0+0+0 23.203125 0+0+0] [TFC] children: not-inline
@@ -218,8 +180,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,582.09375] table-cell [0+0+0 60 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,582.09375 60x20] baseline: 20
BlockContainer <span.medium> at [0,582.09375] inline-block [0+0+0 60 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,605.296875] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x605.296875] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/grid/table-wrapper-stretch-auto-width.txt b/Tests/LibWeb/Layout/expected/grid/table-wrapper-stretch-auto-width.txt
index 29c47eaf3ad..983e1324f7d 100644
--- a/Tests/LibWeb/Layout/expected/grid/table-wrapper-stretch-auto-width.txt
+++ b/Tests/LibWeb/Layout/expected/grid/table-wrapper-stretch-auto-width.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [8,8] table-cell [0+0+0 100 0+0+0] [0+0+0 23.203125 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 20x20] baseline: 20
BlockContainer <span.content> at [8,8] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,31.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x39.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/height-of-absolute-position-box-with-padding.txt b/Tests/LibWeb/Layout/expected/height-of-absolute-position-box-with-padding.txt
index 80a32301c78..dcc0194b744 100644
--- a/Tests/LibWeb/Layout/expected/height-of-absolute-position-box-with-padding.txt
+++ b/Tests/LibWeb/Layout/expected/height-of-absolute-position-box-with-padding.txt
@@ -1,14 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <h1> at [76.59375,103.765625] positioned [0+1+0 126 0+1+0] [13.40625+1+44 38 44+1+13.40625] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [116.3125,103.765625 46.546875x20] baseline: 16
"Test"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/images-replaced-after-first-layout.txt b/Tests/LibWeb/Layout/expected/images-replaced-after-first-layout.txt
index ac8fd32e446..a3d3fab4fec 100644
--- a/Tests/LibWeb/Layout/expected/images-replaced-after-first-layout.txt
+++ b/Tests/LibWeb/Layout/expected/images-replaced-after-first-layout.txt
@@ -11,9 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from ImageBox start: 0, length: 0, rect: [128,128 400x400] baseline: 400
ImageBox <(anonymous)> at [8,408] [0+0+0 120 0+0+0] [0+0+0 120 0+0+0] children: not-inline
ImageBox <(anonymous)> at [128,128] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,528] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x536] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/import-after-namespace.txt b/Tests/LibWeb/Layout/expected/import-after-namespace.txt
index 81d13051e32..65970b9eeb6 100644
--- a/Tests/LibWeb/Layout/expected/import-after-namespace.txt
+++ b/Tests/LibWeb/Layout/expected/import-after-namespace.txt
@@ -5,28 +5,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 35, rect: [8,16 290.765625x16] baseline: 12.796875
"All divs below should be 100px wide"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#target1> at [8,48] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,148] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#target2> at [8,148] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#target3> at [8,248] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,348] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#target4> at [8,348] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,448] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <pre#out> at [8,461] [0+0+0 784 0+0+0] [13+0+0 0 0+0+13] children: not-inline
- BlockContainer <(anonymous)> at [8,461] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x461] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/import-from-linked-style-sheet.txt b/Tests/LibWeb/Layout/expected/import-from-linked-style-sheet.txt
index a8601d69808..6c7cb2bb0d7 100644
--- a/Tests/LibWeb/Layout/expected/import-from-linked-style-sheet.txt
+++ b/Tests/LibWeb/Layout/expected/import-from-linked-style-sheet.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 39.78125x16] baseline: 12.796875
"Hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/important-custom-properties-resolution.txt b/Tests/LibWeb/Layout/expected/important-custom-properties-resolution.txt
index 3f06a9c7ace..1b00d68f5e0 100644
--- a/Tests/LibWeb/Layout/expected/important-custom-properties-resolution.txt
+++ b/Tests/LibWeb/Layout/expected/important-custom-properties-resolution.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 66 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: not-inline
- BlockContainer <main> at [8,8] [0+0+0 50 0+0+734] [0+0+0 50 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <main> at [8,8] [0+0+0 50 0+0+734] [0+0+0 50 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x66] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/inline-button-line-height.txt b/Tests/LibWeb/Layout/expected/inline-button-line-height.txt
index 1b132a7c317..5cabd93e2a6 100644
--- a/Tests/LibWeb/Layout/expected/inline-button-line-height.txt
+++ b/Tests/LibWeb/Layout/expected/inline-button-line-height.txt
@@ -2,73 +2,36 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 359 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 343 0+0+8] children: not-inline
BlockContainer <form> at [8,8] [0+0+0 300 0+0+484] [0+0+0 343 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.radios--container> at [8,8] flex-container(row) [0+0+0 300 0+0+0] [0+0+0 189 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.radios--main> at [8,8] flex-container(row) flex-item [0+0+0 157 6+0+0] [0+0+0 47 16+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
RadioButton <input.radios--input> at [8,8] flex-item [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <label.radios--value-button> at [27,10] flex-item [0+2+16 120 16+2+0] [0+2+0 43 0+2+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [27,21.5 120x20] baseline: 16
"100 ML"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.radios--main> at [8,71] flex-container(row) flex-item [0+0+0 137 6+0+0] [0+0+0 47 16+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
RadioButton <input.radios--input> at [8,71] flex-item [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <label.radios--value-button> at [27,73] flex-item [0+2+16 100 16+2+0] [0+2+0 43 0+2+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [27,84.5 100x20] baseline: 16
"50 ML"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.radios--main> at [151,71] flex-container(row) flex-item [0+0+0 137 6+0+0] [0+0+0 47 16+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
RadioButton <input.radios--input> at [151,71] flex-item [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <label.radios--value-button> at [170,73] flex-item [0+2+16 100 16+2+0] [0+2+0 43 0+2+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [170,84.5 100x20] baseline: 16
"30 ML"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.radios--main> at [8,134] flex-container(row) flex-item [0+0+0 117 0+0+0] [0+0+0 47 16+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
RadioButton <input.radios--input> at [8,134] flex-item [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <label.radios--value-button> at [27,136] flex-item [0+2+16 80 16+2+0] [0+2+0 43 0+2+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [27,147.5 80x20] baseline: 16
"15ML"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,197] [0+0+0 300 0+0+0] [0+0+0 154 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [119,256 20x20] baseline: 16
" "
frag 1 from TextNode start: 0, length: 1, rect: [128,314 20x20] baseline: 16
" "
- TextNode <#text> (not painted)
InlineNode <a> at [8,199] [0+0+0 171 0+0+0] [0+0+0 44 0+0+0]
frag 0 from BlockContainer start: 0, length: 0, rect: [15,199 157x44] baseline: 27.984375
BlockContainer <input.radios--input> at [15,199] inline-block [0+2+5 157 5+2+0] [0+2+0 44 0+2+0] [BFC] children: not-inline
@@ -124,8 +87,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Lait corps 200ml"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,351] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x359] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/inline-flex-baseline-with-wrapped-hidden-text.txt b/Tests/LibWeb/Layout/expected/inline-flex-baseline-with-wrapped-hidden-text.txt
index cb7fe51956a..1cf12275778 100644
--- a/Tests/LibWeb/Layout/expected/inline-flex-baseline-with-wrapped-hidden-text.txt
+++ b/Tests/LibWeb/Layout/expected/inline-flex-baseline-with-wrapped-hidden-text.txt
@@ -24,8 +24,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"baz"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,50] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x50] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/inline-nested-with-padding.txt b/Tests/LibWeb/Layout/expected/inline-nested-with-padding.txt
index 7f80d370bb4..7f22b7b57fd 100644
--- a/Tests/LibWeb/Layout/expected/inline-nested-with-padding.txt
+++ b/Tests/LibWeb/Layout/expected/inline-nested-with-padding.txt
@@ -10,7 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <hr> at [9,33] [0+1+0 782 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,42] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <span.a> at [10,42] [0+2+0 190.109375 0+2+0] [0+2+0 16 0+2+0]
InlineNode <span.b> at [40,42] [0+0+30 130.109375 30+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 2, rect: [40,42 20.515625x16] baseline: 12.796875
@@ -26,7 +25,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <hr> at [9,67] [0+1+0 782 0+1+0] [8+1+0 0 0+1+8] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,76] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <span.a> at [10,76] [0+2+0 26.953125 0+2+0] [0+2+0 16 0+2+0]
InlineNode <span.c> at [10,76] [0+0+0 26.953125 0+0+0] [0+0+30 16 30+0+0]
frag 0 from TextNode start: 0, length: 3, rect: [10,76 26.953125x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/inline-size.txt b/Tests/LibWeb/Layout/expected/inline-size.txt
index eb561205da4..b83a5a253f3 100644
--- a/Tests/LibWeb/Layout/expected/inline-size.txt
+++ b/Tests/LibWeb/Layout/expected/inline-size.txt
@@ -6,23 +6,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"KK"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,340] [0+0+0 784 0+0+0] [0+0+0 70 0+0+0] children: inline
- TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <p.max-inline-test> at [8,480] [0+0+0 100 0+0+684] [70+0+0 70 0+0+70] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,480 85.875x70] baseline: 55.984375
"KK"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,620] [0+0+0 784 0+0+0] [0+0+0 70 0+0+0] children: inline
- TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <p.inline-size-test> at [8,760] [0+0+0 400 0+0+384] [70+0+0 200 0+0+70] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,760 85.875x70] baseline: 55.984375
"KK"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,1030] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1030] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt b/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt
index 2e4e687930d..270f899620d 100644
--- a/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt
+++ b/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 31, rect: [36.75,150.5 242.5x15] baseline: 12
"Should be located in the center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,308] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x316] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt b/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt
index b1917a0fc10..f0b2b374296 100644
--- a/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt
+++ b/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 26, rect: [17,18.5 195.796875x15] baseline: 12
"Width should shrink to fit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x52] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-element-placeholder-position.txt b/Tests/LibWeb/Layout/expected/input-element-placeholder-position.txt
index c6b170dd844..2a76455e4e9 100644
--- a/Tests/LibWeb/Layout/expected/input-element-placeholder-position.txt
+++ b/Tests/LibWeb/Layout/expected/input-element-placeholder-position.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 122.875 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,21.4375] [8+0+0 784 0+0+8] [8+0+0 93.4375 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,21.4375] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <h1> at [8,21.4375] [0+0+0 784 0+0+0] [21.4375+0+0 32 0+0+21.4375] children: inline
frag 0 from TextNode start: 0, length: 37, rect: [8,21.4375 613.1875x32] baseline: 25.59375
"Input Field Placeholder Position Test"
@@ -17,7 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 0, length: 1, rect: [447.75,86.875 8x16] baseline: 12.796875
" "
frag 4 from TextInputBox start: 0, length: 0, rect: [467.75,86.875 191.875x16] baseline: 24.796875
- TextNode <#text> (not painted)
TextInputBox <input> at [20,86.875] inline-block [0+2+10 191.875 10+2+0] [0+2+10 16 10+2+0] [BFC] children: not-inline
Box <div> at [20,86.875] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [20,86.875] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt b/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt
index fa8805468a1..796a565bc4a 100644
--- a/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt
+++ b/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt
@@ -17,7 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"No file selected."
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-file.txt b/Tests/LibWeb/Layout/expected/input-file.txt
index bab0e7d7544..af7ae7a59c5 100644
--- a/Tests/LibWeb/Layout/expected/input-file.txt
+++ b/Tests/LibWeb/Layout/expected/input-file.txt
@@ -53,7 +53,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"No files selected."
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt b/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt
index f708ea2b791..2148adf9414 100644
--- a/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt
+++ b/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"120.png"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-image-to-text.txt b/Tests/LibWeb/Layout/expected/input-image-to-text.txt
index f708ea2b791..2148adf9414 100644
--- a/Tests/LibWeb/Layout/expected/input-image-to-text.txt
+++ b/Tests/LibWeb/Layout/expected/input-image-to-text.txt
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"120.png"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-image.txt b/Tests/LibWeb/Layout/expected/input-image.txt
index 34405f9b81b..1ecbadf8bc1 100644
--- a/Tests/LibWeb/Layout/expected/input-image.txt
+++ b/Tests/LibWeb/Layout/expected/input-image.txt
@@ -9,15 +9,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 0, length: 1, rect: [128,251 8x16] baseline: 12.796875
" "
frag 4 from ImageBox start: 0, length: 0, rect: [136,8 128x256] baseline: 256
- TextNode <#text> (not painted)
ImageBox <input> at [8,216] inline-block [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <input> at [64,200] inline-block [0+0+0 64 0+0+0] [0+0+0 64 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <input> at [136,8] inline-block [0+0+0 128 0+0+0] [0+0+0 256 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,267.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x275.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-password-to-text.txt b/Tests/LibWeb/Layout/expected/input-password-to-text.txt
index 4ae62967d49..b7052044d1a 100644
--- a/Tests/LibWeb/Layout/expected/input-password-to-text.txt
+++ b/Tests/LibWeb/Layout/expected/input-password-to-text.txt
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"hunter2"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-placeholder.txt b/Tests/LibWeb/Layout/expected/input-placeholder.txt
index db21a29b4be..061b8662444 100644
--- a/Tests/LibWeb/Layout/expected/input-placeholder.txt
+++ b/Tests/LibWeb/Layout/expected/input-placeholder.txt
@@ -43,7 +43,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"This placeholder should also be visible"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-attribute-changes.txt b/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-attribute-changes.txt
index b90ff3d318d..8cc99c0cfbb 100644
--- a/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-attribute-changes.txt
+++ b/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-attribute-changes.txt
@@ -21,9 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [151,16] positioned [0+0+0 64.5 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [215.5,10] positioned [64.5+0+0 16 0+0+48.5] [-6+0+0 16 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x37.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-option-changes.txt b/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-option-changes.txt
index 820dfdf99bc..0dcefa07d16 100644
--- a/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-option-changes.txt
+++ b/Tests/LibWeb/Layout/expected/input-range-datalist-ticks-option-changes.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [102.25,22] positioned [0+0+0 1 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [74.5,10] positioned [64.5+0+0 16 0+0+48.5] [-6+0+0 16 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x37.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-range-datalist-ticks.txt b/Tests/LibWeb/Layout/expected/input-range-datalist-ticks.txt
index 46fd8540852..60b53f2ef0c 100644
--- a/Tests/LibWeb/Layout/expected/input-range-datalist-ticks.txt
+++ b/Tests/LibWeb/Layout/expected/input-range-datalist-ticks.txt
@@ -21,7 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [151,22] positioned [0+0+0 64.5 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [215.5,16] positioned [64.5+0+0 16 0+0+48.5] [-6+0+0 16 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-range-stretch-in-grid.txt b/Tests/LibWeb/Layout/expected/input-range-stretch-in-grid.txt
index f71fcc51dab..cb4dd91cd8e 100644
--- a/Tests/LibWeb/Layout/expected/input-range-stretch-in-grid.txt
+++ b/Tests/LibWeb/Layout/expected/input-range-stretch-in-grid.txt
@@ -11,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [63.3125,16] positioned flex-item [0+0+0 129 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [63.3125,16] positioned [0+0+0 64.5 0+0+0] [0+0+0 4 0+0+0] [BFC] children: not-inline
BlockContainer <div> at [127.8125,10] positioned [64.5+0+0 16 0+0+48.5] [-6+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt b/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt
index e745e04acd0..5dd8739360e 100644
--- a/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt
+++ b/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"PASS"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-text-to-image.txt b/Tests/LibWeb/Layout/expected/input-text-to-image.txt
index 168d99b7c97..8a99804ad97 100644
--- a/Tests/LibWeb/Layout/expected/input-text-to-image.txt
+++ b/Tests/LibWeb/Layout/expected/input-text-to-image.txt
@@ -4,7 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 120x120] baseline: 120
ImageBox <input> at [8,8] inline-block [0+0+0 120 0+0+0] [0+0+0 120 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x139.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-text-to-password.txt b/Tests/LibWeb/Layout/expected/input-text-to-password.txt
index f7739a293f1..a1e747b9887 100644
--- a/Tests/LibWeb/Layout/expected/input-text-to-password.txt
+++ b/Tests/LibWeb/Layout/expected/input-text-to-password.txt
@@ -9,7 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"•••••••"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/inset-shorthand-property.txt b/Tests/LibWeb/Layout/expected/inset-shorthand-property.txt
index b9e653bb372..f205b6a37fd 100644
--- a/Tests/LibWeb/Layout/expected/inset-shorthand-property.txt
+++ b/Tests/LibWeb/Layout/expected/inset-shorthand-property.txt
@@ -1,17 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
- BlockContainer <div.parent> at [8,8] positioned [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.parent> at [8,8] positioned [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] children: not-inline
BlockContainer <div.bad> at [38,18] positioned [0+0+0 150 0+0+0] [0+0+0 150 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [38,18 26.546875x16] baseline: 12.796875
"Bad"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.good> at [38,18] positioned [0+0+0 150 0+0+0] [0+0+0 150 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/inside-list-item-content-offset.txt b/Tests/LibWeb/Layout/expected/inside-list-item-content-offset.txt
index 24e9a97ca5a..1c48294900f 100644
--- a/Tests/LibWeb/Layout/expected/inside-list-item-content-offset.txt
+++ b/Tests/LibWeb/Layout/expected/inside-list-item-content-offset.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [208,200 13.84375x16] baseline: 12.796875
"• "
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,416] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x416] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/justify-content-flex-start.txt b/Tests/LibWeb/Layout/expected/justify-content-flex-start.txt
index 91269c974e9..8b01d234aca 100644
--- a/Tests/LibWeb/Layout/expected/justify-content-flex-start.txt
+++ b/Tests/LibWeb/Layout/expected/justify-content-flex-start.txt
@@ -2,52 +2,36 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
Box <div.grid-container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [GFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [8,8] flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [54.828125,50] flex-item [0+0+0 6.34375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [54.828125,50 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [108,8] flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [153.59375,50] flex-item [0+0+0 8.8125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [153.59375,50 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [208,8] flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [253.453125,50] flex-item [0+0+0 9.09375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [253.453125,50 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [8,108] flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [54.125,150] flex-item [0+0+0 7.75 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [54.125,150 7.75x16] baseline: 12.796875
"4"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [108,108] flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [153.765625,150] flex-item [0+0+0 8.453125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [153.765625,150 8.453125x16] baseline: 12.796875
"5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
Box <div.grid-item> at [208,108] flex-container(row) [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [253.625,150] flex-item [0+0+0 8.734375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [253.625,150 8.734375x16] baseline: 12.796875
"6"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/lang-change-casing-text-transform-relayout.txt b/Tests/LibWeb/Layout/expected/lang-change-casing-text-transform-relayout.txt
index 9e1dd7fd5d8..957bc54b49b 100644
--- a/Tests/LibWeb/Layout/expected/lang-change-casing-text-transform-relayout.txt
+++ b/Tests/LibWeb/Layout/expected/lang-change-casing-text-transform-relayout.txt
@@ -5,9 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 8, rect: [8,8 86.15625x16] baseline: 12.796875
"İSTANBUL"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-clears-internal-svg-resource-subtree.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-clears-internal-svg-resource-subtree.txt
index 8578f1035c2..8cd132be32d 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-clears-internal-svg-resource-subtree.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-clears-internal-svg-resource-subtree.txt
@@ -1,12 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#hidden> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-preserves-svg-resource-subtree.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-preserves-svg-resource-subtree.txt
index 6ec71d170d8..e7f71f37ad0 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-preserves-svg-resource-subtree.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-preserves-svg-resource-subtree.txt
@@ -1,21 +1,13 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#hidden> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x100] baseline: 100
- TextNode <#text> (not painted)
- SVGSVGBox <svg#visible> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg#visible> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect#target> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- SVGMaskBox <mask#mask> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGMaskBox <mask#mask> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
SVGGeometryBox <rect#mask-rect> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-rebuilds-internal-svg-resource-subtree.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-rebuilds-internal-svg-resource-subtree.txt
index a24e6870305..1a2185a44f3 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-rebuilds-internal-svg-resource-subtree.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/content-visibility-hidden-rebuilds-internal-svg-resource-subtree.txt
@@ -1,23 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 150 0+0+0] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect#target> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- SVGMaskBox <mask#mask> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGMaskBox <mask#mask> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] children: not-inline
SVGGeometryBox <rect#mask-rect> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-backdrop-update.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-backdrop-update.txt
index f9132697cb0..104a96d4cfa 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-backdrop-update.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-backdrop-update.txt
@@ -1,19 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <dialog#dialog> at [395.140625,292] positioned [376.140625+3+16 9.703125 16+3+376.140625] [273+3+16 16 16+3+273] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [395.140625,292] [0+0+0 9.703125 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#inner> at [395.140625,292] [0+0+0 9.703125 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [395.140625,292 9.703125x16] baseline: 12.796875
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [395.140625,308] [0+0+0 9.703125 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-removal.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-removal.txt
index 442bd63c56d..f30c80d9c8c 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-removal.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/dialog-removal.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/inline-element-position-change.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/inline-element-position-change.txt
index e74cb45e46d..00c1b30bcfa 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/inline-element-position-change.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/inline-element-position-change.txt
@@ -8,7 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 4, rect: [8,21.4375 63.5625x32] baseline: 25.59375
"test"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x74.875] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt
index eb838973e9b..cb8b7c71ad0 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt
@@ -1,7 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <dialog#d> at [315.15625,290] positioned [296.15625+3+16 169.6875 16+3+296.15625] [271+3+16 20 16+3+271] [BFC] children: inline
frag 0 from TextInputBox start: 0, length: 0, rect: [320.15625,293 159.6875x14] baseline: 13.984375
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/simple-update-inside-svg-subtree.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/simple-update-inside-svg-subtree.txt
index 04bef3691ef..503370d5567 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/simple-update-inside-svg-subtree.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/simple-update-inside-svg-subtree.txt
@@ -2,11 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGraphicsBox <use> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] children: not-inline
SVGGraphicsBox <symbol#a> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x166] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/transform-longhands-clear.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/transform-longhands-clear.txt
index 1fc1c814fe7..0f965429766 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/transform-longhands-clear.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/transform-longhands-clear.txt
@@ -2,15 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 368 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 340 0+0+8] children: not-inline
BlockContainer <div#scaled> at [8,8] [0+0+0 100 0+0+684] [0+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#translated> at [8,128] [0+0+0 100 0+0+684] [0+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#rotated> at [8,248] [0+0+0 100 0+0+684] [0+0+0 100 0+0+20] children: not-inline
- BlockContainer <(anonymous)> at [8,368] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x368] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/leading-metrics.txt b/Tests/LibWeb/Layout/expected/leading-metrics.txt
index 1d954055883..ad5a05735fa 100644
--- a/Tests/LibWeb/Layout/expected/leading-metrics.txt
+++ b/Tests/LibWeb/Layout/expected/leading-metrics.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 65 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,13] [8+0+0 784 0+0+8] [8+0+0 39 0+0+8] children: not-inline
BlockContainer <div> at [8,13] [0+0+0 784 0+0+0] [0+0+0 39 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,13] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 39 0+0+13] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,13 29.921875x13] baseline: 10.390625
"hello"
@@ -12,10 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
InlineNode <code> at [8,13] [0+10+0 0 0+10+0] [0+10+0 13 0+10+0]
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,65] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,65] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x65] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/letter-spacing-end-of-line-001.txt b/Tests/LibWeb/Layout/expected/letter-spacing-end-of-line-001.txt
index 5d4f69fae30..c3835404628 100644
--- a/Tests/LibWeb/Layout/expected/letter-spacing-end-of-line-001.txt
+++ b/Tests/LibWeb/Layout/expected/letter-spacing-end-of-line-001.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 121.359375x48] baseline: 38.390625
"12345"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,56] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [121.625,56 28.03125x48] baseline: 38.390625
"a"
@@ -15,8 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"aa"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x112] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/lh-1.txt b/Tests/LibWeb/Layout/expected/lh-1.txt
index 3da0a411dbf..b9b24292a03 100644
--- a/Tests/LibWeb/Layout/expected/lh-1.txt
+++ b/Tests/LibWeb/Layout/expected/lh-1.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
BlockContainer <div#a> at [8,8] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <div#b> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#b> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/lh-2.txt b/Tests/LibWeb/Layout/expected/lh-2.txt
index 3da0a411dbf..b9b24292a03 100644
--- a/Tests/LibWeb/Layout/expected/lh-2.txt
+++ b/Tests/LibWeb/Layout/expected/lh-2.txt
@@ -2,8 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: not-inline
BlockContainer <div#a> at [8,8] [0+0+0 100 0+0+684] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <div#b> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div#b> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/line-height-normal-uses-font-metrics.txt b/Tests/LibWeb/Layout/expected/line-height-normal-uses-font-metrics.txt
index d1dcc7d78d8..c08531bfd51 100644
--- a/Tests/LibWeb/Layout/expected/line-height-normal-uses-font-metrics.txt
+++ b/Tests/LibWeb/Layout/expected/line-height-normal-uses-font-metrics.txt
@@ -1,15 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 22 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#tall> at [0,0] [0+0+0 800 0+0+0] [0+0+0 22 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [0,0 97.515625x22] baseline: 17.203125
"Tall metrics"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,22] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x22] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-item-hidden-renumbers-markers.txt b/Tests/LibWeb/Layout/expected/list-item-hidden-renumbers-markers.txt
index d72d0ee3655..b4bd372401e 100644
--- a/Tests/LibWeb/Layout/expected/list-item-hidden-renumbers-markers.txt
+++ b/Tests/LibWeb/Layout/expected/list-item-hidden-renumbers-markers.txt
@@ -18,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"2. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ul> at [40,32] [0+0+40 760 0+0+0] [0+0+0 32 0+0+0] children: not-inline
ListItemBox <li> at [40,32] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [40,32 28.6875x16] baseline: 12.796875
@@ -29,9 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [40,48 42.421875x16] baseline: 12.796875
"three"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,64] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-item-marker-content-height.txt b/Tests/LibWeb/Layout/expected/list-item-marker-content-height.txt
index 27d300f867b..ae0ed166298 100644
--- a/Tests/LibWeb/Layout/expected/list-item-marker-content-height.txt
+++ b/Tests/LibWeb/Layout/expected/list-item-marker-content-height.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 168 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 136 0+0+8] children: not-inline
BlockContainer <ol> at [48,16] [0+0+40 744 0+0+0] [16+0+0 60 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,16] [0+0+0 744 0+0+0] [0+0+0 30 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [48,27 6.34375x16] baseline: 12.796875
"1"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,46] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,46] [0+0+0 744 0+0+0] [0+0+0 30 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [48,57 8.8125x16] baseline: 12.796875
"2"
@@ -22,31 +18,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"2. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,76] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,92] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ul> at [48,92] [0+0+40 744 0+0+0] [16+0+0 60 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,92] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- ListItemBox <li> at [48,92] [0+0+0 744 0+0+0] [0+0+0 30 0+0+0] children: inline
+ ListItemBox <li> at [48,92] [0+0+0 744 0+0+0] [0+0+0 30 0+0+0] children: not-inline
ListItemMarkerBox <(anonymous)> at [22,92] [0+0+0 25.953125 0+0+0] [0+0+0 30 0+0+0] [BFC] children: inline
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [22,92 25.953125x30] baseline: 24
"• "
GeneratedTextNode <(anonymous)> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,122] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- ListItemBox <li> at [48,122] [0+0+0 744 0+0+0] [0+0+0 30 0+0+0] children: inline
+ ListItemBox <li> at [48,122] [0+0+0 744 0+0+0] [0+0+0 30 0+0+0] children: not-inline
ListItemMarkerBox <(anonymous)> at [22,122] [0+0+0 25.953125 0+0+0] [0+0+0 30 0+0+0] [BFC] children: inline
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [22,122 25.953125x30] baseline: 24
"• "
GeneratedTextNode <(anonymous)> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,152] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x168] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-item-marker-pseudo-placement.txt b/Tests/LibWeb/Layout/expected/list-item-marker-pseudo-placement.txt
index 1cae11b9383..8756ac5078f 100644
--- a/Tests/LibWeb/Layout/expected/list-item-marker-pseudo-placement.txt
+++ b/Tests/LibWeb/Layout/expected/list-item-marker-pseudo-placement.txt
@@ -17,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 5, rect: [8,24 40.1875x16] baseline: 12.796875
"after"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-item-marker-tree-linkage.txt b/Tests/LibWeb/Layout/expected/list-item-marker-tree-linkage.txt
index ceb3c2a4f7e..65e80fa7af0 100644
--- a/Tests/LibWeb/Layout/expected/list-item-marker-tree-linkage.txt
+++ b/Tests/LibWeb/Layout/expected/list-item-marker-tree-linkage.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] children: not-inline
BlockContainer <ul> at [40,0] [0+0+40 760 0+0+0] [0+0+0 48 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [40,0] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.inside> at [40,0] [0+0+0 760 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <div> at [40,0] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 13, rect: [40,0 109.578125x16] baseline: 12.796875
@@ -15,8 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [40,16 13.84375x16] baseline: 12.796875
"• "
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [40,32] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.without-marker> at [40,32] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: not-inline
ListItemBox <div.nested> at [40,32] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 16, rect: [40,32 124.453125x16] baseline: 12.796875
@@ -26,10 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,48] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,48] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-item-specified-height-not-floored-by-marker.txt b/Tests/LibWeb/Layout/expected/list-item-specified-height-not-floored-by-marker.txt
index 877f2de14d0..c5ec242181e 100644
--- a/Tests/LibWeb/Layout/expected/list-item-specified-height-not-floored-by-marker.txt
+++ b/Tests/LibWeb/Layout/expected/list-item-specified-height-not-floored-by-marker.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] children: not-inline
BlockContainer <ul> at [100,0] [0+0+100 700 0+0+0] [0+0+0 42 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [100,0] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.h5> at [100,0] [0+0+0 700 0+0+0] [0+0+0 5 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 43, rect: [100,0 354.390625x16] baseline: 12.796875
"specified height wins over the marker floor"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,5] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.mh5> at [100,5] [0+0+0 700 0+0+0] [0+0+0 5 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 40, rect: [100,5 342.203125x16] baseline: 12.796875
"max-height clamps below the marker floor"
@@ -22,15 +18,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,10] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [100,10] [0+0+0 700 0+0+0] [0+0+0 16 0+0+0] children: not-inline
ListItemMarkerBox <(anonymous)> at [86,10] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [86,10 13.84375x16] baseline: 12.796875
"• "
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [100,26] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [100,26] [0+0+0 700 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 21, rect: [100,26 172.828125x16] baseline: 12.796875
"automatic height item"
@@ -39,10 +31,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,42] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,42] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-item-with-floated-child.txt b/Tests/LibWeb/Layout/expected/list-item-with-floated-child.txt
index a1fc3fe1642..9c746211099 100644
--- a/Tests/LibWeb/Layout/expected/list-item-with-floated-child.txt
+++ b/Tests/LibWeb/Layout/expected/list-item-with-floated-child.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,8 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: not-inline
ListItemMarkerBox <(anonymous)> at [-6,24] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [-6,24 13.84375x16] baseline: 12.796875
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,24 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-marker-in-abspos-list-item.txt b/Tests/LibWeb/Layout/expected/list-marker-in-abspos-list-item.txt
index 36549ff100f..ac051e212ea 100644
--- a/Tests/LibWeb/Layout/expected/list-marker-in-abspos-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/list-marker-in-abspos-list-item.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 24 0+0+0] children: not-inline
BlockContainer <ul> at [100,0] [0+0+100 700 0+0+0] [0+0+0 24 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [100,0] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [100,0] [0+0+0 700 0+0+0] [0+0+0 24 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [100,4 54.421875x16] baseline: 12.796875
"in flow"
@@ -12,19 +10,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,24] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- ListItemBox <li.abs> at [300,100] positioned [0+0+0 169.15625 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 21, rect: [300,104 169.15625x16] baseline: 12.796875
- "absolutely positioned"
- ListItemMarkerBox <(anonymous)> at [286,100] [0+0+0 13.84375 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
- frag 0 from GeneratedTextNode start: 0, length: 2, rect: [286,104 13.84375x16] baseline: 12.796875
- "• "
- GeneratedTextNode <(anonymous)> (not painted)
- TextNode <#text> (not painted)
+ ListItemBox <li.abs> at [300,100] positioned [0+0+0 169.15625 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 21, rect: [300,104 169.15625x16] baseline: 12.796875
+ "absolutely positioned"
+ ListItemMarkerBox <(anonymous)> at [286,100] [0+0+0 13.84375 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
+ frag 0 from GeneratedTextNode start: 0, length: 2, rect: [286,104 13.84375x16] baseline: 12.796875
+ "• "
+ GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,24] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x24] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-marker-in-flex-item-list-item.txt b/Tests/LibWeb/Layout/expected/list-marker-in-flex-item-list-item.txt
index 74c5003d260..95f0d80da02 100644
--- a/Tests/LibWeb/Layout/expected/list-marker-in-flex-item-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/list-marker-in-flex-item-list-item.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 24 0+0+0] children: not-inline
Box <ul> at [100,0] flex-container(row) [0+0+100 700 0+0+0] [0+0+0 24 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [100,0] flex-item [0+0+0 28.6875 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [100,4 28.6875x16] baseline: 12.796875
"one"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [168.6875,0] flex-item [0+0+0 28.4375 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [168.6875,4 28.4375x16] baseline: 12.796875
"two"
@@ -22,10 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,24] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x24] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-marker-in-floating-list-item.txt b/Tests/LibWeb/Layout/expected/list-marker-in-floating-list-item.txt
index e2dcc814691..a1795695ccb 100644
--- a/Tests/LibWeb/Layout/expected/list-marker-in-floating-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/list-marker-in-floating-list-item.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <ul> at [100,0] [0+0+100 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <ul> at [100,0] [0+0+100 700 0+0+0] [0+0+0 0 0+0+0] children: not-inline
ListItemBox <li.left> at [100,0] floating [0+0+0 80.828125 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [100,4 80.828125x16] baseline: 12.796875
"floats left"
@@ -11,7 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
ListItemBox <li.right> at [708.3125,0] floating [0+0+0 91.6875 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [708.3125,4 91.6875x16] baseline: 12.796875
"floats right"
@@ -20,9 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x24] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-marker-in-flow-root-and-overflow-hidden-list-item.txt b/Tests/LibWeb/Layout/expected/list-marker-in-flow-root-and-overflow-hidden-list-item.txt
index 07d0d52347c..46bf18ef5b1 100644
--- a/Tests/LibWeb/Layout/expected/list-marker-in-flow-root-and-overflow-hidden-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/list-marker-in-flow-root-and-overflow-hidden-list-item.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] children: not-inline
BlockContainer <ul> at [100,0] [0+0+100 700 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [100,0] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.flow-root> at [100,0] [0+0+0 700 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 19, rect: [100,4 148.484375x16] baseline: 12.796875
"flow-root list item"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,24] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.clipped> at [100,24] [0+0+0 700 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [100,28 197.609375x16] baseline: 12.796875
"overflow hidden list item"
@@ -22,10 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,64] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,64] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-marker-rtl.txt b/Tests/LibWeb/Layout/expected/list-marker-rtl.txt
index 96cf313e3a2..9ead7534ac1 100644
--- a/Tests/LibWeb/Layout/expected/list-marker-rtl.txt
+++ b/Tests/LibWeb/Layout/expected/list-marker-rtl.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
BlockContainer <ul> at [8,16] [0+0+0 744 40+0+0] [16+0+0 16 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [8,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [635.125,16 116.875x16] baseline: 12.796875
"___________"
@@ -12,10 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-marker-text-baseline-in-flow-root-list-item.txt b/Tests/LibWeb/Layout/expected/list-marker-text-baseline-in-flow-root-list-item.txt
index a153a94d7c6..40ee0adfd4d 100644
--- a/Tests/LibWeb/Layout/expected/list-marker-text-baseline-in-flow-root-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/list-marker-text-baseline-in-flow-root-list-item.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] children: not-inline
BlockContainer <ol> at [100,0] [0+0+100 700 0+0+0] [0+0+0 60 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [100,0] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [100,0] [0+0+0 700 0+0+0] [0+0+0 24 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 19, rect: [100,4 160.6875x16] baseline: 12.796875
"plain numbered item"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,24] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li.flow-root> at [100,24] [0+0+0 700 0+0+0] [0+0+0 36 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 23, rect: [100,30 298.09375x24] baseline: 19.1875
"flow-root numbered item"
@@ -22,10 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"2. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [100,60] [0+0+0 700 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,60] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-render-list-owner-is-document.txt b/Tests/LibWeb/Layout/expected/list-render-list-owner-is-document.txt
index e4fec1213de..5a5d524a4fd 100644
--- a/Tests/LibWeb/Layout/expected/list-render-list-owner-is-document.txt
+++ b/Tests/LibWeb/Layout/expected/list-render-list-owner-is-document.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
ListItemBox <li> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 29.8125x16] baseline: 12.796875
"One"
@@ -13,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,24 33.875x16] baseline: 12.796875
"Two"
@@ -23,9 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"2. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-render-list-owner-not-ol.txt b/Tests/LibWeb/Layout/expected/list-render-list-owner-not-ol.txt
index 0321d2fe4c9..1328bb37704 100644
--- a/Tests/LibWeb/Layout/expected/list-render-list-owner-not-ol.txt
+++ b/Tests/LibWeb/Layout/expected/list-render-list-owner-not-ol.txt
@@ -2,10 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
BlockContainer <div#list-item-owner> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
ListItemBox <li> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 29.8125x16] baseline: 12.796875
"One"
@@ -14,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,24 33.875x16] baseline: 12.796875
"Two"
@@ -24,11 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"2. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-render-no-list.txt b/Tests/LibWeb/Layout/expected/list-render-no-list.txt
index 4a2391619c5..fdcc261f02c 100644
--- a/Tests/LibWeb/Layout/expected/list-render-no-list.txt
+++ b/Tests/LibWeb/Layout/expected/list-render-no-list.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,8 29.8125x16] baseline: 12.796875
"One"
diff --git a/Tests/LibWeb/Layout/expected/list-style-image-marker-with-list-style-type-none.txt b/Tests/LibWeb/Layout/expected/list-style-image-marker-with-list-style-type-none.txt
index d6ef1943db5..7caa666854a 100644
--- a/Tests/LibWeb/Layout/expected/list-style-image-marker-with-list-style-type-none.txt
+++ b/Tests/LibWeb/Layout/expected/list-style-image-marker-with-list-style-type-none.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] children: not-inline
BlockContainer <ul> at [40,0] [0+0+40 760 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [40,0] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [40,0] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [40,0 42.390625x16] baseline: 12.796875
"image"
@@ -11,10 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from ImageBox start: 0, length: 0, rect: [28,4 12x8] baseline: 8
ImageBox <(anonymous)> at [28,4] [0+0+0 12 0+0+0] [0+0+0 8 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,16] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,16] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/list-style-image-marker.txt b/Tests/LibWeb/Layout/expected/list-style-image-marker.txt
index f43fcb72c36..7a00be9464b 100644
--- a/Tests/LibWeb/Layout/expected/list-style-image-marker.txt
+++ b/Tests/LibWeb/Layout/expected/list-style-image-marker.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <ul> at [40,0] [0+0+40 760 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [40,0] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [40,0] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [40,0 57.46875x16] baseline: 12.796875
"outside"
@@ -11,13 +9,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from ImageBox start: 0, length: 0, rect: [28,4 12x8] baseline: 8
ImageBox <(anonymous)> at [28,4] [0+0+0 12 0+0+0] [0+0+0 8 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,16] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,16] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ul.inside> at [40,16] [0+0+40 760 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [40,16] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [40,16] [0+0+0 760 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ListItemMarkerBox start: 0, length: 0, rect: [40,16 12x16] baseline: 12.796875
frag 1 from TextNode start: 0, length: 6, rect: [52,16 44.65625x16] baseline: 12.796875
@@ -26,10 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from ImageBox start: 0, length: 0, rect: [40,20 12x8] baseline: 8
ImageBox <(anonymous)> at [40,20] [0+0+0 12 0+0+0] [0+0+0 8 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [40,32] [0+0+0 760 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/margin-collapse-through-bfc.txt b/Tests/LibWeb/Layout/expected/margin-collapse-through-bfc.txt
index 7249d509286..f9da041b380 100644
--- a/Tests/LibWeb/Layout/expected/margin-collapse-through-bfc.txt
+++ b/Tests/LibWeb/Layout/expected/margin-collapse-through-bfc.txt
@@ -2,13 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div#outer> at [0,100] [0+0+0 800 0+0+0] [100+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/margin-collapse-through-zero-height-flex-and-grid-containers.txt b/Tests/LibWeb/Layout/expected/margin-collapse-through-zero-height-flex-and-grid-containers.txt
index d5463ffde17..0be03f2fbe6 100644
--- a/Tests/LibWeb/Layout/expected/margin-collapse-through-zero-height-flex-and-grid-containers.txt
+++ b/Tests/LibWeb/Layout/expected/margin-collapse-through-zero-height-flex-and-grid-containers.txt
@@ -5,14 +5,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [8,83] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
Box <div.flex> at [8,83] flex-container(row) [0+0+0 784 0+0+0] [35+0+0 0 0+0+15] [FFC] children: not-inline
BlockContainer <div.after> at [8,98] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,138] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.before> at [8,138] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: not-inline
BlockContainer <div> at [8,213] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
Box <div.grid> at [8,213] [0+0+0 784 0+0+0] [35+0+0 0 0+0+15] [GFC] children: not-inline
BlockContainer <div.after> at [8,228] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,268] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x276] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/mathml-out-of-flow-children-are-not-wrapped.txt b/Tests/LibWeb/Layout/expected/mathml-out-of-flow-children-are-not-wrapped.txt
index 6b869f596de..4a82a265bb4 100644
--- a/Tests/LibWeb/Layout/expected/mathml-out-of-flow-children-are-not-wrapped.txt
+++ b/Tests/LibWeb/Layout/expected/mathml-out-of-flow-children-are-not-wrapped.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 33.171875x20] baseline: 16
BlockContainer <math> at [8,8] [0+0+0 33.171875 0+0+0] [0+0+0 20 0+0+0] [MathFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <mn> at [8,8] positioned [0+0+0 12 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 12x20] baseline: 16
"0"
@@ -13,31 +11,19 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,8 7.9375x20] baseline: 16
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <mn> at [8,8] [0+0+0 11.015625 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 11.015625x20] baseline: 16
"2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <mrow> at [23.453125,8] [0+0+0 13.28125 0+0+0] [0+0+0 20 0+0+0] [MathFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <mn> at [23.453125,8] positioned [0+0+0 11.375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [23.453125,8 11.375x20] baseline: 16
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <mo> at [23.453125,8] [0+0+0 13.28125 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [23.453125,8 13.28125x20] baseline: 16
"+"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/media-query-empty.txt b/Tests/LibWeb/Layout/expected/media-query-empty.txt
index a791d616c80..9af0d5cf4bc 100644
--- a/Tests/LibWeb/Layout/expected/media-query-empty.txt
+++ b/Tests/LibWeb/Layout/expected/media-query-empty.txt
@@ -5,15 +5,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 42.140625x16] baseline: 12.796875
"First"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.second> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [8,24 57.40625x16] baseline: 12.796875
"Second"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/media-query-resolution.txt b/Tests/LibWeb/Layout/expected/media-query-resolution.txt
index 98251651976..57f4994acf2 100644
--- a/Tests/LibWeb/Layout/expected/media-query-resolution.txt
+++ b/Tests/LibWeb/Layout/expected/media-query-resolution.txt
@@ -7,15 +7,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 89, length: 5, rect: [8,32 40.625x16] baseline: 12.796875
"does."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,64] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.pass> at [8,64] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,64 49.734375x16] baseline: 12.796875
"PASS"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x88] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/min-content-width-with-min-width-zero-descendant.txt b/Tests/LibWeb/Layout/expected/min-content-width-with-min-width-zero-descendant.txt
index d75907a7e3f..4fa820e42a3 100644
--- a/Tests/LibWeb/Layout/expected/min-content-width-with-min-width-zero-descendant.txt
+++ b/Tests/LibWeb/Layout/expected/min-content-width-with-min-width-zero-descendant.txt
@@ -2,18 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
BlockContainer <div.bubble> at [8,8] [0+0+0 300 0+0+484] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.inner> at [8,8] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.child> at [8,8] [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,28] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 300 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/multi-code-point-graphemes.txt b/Tests/LibWeb/Layout/expected/multi-code-point-graphemes.txt
index 3d813316fc9..53f7e739ea9 100644
--- a/Tests/LibWeb/Layout/expected/multi-code-point-graphemes.txt
+++ b/Tests/LibWeb/Layout/expected/multi-code-point-graphemes.txt
@@ -5,20 +5,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,18.046875 20.3125x16] baseline: 12.796875
"🧑‍🚒"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,50.75] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [8,50.75] [0+0+0 784 0+0+0] [16+0+0 18.75 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,52.796875 20.3125x16] baseline: 12.796875
"🏴‍☠️"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,85.5] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [8,85.5] [0+0+0 784 0+0+0] [16+0+0 18.75 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [8,87.546875 20.3125x16] baseline: 12.796875
"🧑‍🧑‍🧒‍🧒"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,120.25] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120.25] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/multicol-bfc.txt b/Tests/LibWeb/Layout/expected/multicol-bfc.txt
index 1ad20a7b89e..4933d575aad 100644
--- a/Tests/LibWeb/Layout/expected/multicol-bfc.txt
+++ b/Tests/LibWeb/Layout/expected/multicol-bfc.txt
@@ -2,16 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/multicol-break-block.txt b/Tests/LibWeb/Layout/expected/multicol-break-block.txt
index a10c3a90009..3e9ec914129 100644
--- a/Tests/LibWeb/Layout/expected/multicol-break-block.txt
+++ b/Tests/LibWeb/Layout/expected/multicol-break-block.txt
@@ -2,23 +2,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div.multicol> at [0,0] [0+0+0 220 0+0+580] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.outer> at [5,5] [0+5+0 90 0+5+0] [0+5+0 95 0+0+0] fragment at [125,0] [90 85] children: not-inline
- BlockContainer <(anonymous)> at [5,5] [0+0+0 90 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [5,5] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div> at [5,35] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div> at [5,65] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div> at [5,95] [0+0+0 90 0+0+0] [0+0+0 5 0+0+0] fragment at [125,0] [90 25] children: not-inline
BlockContainer <div> at [125,25] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <div> at [125,55] [0+0+0 90 0+0+0] [0+0+0 30 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [125,85] [0+0+0 90 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [120,90] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/multicol-list-item-marker.txt b/Tests/LibWeb/Layout/expected/multicol-list-item-marker.txt
index 8fbdd02579d..bb0c61ee52e 100644
--- a/Tests/LibWeb/Layout/expected/multicol-list-item-marker.txt
+++ b/Tests/LibWeb/Layout/expected/multicol-list-item-marker.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [40,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <div.break> at [140,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <div.break> at [240,0] [0+0+0 100 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x20] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/nested-abspos-containing-block-chain.txt b/Tests/LibWeb/Layout/expected/nested-abspos-containing-block-chain.txt
index 9a667caaeda..27e806d234a 100644
--- a/Tests/LibWeb/Layout/expected/nested-abspos-containing-block-chain.txt
+++ b/Tests/LibWeb/Layout/expected/nested-abspos-containing-block-chain.txt
@@ -1,18 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: not-inline
- BlockContainer <div.outer> at [8,8] positioned [0+0+0 300 0+0+484] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.middle> at [38,28] positioned [0+0+0 200 0+0+0] [0+0+0 120 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.inner> at [53,38] positioned [0+0+0 80 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.outer> at [8,8] positioned [0+0+0 300 0+0+484] [0+0+0 200 0+0+0] children: not-inline
+ BlockContainer <div.middle> at [38,28] positioned [0+0+0 200 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.inner> at [53,38] positioned [0+0+0 80 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <div.innermost> at [107,64] positioned [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/nested-clearfix-with-stacked-floats.txt b/Tests/LibWeb/Layout/expected/nested-clearfix-with-stacked-floats.txt
index 075a89c2b47..45ec8872e49 100644
--- a/Tests/LibWeb/Layout/expected/nested-clearfix-with-stacked-floats.txt
+++ b/Tests/LibWeb/Layout/expected/nested-clearfix-with-stacked-floats.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
BlockContainer <div#after> at [8,158] [0+0+0 784 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x176] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/nowrap-and-no-line-break-opportunity.txt b/Tests/LibWeb/Layout/expected/nowrap-and-no-line-break-opportunity.txt
index c02271b6b7b..2b946ac8830 100644
--- a/Tests/LibWeb/Layout/expected/nowrap-and-no-line-break-opportunity.txt
+++ b/Tests/LibWeb/Layout/expected/nowrap-and-no-line-break-opportunity.txt
@@ -2,7 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 34 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 18 0+0+8] children: not-inline
BlockContainer <div.fixed_width> at [9,9] [0+1+0 50 0+1+732] [0+1+0 16 0+1+0] children: inline
- TextNode <#text> (not painted)
InlineNode <span.nowrap> at [9,9] [0+0+0 33.921875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 3, rect: [9,9 33.921875x16] baseline: 12.796875
"ABC"
diff --git a/Tests/LibWeb/Layout/expected/ol-render-deep-hybrid-list-item-list.txt b/Tests/LibWeb/Layout/expected/ol-render-deep-hybrid-list-item-list.txt
index 86da486f402..dfef79dbcb6 100644
--- a/Tests/LibWeb/Layout/expected/ol-render-deep-hybrid-list-item-list.txt
+++ b/Tests/LibWeb/Layout/expected/ol-render-deep-hybrid-list-item-list.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 368 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 336 0+0+8] children: not-inline
BlockContainer <ol> at [48,16] [0+0+40 744 0+0+0] [16+0+0 336 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [48,16 29.8125x16] baseline: 12.796875
"One"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,32] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [48,32 90.796875x16] baseline: 12.796875
"Twenty-two"
@@ -22,14 +18,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"22. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,48] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [48,48] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [48,48 100.609375x16] baseline: 12.796875
"Ignore these"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [48,64] [0+0+0 744 0+0+0] [0+0+0 64 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [48,64 24.890625x16] baseline: 12.796875
@@ -53,16 +45,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"23. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,128] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,128] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [48,144] [0+0+0 744 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 21, rect: [48,144 177.125x16] baseline: 12.796875
"Ignore this paragraph"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,176] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [48,176] [0+0+0 744 0+0+0] [16+0+0 16 0+0+16] children: inline
InlineNode <span> at [48,176] [0+0+0 35.265625 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [48,176 11.5625x16] baseline: 12.796875
@@ -84,8 +70,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"24. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,224] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [48,224] [0+0+0 744 0+0+0] [0+0+0 64 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [48,224] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 38, rect: [48,224 311.09375x16] baseline: 12.796875
@@ -104,10 +88,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"25. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,304] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,304] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,304] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [48,304 85.96875x16] baseline: 12.796875
"Twenty-six"
@@ -116,8 +96,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"26. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,320] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <span> at [48,320] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [48,320 106.953125x16] baseline: 12.796875
"Twenty-seven"
@@ -126,8 +104,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"27. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,336] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,336] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [48,336 99.359375x16] baseline: 12.796875
"Twenty-eight"
@@ -136,10 +112,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"28. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,352] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,368] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x368] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/ol-render-item-values.txt b/Tests/LibWeb/Layout/expected/ol-render-item-values.txt
index 317b16aea5e..e4e47ebf46f 100644
--- a/Tests/LibWeb/Layout/expected/ol-render-item-values.txt
+++ b/Tests/LibWeb/Layout/expected/ol-render-item-values.txt
@@ -1,11 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 96 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 64 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ol> at [48,16] [0+0+40 744 0+0+0] [16+0+0 64 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [48,16 47.21875x16] baseline: 12.796875
"Seven"
@@ -14,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"7. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,32] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 28, rect: [48,32 242.4375x16] baseline: 12.796875
"Minus one hundred and twelve"
@@ -24,9 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"-112. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,48] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
ListItemBox <li> at [48,48] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 23, rect: [48,48 206.5x16] baseline: 12.796875
"Two to the power of ten"
@@ -35,8 +26,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1024. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,64] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,64 51.34375x16] baseline: 12.796875
"Eleven"
@@ -45,10 +34,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"11. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,80] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,96] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/ol-render-style-list-item.txt b/Tests/LibWeb/Layout/expected/ol-render-style-list-item.txt
index 569ba219113..12152612f65 100644
--- a/Tests/LibWeb/Layout/expected/ol-render-style-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/ol-render-style-list-item.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 192 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 160 0+0+8] children: not-inline
BlockContainer <ol> at [48,16] [0+0+40 744 0+0+0] [16+0+0 160 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [48,16 29.8125x16] baseline: 12.796875
"One"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,32] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [48,32 90.796875x16] baseline: 12.796875
"Twenty-two"
@@ -22,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"22. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,48] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div> at [48,48] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [48,48 104.78125x16] baseline: 12.796875
"Twenty-three"
@@ -32,8 +26,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"23. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,64] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [48,64 97.75x16] baseline: 12.796875
"Twenty-four"
@@ -42,8 +34,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"24. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,80] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <p> at [48,96] [0+0+0 744 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [48,96 90.28125x16] baseline: 12.796875
"Twenty-five"
@@ -52,8 +42,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"25. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,128] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,128] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [48,128 85.96875x16] baseline: 12.796875
"Twenty-six"
@@ -62,8 +50,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"26. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,144] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <span> at [48,144] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [48,144 106.953125x16] baseline: 12.796875
"Twenty-seven"
@@ -72,8 +58,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"27. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,160] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,160] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [48,160 99.359375x16] baseline: 12.796875
"Twenty-eight"
@@ -82,10 +66,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"28. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,176] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,192] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x192] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/ordered-list.txt b/Tests/LibWeb/Layout/expected/ordered-list.txt
index 53e0fecb0c2..bac185b45cc 100644
--- a/Tests/LibWeb/Layout/expected/ordered-list.txt
+++ b/Tests/LibWeb/Layout/expected/ordered-list.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 160 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 128 0+0+8] children: not-inline
BlockContainer <ol> at [48,16] [0+0+40 744 0+0+0] [16+0+0 48 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [48,16 58.78125x16] baseline: 12.796875
"Item 20"
@@ -12,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"20. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,32] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [48,32 55.53125x16] baseline: 12.796875
"Item 21"
@@ -22,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"21. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,48] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,48] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 7, rect: [48,48 58x16] baseline: 12.796875
"Item 22"
@@ -32,13 +26,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"22. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ol> at [48,80] [0+0+40 744 0+0+0] [16+0+0 64 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,80] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,80] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,80 46.71875x16] baseline: 12.796875
"Item 1"
@@ -47,8 +35,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"1. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,96] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,96] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,96 48.828125x16] baseline: 12.796875
"Item 5"
@@ -57,8 +43,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"5. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,112] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,112] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,112 49.109375x16] baseline: 12.796875
"Item 6"
@@ -67,8 +51,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"6. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,128] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,128] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [48,128 49.09375x16] baseline: 12.796875
"Item 7"
@@ -77,10 +59,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"7. "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,144] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,160] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x160] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/overflow-with-padding.txt b/Tests/LibWeb/Layout/expected/overflow-with-padding.txt
index 910781fa895..c4c47723c79 100644
--- a/Tests/LibWeb/Layout/expected/overflow-with-padding.txt
+++ b/Tests/LibWeb/Layout/expected/overflow-with-padding.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"the padding."
TextNode <#text> (not painted)
InlineNode <span> at [35,35] [0+0+0 0 0+0+0] [0+0+0 16 0+0+0]
- BlockContainer <(anonymous)> at [8,130] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.outer> at [34,156] [0+1+25 400 25+1+332] [0+1+25 70 25+1+0] [BFC] children: not-inline overflow: [9,131 452x234]
BlockContainer <div.inner> at [35,157] [0+1+0 400 0+1+-2] [0+1+0 100 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 46, rect: [35,157 373.796875x16] baseline: 12.796875
@@ -40,8 +38,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 12 from TextNode start: 550, length: 20, rect: [35,349 165.21875x16] baseline: 12.796875
"container’s content."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,252] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x260] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/overflow-wrap-around-floats.txt b/Tests/LibWeb/Layout/expected/overflow-wrap-around-floats.txt
index a69196284ab..5fe059fce5f 100644
--- a/Tests/LibWeb/Layout/expected/overflow-wrap-around-floats.txt
+++ b/Tests/LibWeb/Layout/expected/overflow-wrap-around-floats.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"AAAA"
BlockContainer <span.float> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,108] [0+0+0 200 0+0+584] [0+0+0 100 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [108,108 23.375x20] baseline: 16
"aa"
@@ -29,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"AAAAAAAAA"
BlockContainer <span.float> at [8,108] floating [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,208] [0+0+0 200 0+0+584] [0+0+0 80 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [108,208 71.3125x20] baseline: 16
"AAAA"
@@ -45,8 +41,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.float> at [8,208] floating [0+0+0 100 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,288] [0+0+0 200 0+0+584] [0+0+0 80 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [108,288 23.375x20] baseline: 16
"aa"
@@ -56,8 +50,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 26, rect: [8,348 463.53125x20] baseline: 16
"AAAAAAAAAAAAAAAAAAAAAAAAAA"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,368] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x376] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/overflow-x-hidden-with-border-radius.txt b/Tests/LibWeb/Layout/expected/overflow-x-hidden-with-border-radius.txt
index be7fb70e599..c90d6a3b617 100644
--- a/Tests/LibWeb/Layout/expected/overflow-x-hidden-with-border-radius.txt
+++ b/Tests/LibWeb/Layout/expected/overflow-x-hidden-with-border-radius.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 118 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 102 0+0+8] children: not-inline
BlockContainer <div.box> at [9,9] positioned [0+1+0 100 0+1+682] [0+1+0 100 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,110] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x118] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pdf-viewer.txt b/Tests/LibWeb/Layout/expected/pdf-viewer.txt
index 5480b5c2923..57a199d5ef7 100644
--- a/Tests/LibWeb/Layout/expected/pdf-viewer.txt
+++ b/Tests/LibWeb/Layout/expected/pdf-viewer.txt
@@ -1,430 +1,212 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#outerContainer> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span#viewer-alert.visuallyHidden> at [0,0] positioned [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- Box <div#mainContainer> at [0,0] positioned flex-container(column) [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.toolbar> at [0,0] flex-item [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#toolbarContainer> at [1,2] positioned [0+0+1 798 1+0+0] [0+0+2 28 2+0+0] children: inline
- frag 0 from Box start: 0, length: 0, rect: [1,2 798x28] baseline: 22
- TextNode <#text> (not painted)
- Box <div#toolbarViewer.toolbarHorizontalGroup> at [1,2] flex-container(row) [0+0+0 798 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div#toolbarViewerLeft.toolbarHorizontalGroup> at [9,2] flex-container(row) flex-item [8+0+0 240.359375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#viewsManagerToggleButton.toolbarButton> at [9,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [15,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [31,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [31,16 45.78125x26]
- frag 0 from TextNode start: 0, length: 6, rect: [31,16 45.78125x13] baseline: 10.390625
- "Manage"
- frag 1 from TextNode start: 7, length: 5, rect: [31,29 36.0625x13] baseline: 10.390625
- "pages"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div.toolbarButtonSpacer> at [38,15.5] flex-item [0+0+0 30 0+0+0] [0+0+0 1 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.toolbarButtonWithContainer> at [69,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [69,2] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <button#viewFindButton.toolbarButton> at [69,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [75,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [91,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [91,16 28.09375x13]
- frag 0 from TextNode start: 0, length: 4, rect: [91,16 28.09375x13] baseline: 10.390625
- "Find"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [69,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div.toolbarHorizontalGroup.hiddenSmallView> at [98,2] flex-container(row) flex-item [0+0+0 59 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#previous.toolbarButton> at [98,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [104,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [120,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [120,16 57.953125x13]
- frag 0 from TextNode start: 0, length: 8, rect: [120,16 57.953125x13] baseline: 10.390625
- "Previous"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.splitToolbarButtonSeparator> at [128,7.328125] flex-item [0+1+0 0 0+0+0] [0+0+0 17.359375 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#next.toolbarButton> at [129,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [135,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [151,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [151,16 28.90625x13]
- frag 0 from TextNode start: 0, length: 4, rect: [151,16 28.90625x13] baseline: 10.390625
- "Next"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div.toolbarHorizontalGroup> at [158,2] flex-container(row) flex-item [0+0+0 91.359375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <span.loadingInput.start.toolbarHorizontalGroup> at [158,2] positioned flex-container(row) flex-item [0+0+0 56 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextInputBox <input#pageNumber.toolbarField> at [166,9.5] flex-item [0+1+7 40 7+1+0] [3+1+4 13 4+1+3] [BFC] children: not-inline
- Box <div> at [166,9.5] flex-container(row) [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- Box <div> at [166,9.5] flex-container(row) flex-item [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [166,9.5] flex-item [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 1, rect: [200.84375,9.5 5.15625x13] baseline: 10.390625
- "1"
- TextNode <#text> (not painted)
- Box <div> at [206,9.5] flex-container(column) flex-item [0+0+0 0 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <span#numPages.toolbarLabel> at [220,2] flex-container(column) flex-item [2+0+3 23.359375 4+0+2] [2+0+0 28 0+0+2] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [220,9] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [220,10 23.359375x12] baseline: 9.59375
- "of ⁨1⁩"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div#toolbarViewerMiddle.toolbarHorizontalGroup> at [313.9375,2] flex-container(row) flex-item [0+0+0 206.484375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div.toolbarHorizontalGroup> at [313.9375,2] flex-container(row) flex-item [0+0+0 59 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#zoomOutButton.toolbarButton> at [313.9375,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [319.9375,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [335.9375,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [335.9375,16 37.015625x26]
- frag 0 from TextNode start: 0, length: 4, rect: [335.9375,16 37.015625x13] baseline: 10.390625
- "Zoom"
- frag 1 from TextNode start: 5, length: 3, rect: [335.9375,29 22.84375x13] baseline: 10.390625
- "Out"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.splitToolbarButtonSeparator> at [343.9375,7.328125] flex-item [0+1+0 0 0+0+0] [0+0+0 17.359375 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#zoomInButton.toolbarButton> at [344.9375,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [350.9375,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [366.9375,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [366.9375,16 37.015625x26]
- frag 0 from TextNode start: 0, length: 4, rect: [366.9375,16 37.015625x13] baseline: 10.390625
- "Zoom"
- frag 1 from TextNode start: 5, length: 2, rect: [366.9375,29 11.546875x13] baseline: 10.390625
- "In"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <span#scaleSelectContainer.dropdownToolbarButton> at [373.9375,2] positioned flex-container(row) flex-item [0+0+0 146.484375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <select#scaleSelect> at [379.9375,3] flex-item [0+0+6 102.484375 38+0+0] [0+0+1 25 2+0+0] [BFC] children: not-inline
- Box <div> at [379.9375,3] positioned flex-container(row) [0+0+0 102.484375 0+0+0] [0+0+0 25 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [379.9375,9.5] flex-item [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] [BFC] children: not-inline
- BlockContainer <div> at [379.9375,9.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 14, rect: [379.9375,9.5 102.484375x12] baseline: 9.59375
- "Automatic Zoom"
+ BlockContainer <span#viewer-alert.visuallyHidden> at [0,0] positioned [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
+ Box <div#mainContainer> at [0,0] positioned flex-container(column) [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [FFC] children: not-inline
+ BlockContainer <div.toolbar> at [0,0] flex-item [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
+ BlockContainer <div#toolbarContainer> at [1,2] positioned [0+0+1 798 1+0+0] [0+0+2 28 2+0+0] children: inline
+ frag 0 from Box start: 0, length: 0, rect: [1,2 798x28] baseline: 22
+ Box <div#toolbarViewer.toolbarHorizontalGroup> at [1,2] flex-container(row) [0+0+0 798 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <div#toolbarViewerLeft.toolbarHorizontalGroup> at [9,2] flex-container(row) flex-item [8+0+0 240.359375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <button#viewsManagerToggleButton.toolbarButton> at [9,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [15,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [31,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [31,16 45.78125x26]
+ frag 0 from TextNode start: 0, length: 6, rect: [31,16 45.78125x13] baseline: 10.390625
+ "Manage"
+ frag 1 from TextNode start: 7, length: 5, rect: [31,29 36.0625x13] baseline: 10.390625
+ "pages"
+ TextNode <#text> (not painted)
+ BlockContainer <div.toolbarButtonSpacer> at [38,15.5] flex-item [0+0+0 30 0+0+0] [0+0+0 1 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.toolbarButtonWithContainer> at [69,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
+ Box <button#viewFindButton.toolbarButton> at [69,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [75,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [91,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [91,16 28.09375x13]
+ frag 0 from TextNode start: 0, length: 4, rect: [91,16 28.09375x13] baseline: 10.390625
+ "Find"
+ TextNode <#text> (not painted)
+ Box <div.toolbarHorizontalGroup.hiddenSmallView> at [98,2] flex-container(row) flex-item [0+0+0 59 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <button#previous.toolbarButton> at [98,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [104,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [120,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [120,16 57.953125x13]
+ frag 0 from TextNode start: 0, length: 8, rect: [120,16 57.953125x13] baseline: 10.390625
+ "Previous"
+ TextNode <#text> (not painted)
+ BlockContainer <div.splitToolbarButtonSeparator> at [128,7.328125] flex-item [0+1+0 0 0+0+0] [0+0+0 17.359375 0+0+0] [BFC] children: not-inline
+ Box <button#next.toolbarButton> at [129,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [135,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [151,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [151,16 28.90625x13]
+ frag 0 from TextNode start: 0, length: 4, rect: [151,16 28.90625x13] baseline: 10.390625
+ "Next"
+ TextNode <#text> (not painted)
+ Box <div.toolbarHorizontalGroup> at [158,2] flex-container(row) flex-item [0+0+0 91.359375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <span.loadingInput.start.toolbarHorizontalGroup> at [158,2] positioned flex-container(row) flex-item [0+0+0 56 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ TextInputBox <input#pageNumber.toolbarField> at [166,9.5] flex-item [0+1+7 40 7+1+0] [3+1+4 13 4+1+3] [BFC] children: not-inline
+ Box <div> at [166,9.5] flex-container(row) [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ Box <div> at [166,9.5] flex-container(row) flex-item [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [166,9.5] flex-item [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [200.84375,9.5 5.15625x13] baseline: 10.390625
+ "1"
TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,21.5] floating [0+0+0 102.484375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <div> at [379.9375,21.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 14, rect: [379.9375,21.5 102.484375x12] baseline: 9.59375
- "Automatic Zoom"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,33.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 11, rect: [379.9375,33.5 71.28125x12] baseline: 9.59375
- "Actual Size"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,45.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 8, rect: [379.9375,45.5 51.859375x12] baseline: 9.59375
- "Page Fit"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,57.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 10, rect: [379.9375,57.5 64.984375x12] baseline: 9.59375
- "Page Width"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,69.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 4, rect: [379.9375,69.5 16.421875x12] baseline: 9.59375
- "⁨0⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,81.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 5, rect: [379.9375,81.5 22.765625x12] baseline: 9.59375
- "⁨50⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,93.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 5, rect: [379.9375,93.5 22.109375x12] baseline: 9.59375
- "⁨75⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,105.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [379.9375,105.5 28.390625x12] baseline: 9.59375
- "⁨100⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,117.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [379.9375,117.5 26.9375x12] baseline: 9.59375
- "⁨125⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,129.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [379.9375,129.5 27.53125x12] baseline: 9.59375
- "⁨150⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,141.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [379.9375,141.5 30.234375x12] baseline: 9.59375
- "⁨200⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,153.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [379.9375,153.5 30.453125x12] baseline: 9.59375
- "⁨300⁩%"
- TextNode <#text> (not painted)
- BlockContainer <div> at [379.9375,165.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [379.9375,165.5 29.4375x12] baseline: 9.59375
- "⁨400⁩%"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [500.421875,8] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div#toolbarViewerRight.toolbarHorizontalGroup> at [585,2] flex-container(row) flex-item [0+0+0 214 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div#editorModeButtons.toolbarHorizontalGroup> at [585,2] flex-container(row) flex-item [0+0+0 115 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div#editorHighlight.toolbarButtonWithContainer> at [585,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [585,2] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <button#editorHighlightButton.toolbarButton> at [585,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [591,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [607,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [607,16 53.734375x13]
- frag 0 from TextNode start: 0, length: 9, rect: [607,16 53.734375x13] baseline: 10.390625
- "Highlight"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
+ Box <div> at [206,9.5] flex-container(column) flex-item [0+0+0 0 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ Box <span#numPages.toolbarLabel> at [220,2] flex-container(column) flex-item [2+0+3 23.359375 4+0+2] [2+0+0 28 0+0+2] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [220,9] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [220,10 23.359375x12] baseline: 9.59375
+ "of ⁨1⁩"
+ TextNode <#text> (not painted)
+ Box <div#toolbarViewerMiddle.toolbarHorizontalGroup> at [313.9375,2] flex-container(row) flex-item [0+0+0 206.484375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <div.toolbarHorizontalGroup> at [313.9375,2] flex-container(row) flex-item [0+0+0 59 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <button#zoomOutButton.toolbarButton> at [313.9375,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [319.9375,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [335.9375,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [335.9375,16 37.015625x26]
+ frag 0 from TextNode start: 0, length: 4, rect: [335.9375,16 37.015625x13] baseline: 10.390625
+ "Zoom"
+ frag 1 from TextNode start: 5, length: 3, rect: [335.9375,29 22.84375x13] baseline: 10.390625
+ "Out"
+ TextNode <#text> (not painted)
+ BlockContainer <div.splitToolbarButtonSeparator> at [343.9375,7.328125] flex-item [0+1+0 0 0+0+0] [0+0+0 17.359375 0+0+0] [BFC] children: not-inline
+ Box <button#zoomInButton.toolbarButton> at [344.9375,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [350.9375,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [366.9375,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [366.9375,16 37.015625x26]
+ frag 0 from TextNode start: 0, length: 4, rect: [366.9375,16 37.015625x13] baseline: 10.390625
+ "Zoom"
+ frag 1 from TextNode start: 5, length: 2, rect: [366.9375,29 11.546875x13] baseline: 10.390625
+ "In"
+ TextNode <#text> (not painted)
+ Box <span#scaleSelectContainer.dropdownToolbarButton> at [373.9375,2] positioned flex-container(row) flex-item [0+0+0 146.484375 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <select#scaleSelect> at [379.9375,3] flex-item [0+0+6 102.484375 38+0+0] [0+0+1 25 2+0+0] [BFC] children: not-inline
+ Box <div> at [379.9375,3] positioned flex-container(row) [0+0+0 102.484375 0+0+0] [0+0+0 25 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [379.9375,9.5] flex-item [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] [BFC] children: not-inline
+ BlockContainer <div> at [379.9375,9.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 14, rect: [379.9375,9.5 102.484375x12] baseline: 9.59375
+ "Automatic Zoom"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [585,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#editorFreeText.toolbarButtonWithContainer> at [614,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [614,2] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <button#editorFreeTextButton.toolbarButton> at [614,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [620,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [636,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [636,16 30.53125x13]
- frag 0 from TextNode start: 0, length: 4, rect: [636,16 30.53125x13] baseline: 10.390625
- "Text"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [614,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#editorInk.toolbarButtonWithContainer> at [643,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [643,2] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <button#editorInkButton.toolbarButton> at [643,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [649,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [665,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [665,16 32.921875x13]
- frag 0 from TextNode start: 0, length: 4, rect: [665,16 32.921875x13] baseline: 10.390625
- "Draw"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [643,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#editorStamp.toolbarButtonWithContainer> at [672,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [672,2] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <button#editorStampButton.toolbarButton> at [672,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [678,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [694,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [694,16 42.03125x52]
- frag 0 from TextNode start: 0, length: 3, rect: [694,16 24.375x13] baseline: 10.390625
- "Add"
- frag 1 from TextNode start: 4, length: 2, rect: [694,29 15.59375x13] baseline: 10.390625
- "or"
- frag 2 from TextNode start: 7, length: 4, rect: [694,42 22.75x13] baseline: 10.390625
- "edit"
- frag 3 from TextNode start: 12, length: 6, rect: [694,55 42.03125x13] baseline: 10.390625
- "images"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [672,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#editorModeSeparator.verticalToolbarSeparator> at [704,4.8125] flex-item [2+1+0 0 0+0+2] [0+0+0 22.390625 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <div.toolbarHorizontalGroup.hiddenMediumView> at [707,2] flex-container(row) flex-item [0+0+0 57 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#printButton.toolbarButton> at [707,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [713,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [729,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [729,16 33.640625x13]
- frag 0 from TextNode start: 0, length: 5, rect: [729,16 33.640625x13] baseline: 10.390625
- "Print"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- Box <button#downloadButton.toolbarButton> at [736,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [742,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [758,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [758,16 31.0625x13]
- frag 0 from TextNode start: 0, length: 4, rect: [758,16 31.0625x13] baseline: 10.390625
- "Save"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.verticalToolbarSeparator.hiddenMediumView> at [768,4.8125] flex-item [2+1+0 0 0+0+2] [0+0+0 22.390625 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#secondaryToolbarToggle.toolbarButtonWithContainer> at [771,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [771,2] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- Box <button#secondaryToolbarToggleButton.toolbarButton> at [771,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [777,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <span> at [793,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [793,16 37.859375x13]
- frag 0 from TextNode start: 0, length: 5, rect: [793,16 37.859375x13] baseline: 10.390625
- "Tools"
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [771,30] [0+0+0 28 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,21.5] floating [0+0+0 102.484375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
+ BlockContainer <div> at [379.9375,21.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 14, rect: [379.9375,21.5 102.484375x12] baseline: 9.59375
+ "Automatic Zoom"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,33.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 11, rect: [379.9375,33.5 71.28125x12] baseline: 9.59375
+ "Actual Size"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,45.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 8, rect: [379.9375,45.5 51.859375x12] baseline: 9.59375
+ "Page Fit"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,57.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 10, rect: [379.9375,57.5 64.984375x12] baseline: 9.59375
+ "Page Width"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,69.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 4, rect: [379.9375,69.5 16.421875x12] baseline: 9.59375
+ "⁨0⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,81.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [379.9375,81.5 22.765625x12] baseline: 9.59375
+ "⁨50⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,93.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [379.9375,93.5 22.109375x12] baseline: 9.59375
+ "⁨75⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,105.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [379.9375,105.5 28.390625x12] baseline: 9.59375
+ "⁨100⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,117.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [379.9375,117.5 26.9375x12] baseline: 9.59375
+ "⁨125⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,129.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [379.9375,129.5 27.53125x12] baseline: 9.59375
+ "⁨150⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,141.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [379.9375,141.5 30.234375x12] baseline: 9.59375
+ "⁨200⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,153.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [379.9375,153.5 30.453125x12] baseline: 9.59375
+ "⁨300⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <div> at [379.9375,165.5] [0+0+0 102.484375 0+0+0] [0+0+0 12 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [379.9375,165.5 29.4375x12] baseline: 9.59375
+ "⁨400⁩%"
+ TextNode <#text> (not painted)
+ BlockContainer <(anonymous)> at [500.421875,8] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ Box <div#toolbarViewerRight.toolbarHorizontalGroup> at [585,2] flex-container(row) flex-item [0+0+0 214 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <div#editorModeButtons.toolbarHorizontalGroup> at [585,2] flex-container(row) flex-item [0+0+0 115 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <div#editorHighlight.toolbarButtonWithContainer> at [585,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
+ Box <button#editorHighlightButton.toolbarButton> at [585,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [591,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [607,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [607,16 53.734375x13]
+ frag 0 from TextNode start: 0, length: 9, rect: [607,16 53.734375x13] baseline: 10.390625
+ "Highlight"
+ TextNode <#text> (not painted)
+ BlockContainer <div#editorFreeText.toolbarButtonWithContainer> at [614,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
+ Box <button#editorFreeTextButton.toolbarButton> at [614,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [620,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [636,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [636,16 30.53125x13]
+ frag 0 from TextNode start: 0, length: 4, rect: [636,16 30.53125x13] baseline: 10.390625
+ "Text"
+ TextNode <#text> (not painted)
+ BlockContainer <div#editorInk.toolbarButtonWithContainer> at [643,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
+ Box <button#editorInkButton.toolbarButton> at [643,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [649,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [665,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [665,16 32.921875x13]
+ frag 0 from TextNode start: 0, length: 4, rect: [665,16 32.921875x13] baseline: 10.390625
+ "Draw"
+ TextNode <#text> (not painted)
+ BlockContainer <div#editorStamp.toolbarButtonWithContainer> at [672,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
+ Box <button#editorStampButton.toolbarButton> at [672,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [678,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [694,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [694,16 42.03125x52]
+ frag 0 from TextNode start: 0, length: 3, rect: [694,16 24.375x13] baseline: 10.390625
+ "Add"
+ frag 1 from TextNode start: 4, length: 2, rect: [694,29 15.59375x13] baseline: 10.390625
+ "or"
+ frag 2 from TextNode start: 7, length: 4, rect: [694,42 22.75x13] baseline: 10.390625
+ "edit"
+ frag 3 from TextNode start: 12, length: 6, rect: [694,55 42.03125x13] baseline: 10.390625
+ "images"
+ TextNode <#text> (not painted)
+ BlockContainer <div#editorModeSeparator.verticalToolbarSeparator> at [704,4.8125] flex-item [2+1+0 0 0+0+2] [0+0+0 22.390625 0+0+0] [BFC] children: not-inline
+ Box <div.toolbarHorizontalGroup.hiddenMediumView> at [707,2] flex-container(row) flex-item [0+0+0 57 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ Box <button#printButton.toolbarButton> at [707,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [713,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [729,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [729,16 33.640625x13]
+ frag 0 from TextNode start: 0, length: 5, rect: [729,16 33.640625x13] baseline: 10.390625
+ "Print"
+ TextNode <#text> (not painted)
+ Box <button#downloadButton.toolbarButton> at [736,2] positioned flex-container(row) flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [742,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [758,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [758,16 31.0625x13]
+ frag 0 from TextNode start: 0, length: 4, rect: [758,16 31.0625x13] baseline: 10.390625
+ "Save"
+ TextNode <#text> (not painted)
+ BlockContainer <div.verticalToolbarSeparator.hiddenMediumView> at [768,4.8125] flex-item [2+1+0 0 0+0+2] [0+0+0 22.390625 0+0+0] [BFC] children: not-inline
+ BlockContainer <div#secondaryToolbarToggle.toolbarButtonWithContainer> at [771,2] positioned flex-item [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [BFC] children: not-inline
+ Box <button#secondaryToolbarToggleButton.toolbarButton> at [771,2] positioned flex-container(row) [0+0+0 28 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [777,8] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ BlockContainer <span> at [793,16] flex-item [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline overflow: [793,16 37.859375x13]
+ frag 0 from TextNode start: 0, length: 5, rect: [793,16 37.859375x13] baseline: 10.390625
+ "Tools"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
TextNode <#text> (not painted)
- BlockContainer <div#viewerContainer> at [0,32] positioned [0+0+0 800 0+0+0] [0+0+0 568 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div#viewer.pdfViewer> at [0,33] [0+0+0 800 0+0+0] [0+0+0 151 0+0+0] children: not-inline
- BlockContainer <div.page> at [233.5,42] positioned [224.5+9+0 333 0+9+224.5] [1+9+0 133 0+9+-8] children: not-inline
- BlockContainer <div.canvasWrapper> at [233.5,42] [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] [BFC] children: not-inline
- CanvasBox <canvas> at [233.5,42] positioned [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] children: not-inline
- BlockContainer <div.textLayer.selectionRendering> at [233.5,42] positioned [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] [BFC] children: not-inline
- BlockContainer <span> at [316.75,64.9375] positioned [0+0+0 121.046875 0+0+0] [0+0+0 23.328125 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 9, rect: [316.75,64.609375 121.046875x24] baseline: 18.984375
- "Hello PDF"
- TextNode <#text> (not painted)
- BlockContainer <div.endOfContent> at [233.5,175] positioned [0+0+0 333 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <div.annotationLayer> at [233.5,42] positioned [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,176] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div#dialogContainer> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,600] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <div#viewerContainer> at [0,32] positioned [0+0+0 800 0+0+0] [0+0+0 568 0+0+0] [BFC] children: not-inline
+ BlockContainer <div#viewer.pdfViewer> at [0,33] [0+0+0 800 0+0+0] [0+0+0 151 0+0+0] children: not-inline
+ BlockContainer <div.page> at [233.5,42] positioned [224.5+9+0 333 0+9+224.5] [1+9+0 133 0+9+-8] children: not-inline
+ BlockContainer <div.canvasWrapper> at [233.5,42] [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] [BFC] children: not-inline
+ CanvasBox <canvas> at [233.5,42] positioned [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] children: not-inline
+ BlockContainer <div.textLayer.selectionRendering> at [233.5,42] positioned [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] [BFC] children: inline
+ BlockContainer <span> at [316.75,64.9375] positioned [0+0+0 121.046875 0+0+0] [0+0+0 23.328125 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 9, rect: [316.75,64.609375 121.046875x24] baseline: 18.984375
+ "Hello PDF"
+ TextNode <#text> (not painted)
+ BlockContainer <div.endOfContent> at [233.5,175] positioned [0+0+0 333 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.annotationLayer> at [233.5,42] positioned [0+0+0 333 0+0+0] [0+0+0 133 0+0+0] [BFC] children: not-inline
+ BlockContainer <div#dialogContainer> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/percentage-font-size.txt b/Tests/LibWeb/Layout/expected/percentage-font-size.txt
index 2eefb370fc3..55c8284016a 100644
--- a/Tests/LibWeb/Layout/expected/percentage-font-size.txt
+++ b/Tests/LibWeb/Layout/expected/percentage-font-size.txt
@@ -1,38 +1,26 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 88 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 72 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 11.5625x16] baseline: 12.796875
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 0x0] baseline: 0
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,24] [0+0+0 784 0+0+0] [0+0+0 8 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,24 5.78125x8] baseline: 6.40625
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,32] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,32] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,32 11.5625x16] baseline: 12.796875
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,48] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,48 23.125x32] baseline: 25.59375
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,80] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x88] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/percentage-max-height-when-containing-block-has-indefinite-height.txt b/Tests/LibWeb/Layout/expected/percentage-max-height-when-containing-block-has-indefinite-height.txt
index 72ed60f894e..9adec8c5f44 100644
--- a/Tests/LibWeb/Layout/expected/percentage-max-height-when-containing-block-has-indefinite-height.txt
+++ b/Tests/LibWeb/Layout/expected/percentage-max-height-when-containing-block-has-indefinite-height.txt
@@ -6,29 +6,21 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [12,12 40.671875x16] baseline: 12.796875
"block"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,30] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.inline.formatting-context> at [11,31] [0+1+0 778 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
InlineNode <div> at [12,31] [0+1+0 41.296875 0+1+0] [0+1+0 16 0+1+0]
frag 0 from TextNode start: 0, length: 6, rect: [12,31 41.296875x16] baseline: 12.796875
"inline"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,48] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex.formatting-context> at [11,49] flex-container(row) [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [FFC] children: not-inline
BlockContainer <div> at [12,50] flex-item [0+1+0 29.09375 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,50 29.09375x16] baseline: 12.796875
"flex"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,68] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.grid.formatting-context> at [11,69] [0+1+0 778 0+1+0] [0+1+0 18 0+1+0] [GFC] children: not-inline
BlockContainer <div> at [12,70] [0+1+0 776 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [12,70 28.8125x16] baseline: 12.796875
"grid"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,88] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [10,88] [0+0+0 42.625 0+0+737.375] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <div.table.formatting-context> at [11,89] table-box [0+1+0 40.625 0+1+0] [0+1+0 18 0+1+0] [TFC] children: not-inline
Box <(anonymous)> at [11,89] table-row [0+0+0 40.625 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -37,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [12,90 38.625x16] baseline: 12.796875
"table"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,108] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/picture-source-media-query.txt b/Tests/LibWeb/Layout/expected/picture-source-media-query.txt
index d75d6d5a301..5ff38b0cdd5 100644
--- a/Tests/LibWeb/Layout/expected/picture-source-media-query.txt
+++ b/Tests/LibWeb/Layout/expected/picture-source-media-query.txt
@@ -1,7 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 416 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 400 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <picture> at [8,8] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0]
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 400x400] baseline: 400
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/popovertarget-button.txt b/Tests/LibWeb/Layout/expected/popovertarget-button.txt
index 1dd9c18c645..73739777830 100644
--- a/Tests/LibWeb/Layout/expected/popovertarget-button.txt
+++ b/Tests/LibWeb/Layout/expected/popovertarget-button.txt
@@ -6,11 +6,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [17,20] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> (not painted) [BFC] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <div#pop> at [358.84375,292] positioned [351.84375+3+4 82.3125 4+3+351.84375] [285+3+4 16 4+3+285] [BFC] children: inline
- TextNode <#text> (not painted)
InlineNode <span> at [358.84375,292] [0+0+0 82.3125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 10, rect: [358.84375,292 82.3125x16] baseline: 12.796875
"I'm a node"
diff --git a/Tests/LibWeb/Layout/expected/position-absolute-from-edges.txt b/Tests/LibWeb/Layout/expected/position-absolute-from-edges.txt
index 25a8090f095..6d0a4969c7f 100644
--- a/Tests/LibWeb/Layout/expected/position-absolute-from-edges.txt
+++ b/Tests/LibWeb/Layout/expected/position-absolute-from-edges.txt
@@ -1,17 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- BlockContainer <div#container> at [28,28] positioned [0+20+0 500 0+20+0] [0+20+0 400 0+20+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
+ BlockContainer <div#container> at [28,28] positioned [0+20+0 500 0+20+0] [0+20+0 400 0+20+0] [BFC] children: not-inline
BlockContainer <div#red> at [58,58] positioned [0+10+0 100 0+10+0] [0+10+0 100 0+10+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#green> at [358,98] positioned [50+0+0 100 0+0+50] [50+0+0 100 0+0+50] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#blue> at [48,308] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
BlockContainer <div#yellow> at [408,308] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt b/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
index bd0afd036f8..ad104784618 100644
--- a/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
+++ b/Tests/LibWeb/Layout/expected/position-absolute-top-left.txt
@@ -1,39 +1,16 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x616]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 616 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 600 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.blue.absolute> at [208,208] positioned [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.red.absolute> at [308,308] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <div.yellow.absolute> at [258,258] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.black.absolute> at [308,308] positioned [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <div.green.absolute> at [508,508] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ BlockContainer <div.blue.absolute> at [208,208] positioned [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.red.absolute> at [308,308] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.yellow.absolute> at [258,258] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.black.absolute> at [308,308] positioned [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
+ BlockContainer <div.green.absolute> at [508,508] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.blue> at [8,8] [0+0+0 200 0+0+584] [0+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.red> at [8,8] [0+0+0 100 0+0+100] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.yellow> at [8,108] [0+0+0 100 0+0+100] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,208] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.green> at [8,208] [0+0+0 100 0+0+100] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,308] [0+0+0 200 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.blue_margin> at [408,408] [400+0+0 200 0+0+184] [200+0+0 200 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,608] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x616] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/position-empty-pseudo-elements.txt b/Tests/LibWeb/Layout/expected/position-empty-pseudo-elements.txt
index 4fe650fc8b8..e384cd78ce0 100644
--- a/Tests/LibWeb/Layout/expected/position-empty-pseudo-elements.txt
+++ b/Tests/LibWeb/Layout/expected/position-empty-pseudo-elements.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.content_with_space> at [33,100] [25+0+0 50 0+0+709] [25+0+0 50 0+0+25] children: not-inline
BlockContainer <(anonymous)> at [33,150] [0+0+0 50 0+0+0] [0+0+50 0 0+0+0] children: inline
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,175] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x175] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-list-with-quote-control.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-list-with-quote-control.txt
index b7fe29029b4..1916a8c1064 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-list-with-quote-control.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-list-with-quote-control.txt
@@ -6,8 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [395,8] flex-item [0+0+0 10 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [395,10 10x10] baseline: 10
ImageBox <(anonymous)> at [395,10] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-none.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-none.txt
index eb7090972b3..b38f68313ab 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-none.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-none.txt
@@ -1,11 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.hidden-open> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.visible-pair> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,8] [0+0+0 58.703125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,8 58.703125x16] baseline: 12.796875
@@ -15,8 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 8, rect: [66.703125,8 66.078125x16] baseline: 12.796875
"[/outer]"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.outer> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,24] [0+0+0 58.703125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 7, rect: [8,24 58.703125x16] baseline: 12.796875
@@ -36,9 +30,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 8, rect: [185.078125,24 66.078125x16] baseline: 12.796875
"[/outer]"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <dialog> at [400,300] positioned [381+3+16 0 16+3+381] [281+3+16 0 16+3+281] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-types.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-types.txt
index 50630ecb4a9..26b9ec4fe5b 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-types.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-display-types.txt
@@ -7,24 +7,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"inline"
ImageBox <(anonymous)> at [8,10] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.block.single> at [8,24] [0+0+0 784 0+0+0] [0+0+0 26 0+0+0] children: not-inline
ImageBox <(anonymous)> at [8,24] [0+0+0 10 0+0+774] [0+0+0 10 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,34 40.671875x16] baseline: 12.796875
"block"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,50] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.flex.single> at [8,50] [0+0+0 784 0+0+0] [0+0+0 26 0+0+0] children: not-inline
ImageBox <(anonymous)> at [8,50] flex-container(row) [0+0+0 10 0+0+774] [0+0+0 10 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,60 29.09375x16] baseline: 12.796875
"flex"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,76] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.contents> at [8,76] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [18,76 70.25x16] baseline: 12.796875
"contents"
@@ -35,8 +29,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
InlineNode <(anonymous)> at [88.25,78] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0]
frag 0 from ImageBox start: 0, length: 0, rect: [88.25,78 10x10] baseline: 10
ImageBox <(anonymous)> at [88.25,78] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,92] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table> at [8,92] [0+0+0 784 0+0+0] [0+0+0 36 0+0+0] children: not-inline
ImageBox <(anonymous)> at [8,92] [0+0+0 10 0+0+774] [0+0+0 10 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,102] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
@@ -44,8 +36,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"table"
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [8,118] [0+0+0 10 0+0+774] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,128] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.inline-table> at [8,128] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,130 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 12, rect: [18,128 86.40625x16] baseline: 12.796875
@@ -54,8 +44,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,130] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [104.40625,130] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,144] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-row-group> at [8,144] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,146 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 15, rect: [18,144 127.9375x16] baseline: 12.796875
@@ -64,8 +52,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,146] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [145.9375,146] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,160] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-header-group> at [8,160] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,162 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 18, rect: [18,160 150.296875x16] baseline: 12.796875
@@ -74,8 +60,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,162] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [168.296875,162] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,176] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-footer-group> at [8,176] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,178 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 18, rect: [18,176 149.09375x16] baseline: 12.796875
@@ -84,8 +68,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,178] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [167.09375,178] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,192] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-row> at [8,192] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,194 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 9, rect: [18,192 75.515625x16] baseline: 12.796875
@@ -94,8 +76,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,194] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [93.515625,194] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-cell> at [8,208] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,210 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 10, rect: [18,208 71.1875x16] baseline: 12.796875
@@ -104,8 +84,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,210] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [89.1875,210] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,224] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-column-group> at [8,224] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,226 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 18, rect: [18,224 152.59375x16] baseline: 12.796875
@@ -114,8 +92,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,226] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [170.59375,226] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,240] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-column> at [8,240] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,242 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 12, rect: [18,240 100.171875x16] baseline: 12.796875
@@ -124,8 +100,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,242] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [118.171875,242] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,256] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-caption> at [8,256] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,258 10x10] baseline: 10
frag 1 from TextNode start: 0, length: 13, rect: [18,256 104.15625x16] baseline: 12.796875
@@ -134,8 +108,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <(anonymous)> at [8,258] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [122.15625,258] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,272] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x280] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-list-item.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-list-item.txt
index 3037c6f5304..9493ea1dc2c 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-list-item.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement-list-item.txt
@@ -18,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"▪ "
GeneratedTextNode <(anonymous)> (not painted)
ImageBox <(anonymous)> at [48.625,27.75] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,47.5] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x55.5] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt
index 4e6d7d41fcf..5e4fa5f4d8f 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt
@@ -1,48 +1,36 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 336 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 320 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <button.flex-container.single-image> at [17,11] flex-container(row) [0+2+7 182 7+2+584] [0+2+1 42 1+2+0] [FFC] children: not-inline
ImageBox <(anonymous)> at [17,11] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [57,11] flex-item [0+0+0 106.515625 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 14, rect: [57,11 106.515625x14] baseline: 10.984375
"Ratio-only SVG"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <button.flex-container.single-image.intrinsic-size> at [17,59] flex-container(row) [0+2+7 182 7+2+584] [0+2+1 42 1+2+0] [FFC] children: not-inline
ImageBox <(anonymous)> at [17,59] flex-item [0+0+0 40 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [65,59] flex-item [0+0+0 124.578125 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 18, rect: [65,59 124.578125x14] baseline: 10.984375
"Intrinsic-size SVG"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <button.flex-container.single-image.with-alt-text> at [17,107] flex-container(row) [0+2+7 182 7+2+584] [0+2+1 42 1+2+0] [FFC] children: not-inline
ImageBox <(anonymous)> at [17,107] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [57,107] flex-item [0+0+0 54.59375 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 8, rect: [57,107 54.59375x14] baseline: 10.984375
"Alt text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <button.flex-container.after-only> at [17,155] flex-container(row) [0+2+7 182 7+2+584] [0+2+1 42 1+2+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [17,155] flex-item [0+0+0 37.59375 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [17,155 37.59375x14] baseline: 10.984375
"After"
TextNode <#text> (not painted)
ImageBox <(anonymous)> at [62.59375,155] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex-container> at [8,200] flex-container(row) [0+0+0 200 0+0+584] [0+0+0 48 0+0+0] [FFC] children: not-inline
ImageBox <div.ordinary-replacement> at [8,200] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [48,200] flex-item [0+0+0 134.75 0+0+0] [0+0+0 48 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 16, rect: [48,200 134.75x16] baseline: 12.796875
"Ordinary element"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex-container> at [8,248] flex-container(row) [0+0+0 200 0+0+584] [0+0+0 48 0+0+0] [FFC] children: not-inline
ImageBox <img.direct-image> at [8,248] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
@@ -53,8 +41,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 12, rect: [48,248 99.390625x16] baseline: 12.796875
"Direct image"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.mixed-content> at [8,296] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,296] [0+0+0 102.71875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from GeneratedTextNode start: 0, length: 6, rect: [8,296 52.53125x16] baseline: 12.796875
@@ -65,16 +51,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
GeneratedTextNode <(anonymous)> (not painted)
ImageBox <(anonymous)> at [60.53125,298] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,312] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.multiple-images> at [8,312] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
InlineNode <(anonymous)> at [8,314] [0+0+0 20 0+0+0] [0+0+0 10 0+0+0]
frag 0 from ImageBox start: 0, length: 0, rect: [8,314 10x10] baseline: 10
frag 1 from ImageBox start: 0, length: 0, rect: [18,314 10x10] baseline: 10
ImageBox <(anonymous)> at [8,314] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
ImageBox <(anonymous)> at [18,314] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,328] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x336] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-position-absolute.txt b/Tests/LibWeb/Layout/expected/pseudo-element-position-absolute.txt
index 1630bffd657..21d66616592 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-position-absolute.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-position-absolute.txt
@@ -16,7 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"lorem ipsum"
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <span> at [8,40] [0+0+0 54.796875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 6, rect: [8,40 54.796875x16] baseline: 12.796875
"foobar"
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties-2.txt b/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties-2.txt
index e957fb63ef8..950c1ef57cd 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties-2.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties-2.txt
@@ -6,36 +6,29 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Variable set by inline style of element:"
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.a> at [8,28] [0+0+0 784 0+0+0] [0+0+0 104 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,28 200x100] baseline: 100
BlockContainer <(anonymous)> at [8,28] inline-block [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,132] [0+0+0 784 0+0+0] [0+0+0 60 0+0+0] children: inline
frag 0 from TextNode start: 1, length: 42, rect: [8,172 441.40625x20] baseline: 16
"Variable set by CSS rule matching element:"
- TextNode <#text> (not painted)
BreakNode <br> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.b> at [8,192] [0+0+0 784 0+0+0] [0+0+0 104 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,192 200x100] baseline: 100
BlockContainer <(anonymous)> at [8,192] inline-block [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [8,296] [0+0+0 784 0+0+0] [0+0+0 60 0+0+0] children: inline
frag 0 from TextNode start: 1, length: 49, rect: [8,336 520.765625x20] baseline: 16
"Variable set by CSS rule matching pseudo element:"
- TextNode <#text> (not painted)
BreakNode <br> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.c> at [8,356] [0+0+0 784 0+0+0] [0+0+0 104 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,356 200x100] baseline: 100
BlockContainer <(anonymous)> at [8,356] inline-block [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,460] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x468] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties.txt b/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties.txt
index 845ce2f2d81..71bf5b483f4 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-element-with-custom-properties.txt
@@ -1,7 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
- BlockContainer <div.hello> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: not-inline
+ BlockContainer <div.hello> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
BlockContainer <(anonymous)> at [8,8] positioned [0+0+0 500 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/pseudo-elements-after-first-style.txt b/Tests/LibWeb/Layout/expected/pseudo-elements-after-first-style.txt
index 1ec2ec3de8a..2d3b2398079 100644
--- a/Tests/LibWeb/Layout/expected/pseudo-elements-after-first-style.txt
+++ b/Tests/LibWeb/Layout/expected/pseudo-elements-after-first-style.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 37.171875x16] baseline: 12.796875
"plain"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#before.item> at [8,24] [0+0+0 200 0+0+584] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [31.875,24 52.53125x16] baseline: 12.796875
"before"
@@ -15,8 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"[x]"
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div#list.item.later-list-item> at [8,40] [0+0+0 200 0+0+584] [0+0+0 16 0+0+0] children: inline
frag 0 from ListItemMarkerBox start: 0, length: 0, rect: [8,40 13.84375x16] baseline: 12.796875
frag 1 from TextNode start: 0, length: 4, rect: [21.84375,40 25x16] baseline: 12.796875
@@ -26,9 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div#hidden> at [8,56] [0+0+0 784 0+0+0] [0+0+0 48 0+0+0] children: not-inline
BlockContainer <div.gen> at [8,56] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [29.34375,56 82.09375x16] baseline: 12.796875
@@ -70,9 +63,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from GeneratedTextNode start: 0, length: 3, rect: [110.65625,88 23.875x16] baseline: 12.796875
"[x]"
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <dialog#dialog> at [378.03125,292] positioned [359.03125+3+16 43.921875 16+3+359.03125] [273+3+16 16 16+3+273] [BFC] children: inline
frag 0 from TextNode start: 0, length: 6, rect: [378.03125,292 43.921875x16] baseline: 12.796875
diff --git a/Tests/LibWeb/Layout/expected/quirks/body-fills-html-element-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/body-fills-html-element-quirks-mode.txt
index 72d0a16c81a..9881b45b459 100644
--- a/Tests/LibWeb/Layout/expected/quirks/body-fills-html-element-quirks-mode.txt
+++ b/Tests/LibWeb/Layout/expected/quirks/body-fills-html-element-quirks-mode.txt
@@ -1,15 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [0,0 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,16] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt
index 4611a535d36..23696d3146f 100644
--- a/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt
+++ b/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt
@@ -2,7 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [9,3 81.671875x14] baseline: 13.984375
- TextNode <#text> (not painted)
BlockContainer <button> at [9,3] inline-block [0+2+7 81.671875 7+2+0] [0+2+1 14 1+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [9,3] flex-container(column) [0+0+0 81.671875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <(anonymous)> at [9,3] flex-item [0+0+0 81.671875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/quirks/flex-container-percentage-height-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/flex-container-percentage-height-quirks-mode.txt
index 9fd1251eea0..d57190c9cd4 100644
--- a/Tests/LibWeb/Layout/expected/quirks/flex-container-percentage-height-quirks-mode.txt
+++ b/Tests/LibWeb/Layout/expected/quirks/flex-container-percentage-height-quirks-mode.txt
@@ -1,22 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [0,0] [0+0+0 800 0+0+0] [0+0+0 300 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [0,0] flex-container(row) [0+0+0 800 0+0+0] [0+0+0 300 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,0] flex-item [0+0+0 50 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,300] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,300] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/quirks/flex-item-percentage-height-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/flex-item-percentage-height-quirks-mode.txt
index 286226e8fb1..22047448da4 100644
--- a/Tests/LibWeb/Layout/expected/quirks/flex-item-percentage-height-quirks-mode.txt
+++ b/Tests/LibWeb/Layout/expected/quirks/flex-item-percentage-height-quirks-mode.txt
@@ -1,20 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
Box <div> at [0,0] flex-container(column) [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,0] flex-item [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,0 11.5625x16] baseline: 12.796875
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,16] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt
index 2deff59e14f..2baabaf7620 100644
--- a/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt
+++ b/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x610]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 610 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,13] [8+0+0 784 0+0+8] [8+0+0 584 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,13] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 20 0+0+13] children: inline
frag 0 from TextInputBox start: 0, length: 0, rect: [13,16 159.6875x14] baseline: 13.984375
TextInputBox <input> at [13,16] inline-block [0+2+3 159.6875 3+2+0] [0+2+1 14 1+2+0] [BFC] children: not-inline
@@ -10,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div> at [13,16] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [13,16 0x14] baseline: 10.984375
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,46] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x610] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/ratio-only-replaced-image-fit-content.txt b/Tests/LibWeb/Layout/expected/ratio-only-replaced-image-fit-content.txt
index 518c0555cfe..9776533ae1d 100644
--- a/Tests/LibWeb/Layout/expected/ratio-only-replaced-image-fit-content.txt
+++ b/Tests/LibWeb/Layout/expected/ratio-only-replaced-image-fit-content.txt
@@ -7,16 +7,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Viewport <#document> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[100 0 0 100 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,108] flex-container(row) [0+0+0 200 0+0+584] [0+0+0 32 0+0+0] [FFC] children: not-inline
ImageBox <img.calculated-max-height> at [8,108] flex-item [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
SVGSVGBox <svg> at [0,0] [0+0+0 64 0+0+0] [0+0+0 32 0+0+0] viewport-transform=[32 0 0 32 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 2 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,140] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x148] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/rebuild-parent-style-scope-counter-style-cache.txt b/Tests/LibWeb/Layout/expected/rebuild-parent-style-scope-counter-style-cache.txt
index adc0b4e0cd8..cd21349b021 100644
--- a/Tests/LibWeb/Layout/expected/rebuild-parent-style-scope-counter-style-cache.txt
+++ b/Tests/LibWeb/Layout/expected/rebuild-parent-style-scope-counter-style-cache.txt
@@ -2,18 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from ListItemMarkerBox start: 0, length: 0, rect: [8,8 13.84375x16] baseline: 12.796875
ListItemMarkerBox <(anonymous)> at [8,8] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from GeneratedTextNode start: 0, length: 2, rect: [8,8 13.84375x16] baseline: 12.796875
"► "
GeneratedTextNode <(anonymous)> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/replaced-within-max-content.txt b/Tests/LibWeb/Layout/expected/replaced-within-max-content.txt
index 9deed39d38a..eb73f6aac1e 100644
--- a/Tests/LibWeb/Layout/expected/replaced-within-max-content.txt
+++ b/Tests/LibWeb/Layout/expected/replaced-within-max-content.txt
@@ -1,7 +1,5 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
BlockContainer <div.container> at [8,8] [0+0+0 150 0+0+634] [0+0+0 150 0+0+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [8,8 150x150] baseline: 150
diff --git a/Tests/LibWeb/Layout/expected/resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt b/Tests/LibWeb/Layout/expected/resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt
index b70b3b7b8e4..94b34484295 100644
--- a/Tests/LibWeb/Layout/expected/resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt
+++ b/Tests/LibWeb/Layout/expected/resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt
@@ -4,23 +4,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.w.min> at [11,11] [0+1+0 2 0+1+776] [0+1+0 16 0+1+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [12,20 2x2] baseline: 4
ImageBox <img> at [12,20] [0+1+0 2 0+1+0] [0+1+0 2 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [10,28] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.w.max> at [11,29] [0+1+0 402 0+1+376] [0+1+0 404 0+1+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [12,30 402x402] baseline: 404
ImageBox <img> at [12,30] [0+1+0 402 0+1+0] [0+1+0 402 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [10,434] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.h.min> at [11,435] [0+1+0 778 0+1+0] [0+1+0 402 0+1+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [12,436 400x400] baseline: 402
ImageBox <img> at [12,436] [0+1+0 400 0+1+0] [0+1+0 400 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [10,838] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.h.max> at [11,839] [0+1+0 778 0+1+0] [0+1+0 402 0+1+0] children: inline
frag 0 from ImageBox start: 0, length: 0, rect: [12,840 400x400] baseline: 402
ImageBox <img> at [12,840] [0+1+0 400 0+1+0] [0+1+0 400 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [10,1242] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x1250] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/resolve-height-of-containing-block.txt b/Tests/LibWeb/Layout/expected/resolve-height-of-containing-block.txt
index 28c8ae5c0c0..2be480e9621 100644
--- a/Tests/LibWeb/Layout/expected/resolve-height-of-containing-block.txt
+++ b/Tests/LibWeb/Layout/expected/resolve-height-of-containing-block.txt
@@ -1,28 +1,13 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 1288x824]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 824 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 800 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.foo> at [8,16] [0+0+0 1280 0+0+-496] [0+0+0 800 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 1280 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,16] [0+0+0 1280 0+0+0] [0+0+0 400 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 1280 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- ImageBox <img> at [488,16] floating [0+0+0 800 0+0+0] [0+0+0 400 0+0+0] children: not-inline
- TextNode <#text> (not painted)
+ ImageBox <img> at [488,16] floating [0+0+0 800 0+0+0] [0+0+0 400 0+0+0] children: not-inline
BlockContainer <p> at [8,16] [0+0+0 1280 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,16 37.21875x16] baseline: 12.796875
"Test"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 1280 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,416] [0+0+0 1280 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,816] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x824] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt b/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt
index 5094e5059eb..2ad3361d00d 100644
--- a/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt
+++ b/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt
@@ -34,8 +34,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [139.296875,11 19.65625x14] baseline: 10.984375
"Go"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,28] [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,29 29.265625x16] baseline: 12.796875
"Xx "
@@ -53,8 +51,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [46.265625,45 47.03125x14] baseline: 10.984375
"English"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x56] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt b/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt
index e3299f7dec9..12192303736 100644
--- a/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt
+++ b/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt
@@ -27,7 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGSVGBox <svg> at [78.796875,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/select-list-box-optgroup-attribute-changes.txt b/Tests/LibWeb/Layout/expected/select-list-box-optgroup-attribute-changes.txt
index d84f56a4e77..aa9e3ea12af 100644
--- a/Tests/LibWeb/Layout/expected/select-list-box-optgroup-attribute-changes.txt
+++ b/Tests/LibWeb/Layout/expected/select-list-box-optgroup-attribute-changes.txt
@@ -21,7 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"C"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x147.953125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/set-margin-of-floating-box.txt b/Tests/LibWeb/Layout/expected/set-margin-of-floating-box.txt
index dc41d1efb3e..8fba386de1f 100644
--- a/Tests/LibWeb/Layout/expected/set-margin-of-floating-box.txt
+++ b/Tests/LibWeb/Layout/expected/set-margin-of-floating-box.txt
@@ -1,18 +1,11 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- ImageBox <img> at [8,16] floating [0+0+0 200 0+0+20] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
+ ImageBox <img> at [8,16] floating [0+0+0 200 0+0+20] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <p> at [8,16] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [228,16 37.21875x16] baseline: 12.796875
"Test"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x116] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/shadow-tree-removed-from-dom-receives-event.txt b/Tests/LibWeb/Layout/expected/shadow-tree-removed-from-dom-receives-event.txt
index 45d15f2d558..b6e459838ef 100644
--- a/Tests/LibWeb/Layout/expected/shadow-tree-removed-from-dom-receives-event.txt
+++ b/Tests/LibWeb/Layout/expected/shadow-tree-removed-from-dom-receives-event.txt
@@ -6,9 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 43.421875x16] baseline: 12.796875
"Pass!"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-after-space.txt b/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-after-space.txt
index 2ef617a4bfc..3ffedebff35 100644
--- a/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-after-space.txt
+++ b/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-after-space.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 11, length: 9, rect: [8,18 90x10] baseline: 8
"efficient"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,38] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,38] [0+0+0 110 0+0+674] [0+0+0 20 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,38 40x10] baseline: 8
"aaa "
@@ -20,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"memory-"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,68] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,68] [0+0+0 110 0+0+674] [0+0+0 20 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [8,68 110x10] baseline: 8
"aaa memory-"
@@ -30,8 +26,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 9, rect: [8,78 90x10] baseline: 8
"efficient"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,98] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x98] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-between-text-nodes.txt b/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-between-text-nodes.txt
index a057c82888d..57a6e8513ef 100644
--- a/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-between-text-nodes.txt
+++ b/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-after-hyphen-between-text-nodes.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 4, length: 1, rect: [8,24 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,50] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,50] [0+0+0 0 0+0+784] [0+0+0 32 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,50 27.703125x16] baseline: 12.796875
"abc"
@@ -20,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"-"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,92] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,92] [0+0+0 0 0+0+784] [0+0+0 32 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [8,92 34.1875x16] baseline: 12.796875
"abc-"
@@ -30,8 +26,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,108 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,134] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,134] [0+0+0 0 0+0+784] [0+0+0 32 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,134 6.484375x16] baseline: 12.796875
"-"
@@ -43,8 +37,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"-"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,176] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x176] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-between-regional-indicators.txt b/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-between-regional-indicators.txt
index 03d94a604a2..8b380ebe5af 100644
--- a/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-between-regional-indicators.txt
+++ b/Tests/LibWeb/Layout/expected/soft-wrap-opportunity-between-regional-indicators.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [28.3125,63.046875 20.3125x16] baseline: 12.796875
"🇸"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,90.25] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,90.25] [0+0+0 0 0+0+784] [0+0+0 37.5 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 2, rect: [8,92.296875 20.3125x16] baseline: 12.796875
"🇺"
@@ -32,8 +30,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [28.3125,110.296875 20.3125x16] baseline: 12.796875
"🇸"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,137.75] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x137.75] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/space-is-soft-line-break-opportunity.txt b/Tests/LibWeb/Layout/expected/space-is-soft-line-break-opportunity.txt
index 3e9dd476114..6b5c8ba9d61 100644
--- a/Tests/LibWeb/Layout/expected/space-is-soft-line-break-opportunity.txt
+++ b/Tests/LibWeb/Layout/expected/space-is-soft-line-break-opportunity.txt
@@ -2,7 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 34 0+0+8] children: not-inline
BlockContainer <div.fixed_width> at [9,9] [0+1+0 50 0+1+732] [0+1+0 32 0+1+0] children: inline
- TextNode <#text> (not painted)
InlineNode <span.nowrap> at [9,9] [0+0+0 33.921875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 3, rect: [9,9 33.921875x16] baseline: 12.796875
"ABC"
diff --git a/Tests/LibWeb/Layout/expected/svg-foreignobject-absolute-positioning.txt b/Tests/LibWeb/Layout/expected/svg-foreignobject-absolute-positioning.txt
index 65cb2e8ebce..a084018f063 100644
--- a/Tests/LibWeb/Layout/expected/svg-foreignobject-absolute-positioning.txt
+++ b/Tests/LibWeb/Layout/expected/svg-foreignobject-absolute-positioning.txt
@@ -2,17 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 200x200] baseline: 200
- SVGSVGBox <svg> at [8,8] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at [50,50] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [50,50] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <div> at [50,50] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 12, rect: [50,50 94.15625x16] baseline: 12.796875
+ "I am offset!"
TextNode <#text> (not painted)
- BlockContainer <div> at [50,50] positioned [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 12, rect: [50,50 94.15625x16] baseline: 12.796875
- "I am offset!"
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg-preserve-aspect-ratio.txt b/Tests/LibWeb/Layout/expected/svg-preserve-aspect-ratio.txt
index 1ed98ef0fd8..1f7c047fe46 100644
--- a/Tests/LibWeb/Layout/expected/svg-preserve-aspect-ratio.txt
+++ b/Tests/LibWeb/Layout/expected/svg-preserve-aspect-ratio.txt
@@ -36,70 +36,44 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 22 from TextNode start: 0, length: 1, rect: [240,249 8x16] baseline: 12.796875
" "
frag 23 from SVGSVGBox start: 0, length: 0, rect: [249,201 160x60] baseline: 62
- SVGSVGBox <svg> at [9,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[0.5 0 0 0.5 25 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [9,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[0.5 0 0 0.5 25 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [119,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[0.5 0 0 0.5 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [119,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[0.5 0 0 0.5 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [229,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[0.5 0 0 0.5 50 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [229,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[0.5 0 0 0.5 50 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [339,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [339,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [449,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[1 0 0 1 0 -25] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [449,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[1 0 0 1 0 -25] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [559,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[1 0 0 1 0 -50] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [559,84] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] viewport-transform=[1 0 0 1 0 -50] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [669,9] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[0.5 0 0 0.5 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [669,9] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[0.5 0 0 0.5 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [729,9] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[0.5 0 0 0.5 0 37.5] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [729,9] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[0.5 0 0 0.5 0 37.5] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [9,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[0.5 0 0 0.5 0 75] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [9,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[0.5 0 0 0.5 0 75] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [69,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[1.25 0 0 1.25 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [69,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[1.25 0 0 1.25 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [129,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[1.25 0 0 1.25 -37.5 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [129,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[1.25 0 0 1.25 -37.5 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [189,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[1.25 0 0 1.25 -75 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [189,136] [0+1+0 50 0+1+0] [0+1+0 125 0+1+0] viewport-transform=[1.25 0 0 1.25 -75 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [249,201] [0+1+0 160 0+1+0] [0+1+0 60 0+1+0] viewport-transform=[1.6 0 0 0.6 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [249,201] [0+1+0 160 0+1+0] [0+1+0 60 0+1+0] viewport-transform=[1.6 0 0 0.6 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg-text-dominant-baseline.txt b/Tests/LibWeb/Layout/expected/svg-text-dominant-baseline.txt
index fbfcce51bd5..5e329307f93 100644
--- a/Tests/LibWeb/Layout/expected/svg-text-dominant-baseline.txt
+++ b/Tests/LibWeb/Layout/expected/svg-text-dominant-baseline.txt
@@ -2,43 +2,28 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 416 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 400 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 400x400] baseline: 400
- SVGSVGBox <svg> at [8,8] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <line> at [-0.25,49.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.25,99.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.25,149.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.25,199.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.25,249.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.25,299.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.25,349.75] [0+0+0 400.5 0+0+0] [0+0+0 0.5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,34] [0+0+0 45.421875 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,84] [0+0+0 100.21875 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,140] [0+0+0 70.625 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,189.375] [0+0+0 56.8125 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,246.796875] [0+0+0 71.953125 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,280] [0+0+0 111.78125 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,342] [0+0+0 127.359375 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg-text-with-percentage-values.txt b/Tests/LibWeb/Layout/expected/svg-text-with-percentage-values.txt
index 6501c6dffa1..809b3499768 100644
--- a/Tests/LibWeb/Layout/expected/svg-text-with-percentage-values.txt
+++ b/Tests/LibWeb/Layout/expected/svg-text-with-percentage-values.txt
@@ -2,21 +2,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 277.328125 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 261.328125 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 784x261.328125] baseline: 261.328125
- SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 261.328125 0+0+0] viewport-transform=[3.2666016 0 0 3.2666016 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 261.328125 0+0+0] viewport-transform=[3.2666016 0 0 3.2666016 0 0] [SVG] children: not-inline
SVGTextBox <text.small> at [24,17.609375] [0+0+0 15.390625 0+0+0] [0+0+0 13 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text.heavy> at [40.796875,4] [0+0+0 47.046875 0+0+0] [0+0+0 30 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text.small> at [60,33.609375] [0+0+0 11.296875 0+0+0] [0+0+0 13 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text.Rrrrr> at [72,12] [0+0+0 161.265625 0+0+0] [0+0+0 40 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg-text-with-viewbox.txt b/Tests/LibWeb/Layout/expected/svg-text-with-viewbox.txt
index 64e8c918899..efc6cc36049 100644
--- a/Tests/LibWeb/Layout/expected/svg-text-with-viewbox.txt
+++ b/Tests/LibWeb/Layout/expected/svg-text-with-viewbox.txt
@@ -2,21 +2,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 277.328125 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 261.328125 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 784x261.328125] baseline: 261.328125
- SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 261.328125 0+0+0] viewport-transform=[3.2666016 0 0 3.2666016 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 261.328125 0+0+0] viewport-transform=[3.2666016 0 0 3.2666016 0 0] [SVG] children: not-inline
SVGTextBox <text.small> at [20,24.609375] [0+0+0 15.390625 0+0+0] [0+0+0 13 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text.heavy> at [40,11] [0+0+0 47.046875 0+0+0] [0+0+0 30 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text.small> at [55,44.609375] [0+0+0 11.296875 0+0+0] [0+0+0 13 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text.Rrrrr> at [65,23] [0+0+0 161.265625 0+0+0] [0+0+0 40 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt b/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt
index 59098a1dd04..8f9a463b7c8 100644
--- a/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt
+++ b/Tests/LibWeb/Layout/expected/svg-transforms-and-viewboxes.txt
@@ -16,80 +16,40 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
" "
frag 9 from SVGSVGBox start: 0, length: 0, rect: [466,250 200x200] baseline: 200
frag 10 from SVGSVGBox start: 0, length: 0, rect: [50,450 200x200] baseline: 200
- SVGSVGBox <svg> at [50,150] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 25 0] [SVG] children: inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [10,10] [0+0+0 80 0+0+0] [0+0+0 80 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [50,150] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 25 0] [SVG] children: not-inline
+ SVGGraphicsBox <g> at [10,10] [0+0+0 80 0+0+0] [0+0+0 80 0+0+0] children: not-inline
SVGGeometryBox <path> at [10,10] [0+0+0 80 0+0+0] [0+0+0 80 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [9.5,9.5] [0+0+0 81 0+0+0] [0+0+0 81 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [9.5,9.5] [0+0+0 81 0+0+0] [0+0+0 81 0+0+0] children: not-inline
SVGGeometryBox <path> at [9.5,9.5] [0+0+0 81 0+0+0] [0+0+0 81 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [258,50] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [258,50] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [10,10] [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [10,10] [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [466,50] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[20 0 0 20 100 100] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [466,50] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[20 0 0 20 100 100] [SVG] children: not-inline
SVGGeometryBox <rect> at [-3,-3] [0+0+0 6 0+0+0] [0+0+0 6 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [-3,-3] [0+0+0 6 0+0+0] [0+0+0 6 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [50,250] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[5.882353 0 0 5.882353 70.588234 70.57721] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [50,250] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[5.882353 0 0 5.882353 70.588234 70.57721] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [258,250] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[2 0 0 2 100 100] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [258,250] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[2 0 0 2 100 100] [SVG] children: not-inline
SVGGeometryBox <circle> at [-10,-10] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <circle> at [-10,-10] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <circle> at [-10,-10] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <circle> at [-10,-10] [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [466,250] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[20 0 0 20 100 100] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [466,250] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[20 0 0 20 100 100] [SVG] children: not-inline
SVGGeometryBox <rect> at [-3,-3] [0+0+0 6 0+0+0] [0+0+0 6 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [-3,-3] [0+0+0 6 0+0+0] [0+0+0 6 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [50,450] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[2 0 0 2 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [50,450] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[2 0 0 2 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [5,5] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [5,5] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [5,5] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [5,5] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/foreignObject-flex-with-abspos-child.txt b/Tests/LibWeb/Layout/expected/svg/foreignObject-flex-with-abspos-child.txt
index 4ad4d7498a4..a83932e1550 100644
--- a/Tests/LibWeb/Layout/expected/svg/foreignObject-flex-with-abspos-child.txt
+++ b/Tests/LibWeb/Layout/expected/svg/foreignObject-flex-with-abspos-child.txt
@@ -1,20 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 300 0+0+500] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 300 0+0+500] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at [20,30] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 120 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#item> at [20,30] flex-item [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#abs> at [35,40] positioned [0+0+0 50 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,200] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x200] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/foreignObject-percentage-geometry-viewbox.txt b/Tests/LibWeb/Layout/expected/svg/foreignObject-percentage-geometry-viewbox.txt
index 4eaacb4a23f..f7460305a1e 100644
--- a/Tests/LibWeb/Layout/expected/svg/foreignObject-percentage-geometry-viewbox.txt
+++ b/Tests/LibWeb/Layout/expected/svg/foreignObject-percentage-geometry-viewbox.txt
@@ -2,15 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 200 0+0+0] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [0,0 400x200] baseline: 200
- SVGSVGBox <svg> at [0,0] [0+0+0 400 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[2 0 0 2 100 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 400 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[2 0 0 2 100 0] [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at [10,10] [0+0+0 50 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [10,10] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 50 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/foreignObject-simple.txt b/Tests/LibWeb/Layout/expected/svg/foreignObject-simple.txt
index 97dd27fb012..527298105e1 100644
--- a/Tests/LibWeb/Layout/expected/svg/foreignObject-simple.txt
+++ b/Tests/LibWeb/Layout/expected/svg/foreignObject-simple.txt
@@ -4,8 +4,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGSVGBox <svg> at [8,8] [0+0+0 48 0+0+736] [0+0+0 48 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at [0,0] [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline overflow: [0,0 50x50]
BlockContainer <div> at [5,5] [0+5+0 40 0+5+-20] [0+5+0 40 0+5+0] children: not-inline
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/foreignObject-with-abspos-descendant.txt b/Tests/LibWeb/Layout/expected/svg/foreignObject-with-abspos-descendant.txt
index 4bd563992e8..69be79abef4 100644
--- a/Tests/LibWeb/Layout/expected/svg/foreignObject-with-abspos-descendant.txt
+++ b/Tests/LibWeb/Layout/expected/svg/foreignObject-with-abspos-descendant.txt
@@ -1,16 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+484] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+484] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at [0,0] [0+0+0 100 0+0+0] [0+0+0 200 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.el> at [0,0] positioned [0+0+0 50 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.el> at [0,0] positioned [0+0+0 50 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x166] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/foreignObject-with-mask.txt b/Tests/LibWeb/Layout/expected/svg/foreignObject-with-mask.txt
index f96f24307b5..ecc50c4aa46 100644
--- a/Tests/LibWeb/Layout/expected/svg/foreignObject-with-mask.txt
+++ b/Tests/LibWeb/Layout/expected/svg/foreignObject-with-mask.txt
@@ -2,18 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: not-inline
SVGSVGBox <svg> at [8,8] [0+0+0 48 0+0+736] [0+0+0 48 0+0+0] viewport-transform=[1 0 0 1 8 8] [SVG] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGForeignObjectBox <foreignObject> at [10,20] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline overflow: [10,20 50x50]
BlockContainer <div.lmao> at [15,25] [0+5+0 40 0+5+-10] [0+5+0 40 0+5+0] children: not-inline
- SVGMaskBox <mask#rektMask> at [0,0] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGMaskBox <mask#rektMask> at [0,0] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
SVGGraphicsBox <use> at [0,0] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
SVGGeometryBox <rect#rekt> at [0,0] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/inline-svg-with-zero-intrinsic-size-and-no-viewbox.txt b/Tests/LibWeb/Layout/expected/svg/inline-svg-with-zero-intrinsic-size-and-no-viewbox.txt
index fa3c8ca7181..971603c64fc 100644
--- a/Tests/LibWeb/Layout/expected/svg/inline-svg-with-zero-intrinsic-size-and-no-viewbox.txt
+++ b/Tests/LibWeb/Layout/expected/svg/inline-svg-with-zero-intrinsic-size-and-no-viewbox.txt
@@ -7,10 +7,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from SVGSVGBox start: 0, length: 0, rect: [16,20 0x0] baseline: 0
ImageBox <img> at [8,20] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] children: not-inline
TextNode <#text> (not painted)
- SVGSVGBox <svg> at [16,20] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [16,20] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/mask-reference-removed-resource-box-dropped.txt b/Tests/LibWeb/Layout/expected/svg/mask-reference-removed-resource-box-dropped.txt
index 8df8b08c80d..851dd81cd60 100644
--- a/Tests/LibWeb/Layout/expected/svg/mask-reference-removed-resource-box-dropped.txt
+++ b/Tests/LibWeb/Layout/expected/svg/mask-reference-removed-resource-box-dropped.txt
@@ -5,15 +5,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 0, length: 1, rect: [208,195 8x16] baseline: 12.796875
" "
frag 2 from SVGSVGBox start: 0, length: 0, rect: [216,208 0x0] baseline: 0
- SVGSVGBox <svg> at [8,8] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [216,208] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [216,208] [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/natural-width-from-svg-attributes.txt b/Tests/LibWeb/Layout/expected/svg/natural-width-from-svg-attributes.txt
index ea0ad4caefc..808163567ce 100644
--- a/Tests/LibWeb/Layout/expected/svg/natural-width-from-svg-attributes.txt
+++ b/Tests/LibWeb/Layout/expected/svg/natural-width-from-svg-attributes.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 128 0+0+664] [8+0+0 128 0+0+8] children: not-inline
SVGSVGBox <svg> at [8,8] [0+0+0 64 0+0+64] [0+0+0 64 0+0+0] viewport-transform=[6.4 0 0 6.4 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,72] [0+0+0 128 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x144] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/nested-viewports.txt b/Tests/LibWeb/Layout/expected/svg/nested-viewports.txt
index ae3f5d92e5e..5b9eaa2ab1b 100644
--- a/Tests/LibWeb/Layout/expected/svg/nested-viewports.txt
+++ b/Tests/LibWeb/Layout/expected/svg/nested-viewports.txt
@@ -3,17 +3,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 200x200] baseline: 200
SVGSVGBox <svg#a> at [8,8] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[20 0 0 20 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
SVGSVGBox <svg#b> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] viewport-transform=[1.6666666 0 0 1.6666666 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- SVGSVGBox <svg#c> at [0,0] [0+0+0 8 0+0+0] [0+0+0 8 0+0+0] viewport-transform=[0.8 0 0 0.8 0.8 0.8] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg#c> at [0,0] [0+0+0 8 0+0+0] [0+0+0 8 0+0+0] viewport-transform=[0.8 0 0 0.8 0.8 0.8] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [0,0] [0+0+0 5 0+0+0] [0+0+0 5 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/objectBoundingBox-mask.txt b/Tests/LibWeb/Layout/expected/svg/objectBoundingBox-mask.txt
index 79b53d8df05..000d6a88289 100644
--- a/Tests/LibWeb/Layout/expected/svg/objectBoundingBox-mask.txt
+++ b/Tests/LibWeb/Layout/expected/svg/objectBoundingBox-mask.txt
@@ -2,25 +2,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 416 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 400 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 400x400] baseline: 400
- SVGSVGBox <svg> at [8,8] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 400 0+0+0] [0+0+0 400 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] children: not-inline
- SVGMaskBox <mask#myMask> at [0,0] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGMaskBox <mask#myMask> at [0,0] [0+0+0 200 0+0+0] [0+0+0 200 0+0+0] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <circle> at [0.09375,0.09375] [0+0+0 0.8125 0+0+0] [0+0+0 0.8125 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGGeometryBox <rect> at [200,200] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- SVGMaskBox <mask#myMask> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGMaskBox <mask#myMask> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <circle> at [0.09375,0.09375] [0+0+0 0.8125 0+0+0] [0+0+0 0.8125 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-h.txt b/Tests/LibWeb/Layout/expected/svg/standalone-h.txt
index 475e8816a89..648c109ed22 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-h.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-h.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[4 0 0 4 0 172] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[4 0 0 4 0 172] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 128x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt
index af6b26f49e0..8877eab3f3a 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb-h.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 128x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt
index 879d6f3865a..fdc43d36bc2 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb-w.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 800x256] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt
index 45f86f8d724..e2ad6a9db7a 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb-wh.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt b/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt
index ec64af4372a..d0f2b99d8de 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-vb.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 128x256] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-w.txt b/Tests/LibWeb/Layout/expected/svg/standalone-w.txt
index a9bf3d28f03..0a4d56cd490 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-w.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-w.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[4 0 0 4 336 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[4 0 0 4 336 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 800x256] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt b/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt
index ec51b30c62a..ef38c68f1af 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone-wh.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[9.375 0 0 9.375 250 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] viewport-transform=[9.375 0 0 9.375 250 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/standalone.txt b/Tests/LibWeb/Layout/expected/svg/standalone.txt
index 4e95d5de6ad..5ea80805c1d 100644
--- a/Tests/LibWeb/Layout/expected/svg/standalone.txt
+++ b/Tests/LibWeb/Layout/expected/svg/standalone.txt
@@ -1,14 +1,8 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[4 0 0 4 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 128 0+0+0] [0+0+0 256 0+0+0] viewport-transform=[4 0 0 4 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGGraphicsBox <g> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
SVGGeometryBox <path> at [0,0] [0+0+0 32 0+0+0] [0+0+0 64 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for SVGSVGBox<svg> [0,0 128x256] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-as-image.txt b/Tests/LibWeb/Layout/expected/svg/svg-as-image.txt
index 464f2704db6..77db940942e 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-as-image.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-as-image.txt
@@ -4,10 +4,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
ImageBox <img> at [8,8] [0+0+0 784 0+0+0] [0+0+0 1568 0+0+0] children: not-inline
(SVG-as-image isolated context)
Viewport <#document> at [0,0] [0+0+0 784 0+0+0] [0+0+0 1568 0+0+0] [BFC] children: not-inline
- SVGSVGBox <svg> at [0,0] [0+0+0 784 0+0+0] [0+0+0 1568 0+0+0] viewport-transform=[7.84 0 0 7.84 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 784 0+0+0] [0+0+0 1568 0+0+0] viewport-transform=[7.84 0 0 7.84 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 100 0+0+0] [0+0+0 200 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x1584] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-different-types-of-opacity.txt b/Tests/LibWeb/Layout/expected/svg/svg-different-types-of-opacity.txt
index 15099fcd04c..17053a63289 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-different-types-of-opacity.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-different-types-of-opacity.txt
@@ -2,10 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 800 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 784 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 784x784] baseline: 784
- SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 784 0+0+0] viewport-transform=[7.84 0 0 7.84 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 784 0+0+0] viewport-transform=[7.84 0 0 7.84 0 0] [SVG] children: not-inline
SVGGeometryBox <circle> at [5,5] [0+0+0 70 0+0+0] [0+0+0 70 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-g-inside-g.txt b/Tests/LibWeb/Layout/expected/svg/svg-g-inside-g.txt
index 7396a732aa0..4581a5c87d6 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-g-inside-g.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-g-inside-g.txt
@@ -2,17 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x100] baseline: 100
- SVGSVGBox <svg> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [50,50] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [50,50] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
+ SVGGraphicsBox <g> at [50,50] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
+ SVGGraphicsBox <g> at [50,50] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
SVGGeometryBox <rect> at [50,50] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-g-with-opacity.txt b/Tests/LibWeb/Layout/expected/svg/svg-g-with-opacity.txt
index 7c328033f44..ebddd835fe8 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-g-with-opacity.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-g-with-opacity.txt
@@ -2,15 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 800 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 784 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 784x784] baseline: 784
- SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 784 0+0+0] viewport-transform=[7.84 0 0 7.84 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- SVGGraphicsBox <g> at [14.5,14.5] [0+0+0 71 0+0+0] [0+0+0 71 0+0+0] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 784 0+0+0] viewport-transform=[7.84 0 0 7.84 0 0] [SVG] children: not-inline
+ SVGGraphicsBox <g> at [14.5,14.5] [0+0+0 71 0+0+0] [0+0+0 71 0+0+0] children: not-inline
SVGGeometryBox <circle> at [14.5,14.5] [0+0+0 51 0+0+0] [0+0+0 51 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <circle> at [34.5,34.5] [0+0+0 51 0+0+0] [0+0+0 51 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-inside-inline-block.txt b/Tests/LibWeb/Layout/expected/svg/svg-inside-inline-block.txt
index 48ee5a3f74b..e6e4712d589 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-inside-inline-block.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-inside-inline-block.txt
@@ -3,12 +3,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: not-inline
BlockContainer <div#a> at [8,8] [0+0+0 100 0+0+684] [0+0+0 50 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 100x50] baseline: 50
- TextNode <#text> (not painted)
BlockContainer <div#b> at [8,8] inline-block [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x50] baseline: 50
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [8,8] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x66] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-inside-svg-with-xy.txt b/Tests/LibWeb/Layout/expected/svg/svg-inside-svg-with-xy.txt
index 5a18a386a2c..458ab1967ba 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-inside-svg-with-xy.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-inside-svg-with-xy.txt
@@ -3,17 +3,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [10,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [10,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [9.5,9.5] [0+0+0 101 0+0+0] [0+0+0 101 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [200,15] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [200,15] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [9.5,9.5] [0+0+0 101 0+0+0] [0+0+0 101 0+0+0] children: not-inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-inside-svg.txt b/Tests/LibWeb/Layout/expected/svg/svg-inside-svg.txt
index a11765f7e62..5e93b6f4221 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-inside-svg.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-inside-svg.txt
@@ -2,11 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 24 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 24x24] baseline: 24
- SVGSVGBox <svg> at [8,8] [0+0+0 24 0+0+0] [0+0+0 24 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
+ SVGSVGBox <svg> at [8,8] [0+0+0 24 0+0+0] [0+0+0 24 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGraphicsBox <g> at [0,0] [0+0+0 24 0+0+0] [0+0+0 24 0+0+0] children: inline
SVGSVGBox <svg> at [0,0] [0+0+0 24 0+0+0] [0+0+0 24 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 24 0+0+0] [0+0+0 24 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-line-with-percentage-values.txt b/Tests/LibWeb/Layout/expected/svg/svg-line-with-percentage-values.txt
index 34bfa1b9976..6df5c70eb47 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-line-with-percentage-values.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-line-with-percentage-values.txt
@@ -2,16 +2,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 408 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 392 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 784x392] baseline: 392
- SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 392 0+0+0] viewport-transform=[3.92 0 0 3.92 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 784 0+0+0] [0+0+0 392 0+0+0] viewport-transform=[3.92 0 0 3.92 0 0] [SVG] children: not-inline
SVGGeometryBox <line> at [-0.5,32.5] [0+0+0 201 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [-0.5,65.5] [0+0+0 201 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [65.5,-0.5] [0+0+0 1 0+0+0] [0+0+0 101 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGGeometryBox <line> at [131.5,-0.5] [0+0+0 1 0+0+0] [0+0+0 101 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x408] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-mask-url-fragment-percent-decoding.txt b/Tests/LibWeb/Layout/expected/svg/svg-mask-url-fragment-percent-decoding.txt
index bb830feaf57..2f06d6d15e2 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-mask-url-fragment-percent-decoding.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-mask-url-fragment-percent-decoding.txt
@@ -2,20 +2,12 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 48x48] baseline: 48
- SVGSVGBox <svg> at [8,8] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] viewport-transform=[1 0 0 1 4 4] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] viewport-transform=[1 0 0 1 4 4] [SVG] children: not-inline
SVGForeignObjectBox <foreignObject> at [0,0] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline overflow: [0,0 100x100]
- BlockContainer <(anonymous)> at [0,0] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,0] [0+0+0 100 0+0+-60] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 40 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SVGMaskBox <mask#«r1»> at [0,0] [0+0+0 48 0+0+0] [0+0+0 48 0+0+0] children: not-inline
SVGGraphicsBox <use> at [0,0] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
SVGGeometryBox <path#«r1»-blob_mask> at [0,0] [0+0+0 40 0+0+0] [0+0+0 40 0+0+0] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-symbol-with-viewbox.txt b/Tests/LibWeb/Layout/expected/svg/svg-symbol-with-viewbox.txt
index 179b2913845..a40302f2270 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-symbol-with-viewbox.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-symbol-with-viewbox.txt
@@ -1,21 +1,12 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 150 0+0+0] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGraphicsBox <use> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] children: not-inline
- SVGGraphicsBox <symbol#braces> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[9.375 0 0 9.375 75 0] [BFC] children: inline
- TextNode <#text> (not painted)
- SVGGeometryBox <path> at [1,2] [0+0+0 14 0+0+0] [0+0+0 11.96875 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGGraphicsBox <symbol#braces> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[9.375 0 0 9.375 75 0] [BFC] children: not-inline
+ SVGGeometryBox <path> at [1,2] [0+0+0 14 0+0+0] [0+0+0 11.96875 0+0+0] children: not-inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-symbol-without-use.txt b/Tests/LibWeb/Layout/expected/svg/svg-symbol-without-use.txt
index ac739e9625d..3a01f703aba 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-symbol-without-use.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-symbol-without-use.txt
@@ -2,9 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-text-container-units.txt b/Tests/LibWeb/Layout/expected/svg/svg-text-container-units.txt
index fdacb755ea1..36231ae32d6 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-text-container-units.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-text-container-units.txt
@@ -3,15 +3,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div> at [0,0] [0+0+0 200 0+0+600] [0+0+0 100 0+0+0] [BFC] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [0,0 200x100] baseline: 100
- TextNode <#text> (not painted)
- SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [0,0] [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGTextBox <text#text> at [100,34] [0+0+0 17.828125 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-text-positioning.txt b/Tests/LibWeb/Layout/expected/svg/svg-text-positioning.txt
index e96fa972739..a11e525d3eb 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-text-positioning.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-text-positioning.txt
@@ -2,10 +2,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 136 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 120 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x120] baseline: 120
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 120 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 120 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGeometryBox <rect> at [0,0] [0+0+0 300 0+0+0] [0+0+0 120 0+0+0] children: not-inline
- TextNode <#text> (not painted)
SVGTextBox <text> at [40,13.609375] [0+0+0 193.53125 0+0+0] [0+0+0 87 0+0+0] children: inline
TextNode <#text> (not painted)
SVGTextBox <tspan> at [40,13.609375] [0+0+0 47.515625 0+0+0] [0+0+0 28 0+0+0] children: inline
@@ -17,7 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SVGTextBox <tspan> at [185.90625,72.609375] [0+0+0 47.625 0+0+0] [0+0+0 28 0+0+0] children: inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-text-white-space.txt b/Tests/LibWeb/Layout/expected/svg/svg-text-white-space.txt
index 947e305a660..c83c1940028 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-text-white-space.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-text-white-space.txt
@@ -2,26 +2,19 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 400x200] baseline: 200
- SVGSVGBox <svg> at [8,8] [0+0+0 400 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 400 0+0+0] [0+0+0 200 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGTextBox <text> at [10,4] [0+0+0 288.4375 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,34] [0+0+0 426.21875 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,64] [0+0+0 273.71875 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,94] [0+0+0 10 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,124] [0+0+0 257.015625 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SVGTextBox <text> at [10,154] [0+0+0 70.875 0+0+0] [0+0+0 20 0+0+0] children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-use-element-crashtest.txt b/Tests/LibWeb/Layout/expected/svg/svg-use-element-crashtest.txt
index 3c2460f5f44..a6b5dab3b8e 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-use-element-crashtest.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-use-element-crashtest.txt
@@ -2,11 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 166 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 150 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 300x150] baseline: 150
- SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGGraphicsBox <use> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] children: not-inline
SVGGraphicsBox <symbol#myid> at [0,0] [0+0+0 300 0+0+0] [0+0+0 150 0+0+0] viewport-transform=[1 0 0 1 0 0] [BFC] children: not-inline
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt
index d803c870e34..02d79d2e1d6 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-intrinsic-size-and-no-viewbox.txt
@@ -1,6 +1,5 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <svg> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <rect> at [0,0] [0+0+0 0 0+0+0] [0+0+0 16 0+0+0]
TextNode <#text> (not painted)
diff --git a/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt
index 15e69ac0607..1d70163a0a1 100644
--- a/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt
+++ b/Tests/LibWeb/Layout/expected/svg/svg-with-zero-sized-viewBox.txt
@@ -2,11 +2,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 100x100] baseline: 100
- SVGSVGBox <svg> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg> at [8,8] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
SVGTextBox <text> (not painted) children: inline
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/svg/use-honor-outer-viewBox.txt b/Tests/LibWeb/Layout/expected/svg/use-honor-outer-viewBox.txt
index 3fac72b8606..06e3e54d9e2 100644
--- a/Tests/LibWeb/Layout/expected/svg/use-honor-outer-viewBox.txt
+++ b/Tests/LibWeb/Layout/expected/svg/use-honor-outer-viewBox.txt
@@ -2,14 +2,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 118 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 102 0+0+8] children: inline
frag 0 from SVGSVGBox start: 0, length: 0, rect: [9,9 100x100] baseline: 102
- SVGSVGBox <svg#outer> at [9,9] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] viewport-transform=[10 0 0 10 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
+ SVGSVGBox <svg#outer> at [9,9] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] viewport-transform=[10 0 0 10 0 0] [SVG] children: not-inline
SVGGraphicsBox <use> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] children: inline
- SVGSVGBox <svg#whee> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: inline
- TextNode <#text> (not painted)
- SVGGeometryBox <rect> at [0,0] [0+0+0 5 0+0+0] [0+0+0 5 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
+ SVGSVGBox <svg#whee> at [0,0] [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
+ SVGGeometryBox <rect> at [0,0] [0+0+0 5 0+0+0] [0+0+0 5 0+0+0] children: not-inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/tab-size-chars-should-vertically-align.txt b/Tests/LibWeb/Layout/expected/tab-size-chars-should-vertically-align.txt
index 866fd5de510..682a4438ddd 100644
--- a/Tests/LibWeb/Layout/expected/tab-size-chars-should-vertically-align.txt
+++ b/Tests/LibWeb/Layout/expected/tab-size-chars-should-vertically-align.txt
@@ -7,30 +7,22 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
" A"
BlockContainer <span#s1> at [8,18] inline-block [0+0+0 46.78125 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,21] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,21] [0+0+0 784 0+0+0] [0+0+0 13 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,31 54.578125x0] baseline: 0
frag 1 from TextNode start: 0, length: 2, rect: [62.578125,21 61.015625x13] baseline: 10.390625
" A"
BlockContainer <span#s2> at [8,31] inline-block [0+0+0 54.578125 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,34] [0+0+0 784 0+0+0] [0+0+0 13 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,44 56.921875x0] baseline: 0
frag 1 from TextNode start: 0, length: 2, rect: [64.921875,34 58.671875x13] baseline: 10.390625
" A"
BlockContainer <span#s3> at [8,44] inline-block [0+0+0 56.921875 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,47] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,47] [0+0+0 784 0+0+0] [0+0+0 13 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 9, rect: [8,47 63.59375x13] baseline: 10.390625
" A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/tab-size-half-ch-threshold.txt b/Tests/LibWeb/Layout/expected/tab-size-half-ch-threshold.txt
index 3be505da630..02493963f0c 100644
--- a/Tests/LibWeb/Layout/expected/tab-size-half-ch-threshold.txt
+++ b/Tests/LibWeb/Layout/expected/tab-size-half-ch-threshold.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span> at [0,0] inline-block [0+0+0 17.3125 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.after> at [40,0] inline-block [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,20] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,20] [0+0+0 800 0+0+0] [0+0+0 20 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,20 17x10] baseline: 0
frag 1 from TextNode start: 0, length: 1, rect: [17,25.5 3x9] baseline: 7.203125
@@ -19,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span> at [0,20] inline-block [0+0+0 17 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.after> at [20,20] inline-block [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,40] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [0,40] [0+0+0 800 0+0+0] [0+0+0 20 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,40 18x10] baseline: 0
frag 1 from TextNode start: 0, length: 1, rect: [18,45.5 22x9] baseline: 7.203125
@@ -29,8 +25,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span> at [0,40] inline-block [0+0+0 18 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BlockContainer <span.after> at [40,40] inline-block [0+0+0 10 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,60] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/tab-size-letter-spacing.txt b/Tests/LibWeb/Layout/expected/tab-size-letter-spacing.txt
index 2d54b34ffe3..af37d645fe2 100644
--- a/Tests/LibWeb/Layout/expected/tab-size-letter-spacing.txt
+++ b/Tests/LibWeb/Layout/expected/tab-size-letter-spacing.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 1, length: 1, rect: [8,8 27.1875x13] baseline: 10.390625
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,21] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x29] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/tab-size-spacing-001.txt b/Tests/LibWeb/Layout/expected/tab-size-spacing-001.txt
index 08145d44539..c907d3d9f93 100644
--- a/Tests/LibWeb/Layout/expected/tab-size-spacing-001.txt
+++ b/Tests/LibWeb/Layout/expected/tab-size-spacing-001.txt
@@ -1,17 +1,13 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38.609375 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22.609375 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div.ref> at [182.75,10] positioned [172.75+2+0 16 0+2+0] [0+2+0 16 0+2+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.ref> at [182.75,10] positioned [172.75+2+0 16 0+2+0] [0+2+0 16 0+2+0] [BFC] children: not-inline
BlockContainer <div.test> at [8,8] [0+0+0 784 0+0+0] [0+0+0 22.609375 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,17 148x13] baseline: 10.390625
" "
frag 1 from BlockContainer start: 0, length: 0, rect: [156,8 20x20] baseline: 20
TextNode <#text> (not painted)
BlockContainer <span> at [156,8] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,30.609375] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x38.609375] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/tab-size-text-wrap.txt b/Tests/LibWeb/Layout/expected/tab-size-text-wrap.txt
index 5428ad79bed..663c5e49ab9 100644
--- a/Tests/LibWeb/Layout/expected/tab-size-text-wrap.txt
+++ b/Tests/LibWeb/Layout/expected/tab-size-text-wrap.txt
@@ -23,8 +23,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 1, length: 3, rect: [8,73 27.5625x13] baseline: 10.390625
"ABC"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,86] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x94] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/tab-size-word-spacing.txt b/Tests/LibWeb/Layout/expected/tab-size-word-spacing.txt
index d9376966bc4..07e7ec941fc 100644
--- a/Tests/LibWeb/Layout/expected/tab-size-word-spacing.txt
+++ b/Tests/LibWeb/Layout/expected/tab-size-word-spacing.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 1, length: 1, rect: [8,8 11.59375x13] baseline: 10.390625
"A"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,21] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x29] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-caption-auto-height.txt b/Tests/LibWeb/Layout/expected/table-caption-auto-height.txt
index 43ac1fbe774..c5fb96ea0b2 100644
--- a/Tests/LibWeb/Layout/expected/table-caption-auto-height.txt
+++ b/Tests/LibWeb/Layout/expected/table-caption-auto-height.txt
@@ -5,21 +5,13 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <figure> at [50,70] table-box [0+2+0 102 0+2+0] [0+2+0 52 0+2+0] [TFC] children: not-inline
Box <(anonymous)> at [50,70] table-row [0+0+0 102 0+0+0] [0+0+0 52 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [50,70] table-cell [0+0+0 102 0+0+0] [0+0+0 52 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [50,70] [0+0+0 102 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.table-content> at [51,71] [0+1+0 100 0+1+0] [0+1+0 50 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [50,122] [0+0+0 102 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <figcaption> at [50,18] [0+2+0 102 0+2+0] [0+2+0 48 0+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [50,18] [0+0+0 102 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 9, length: 12, rect: [50,18 100.609375x16] baseline: 12.796875
"Caption text"
TextNode <#text> (not painted)
BlockContainer <div.caption-content> at [51,35] [0+1+0 100 0+1+0] [0+1+0 30 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [50,66] [0+0+0 102 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,140] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x140] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-child-max-height-percentage-in-auto-table.txt b/Tests/LibWeb/Layout/expected/table-child-max-height-percentage-in-auto-table.txt
index db0aa41a171..39ff48b45f1 100644
--- a/Tests/LibWeb/Layout/expected/table-child-max-height-percentage-in-auto-table.txt
+++ b/Tests/LibWeb/Layout/expected/table-child-max-height-percentage-in-auto-table.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 18, rect: [8,8 150x16] baseline: 12.796875
"Zalando in English"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 150 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-child-percentage-height-in-auto-table.txt b/Tests/LibWeb/Layout/expected/table-child-percentage-height-in-auto-table.txt
index db0aa41a171..39ff48b45f1 100644
--- a/Tests/LibWeb/Layout/expected/table-child-percentage-height-in-auto-table.txt
+++ b/Tests/LibWeb/Layout/expected/table-child-percentage-height-in-auto-table.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 18, rect: [8,8 150x16] baseline: 12.796875
"Zalando in English"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 150 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-child-relative-position-percentage-inset-in-auto-table.txt b/Tests/LibWeb/Layout/expected/table-child-relative-position-percentage-inset-in-auto-table.txt
index a2075a984b8..48da1584960 100644
--- a/Tests/LibWeb/Layout/expected/table-child-relative-position-percentage-inset-in-auto-table.txt
+++ b/Tests/LibWeb/Layout/expected/table-child-relative-position-percentage-inset-in-auto-table.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 18, rect: [8,8 150x16] baseline: 12.796875
"Zalando in English"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 150 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt b/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt
index 8db9bd0c1af..23887d9be9f 100644
--- a/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt
+++ b/Tests/LibWeb/Layout/expected/table-fixup-with-rowspan.txt
@@ -20,8 +20,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
Box <tr> at [10,50] table-row [0+0+0 23.90625 0+0+0] [0+0+0 0 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [10,50] table-cell [0+0+0 11.09375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-padding-percentage-against-wrapper-containing-block.txt b/Tests/LibWeb/Layout/expected/table-padding-percentage-against-wrapper-containing-block.txt
index 3f9d7c74199..1ebae36bd30 100644
--- a/Tests/LibWeb/Layout/expected/table-padding-percentage-against-wrapper-containing-block.txt
+++ b/Tests/LibWeb/Layout/expected/table-padding-percentage-against-wrapper-containing-block.txt
@@ -5,13 +5,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.a> at [14,14] positioned [0+0+0 30 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
TableWrapper <(anonymous)> at [14,14] [0+0+0 0 0+0+30] [0+0+0 30 0+0+0] [BFC] children: not-inline
Box <(anonymous)> at [14,14] table-box [0+0+0 0 0+0+0] [0+0+0 0 30+0+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.b> at [8,108] [0+0+0 30 0+0+754] [0+0+0 30 0+0+0] children: not-inline
TableWrapper <(anonymous)> at [8,108] [0+0+0 0 0+0+30] [0+0+0 30 0+0+0] [BFC] children: not-inline
Box <(anonymous)> at [8,108] table-box [0+0+0 0 0+0+0] [0+0+0 0 30+0+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> at [8,138] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.c> at [8,138] [0+0+0 400 0+0+384] [0+0+0 102 0+0+0] children: not-inline
TableWrapper <(anonymous)> at [8,138] [0+0+0 55.703125 0+0+344.296875] [0+0+0 102 0+0+0] [BFC] children: not-inline
Box <table> at [28,178] table-box [0+0+20 15.703125 20+0+0] [0+0+40 22 40+0+0] [TFC] children: not-inline
@@ -21,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [31,181 9.703125x16] baseline: 12.796875
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,240] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.d> at [8,240] [0+0+0 400 0+0+384] [0+0+0 16 0+0+0] children: not-inline
BlockContainer <div.float> at [8,240] floating [0+0+0 100 0+0+0] [0+0+0 50 0+0+0] [BFC] children: not-inline
TableWrapper <(anonymous)> at [108,240] [0+0+0 130 0+0+170] [0+0+0 16 0+0+0] [BFC] children: not-inline
@@ -33,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [148,240 9.703125x16] baseline: 12.796875
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,256] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x290] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table-replaced-child-percentage-height-in-auto-table.txt b/Tests/LibWeb/Layout/expected/table-replaced-child-percentage-height-in-auto-table.txt
index bcb6339ef37..382e7491fea 100644
--- a/Tests/LibWeb/Layout/expected/table-replaced-child-percentage-height-in-auto-table.txt
+++ b/Tests/LibWeb/Layout/expected/table-replaced-child-percentage-height-in-auto-table.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <(anonymous)> at [8,8] table-row [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,8] table-cell [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] [BFC] children: not-inline
ImageBox <img> at [8,8] [0+0+0 1 0+0+0] [0+0+0 1 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,9] [0+0+0 1 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x0] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/absolute-positioning-alignment.txt b/Tests/LibWeb/Layout/expected/table/absolute-positioning-alignment.txt
index 23aaf083a4d..e198f191554 100644
--- a/Tests/LibWeb/Layout/expected/table/absolute-positioning-alignment.txt
+++ b/Tests/LibWeb/Layout/expected/table/absolute-positioning-alignment.txt
@@ -2,26 +2,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [8,8] [5+3+0 784 0+3+5] [5+3+0 532 0+3+5] [BFC] children: not-inline
BlockContainer <body> at [16,16] [5+3+0 768 0+3+5] [5+3+0 516 0+3+5] children: not-inline
Box <div.container> at [24,24] positioned flex-container(row) [5+3+0 500 0+3+257] [5+3+0 500 0+3+5] [FFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [24,196] positioned [0+0+0 106 0+0+0] [172+0+0 156 0+0+172] [BFC] children: not-inline
Box <div.table.left> at [27,199] table-box [0+3+0 100 0+3+0] [0+3+0 150 0+3+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [418,196] positioned [0+0+0 106 0+0+0] [172+0+0 156 0+0+172] [BFC] children: not-inline
Box <div.table.right> at [421,199] table-box [0+3+0 100 0+3+0] [0+3+0 150 0+3+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [196,24] positioned [172+0+0 156 0+0+172] [0+0+0 106 0+0+0] [BFC] children: not-inline
Box <div.table.top> at [199,27] table-box [0+3+0 150 0+3+0] [0+3+0 100 0+3+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [196,418] positioned [172+0+0 156 0+0+172] [0+0+0 106 0+0+0] [BFC] children: not-inline
Box <div.table.bottom> at [199,421] table-box [0+3+0 150 0+3+0] [0+3+0 100 0+3+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> (not painted) [BFC] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [16,532] [0+0+0 768 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [8,8 784x532] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/abspos-table-inside-abspos-table.txt b/Tests/LibWeb/Layout/expected/table/abspos-table-inside-abspos-table.txt
index c140b31cf2a..009833a4472 100644
--- a/Tests/LibWeb/Layout/expected/table/abspos-table-inside-abspos-table.txt
+++ b/Tests/LibWeb/Layout/expected/table/abspos-table-inside-abspos-table.txt
@@ -1,6 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
TableWrapper <(anonymous)> at [8,8] positioned [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
Box <div#outer> at [8,8] table-box [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [TFC] children: not-inline
Box <(anonymous)> at [8,8] table-row [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
@@ -12,7 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [58,18 9.703125x16] baseline: 12.796875
"x"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/align-is-inherited.txt b/Tests/LibWeb/Layout/expected/table/align-is-inherited.txt
index 84955b19d7e..584683cbe31 100644
--- a/Tests/LibWeb/Layout/expected/table/align-is-inherited.txt
+++ b/Tests/LibWeb/Layout/expected/table/align-is-inherited.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 5, rect: [747.03125,11 41.96875x16] baseline: 12.796875
"Right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,30] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,32] table-row-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -19,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 6, rect: [373.46875,33 53.046875x16] baseline: 12.796875
"Center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,52] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tfoot> at [10,54] table-footer-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -29,8 +25,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 4, rect: [11,55 32.875x16] baseline: 12.796875
"Left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,74] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,74] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,74] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,76] table-row-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -39,9 +33,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 7, rect: [11,77 53.046875x16] baseline: 12.796875
"Justify"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,96] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,96] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,96] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <thead> at [10,98] table-header-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -50,8 +41,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 5, rect: [747.03125,99 41.96875x16] baseline: 12.796875
"Right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,118] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,118] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,118] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,120] table-row-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -60,8 +49,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 6, rect: [373.46875,121 53.046875x16] baseline: 12.796875
"Center"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,140] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,140] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,140] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tfoot> at [10,142] table-footer-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -70,8 +57,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 4, rect: [11,143 32.875x16] baseline: 12.796875
"Left"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,162] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,162] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table> at [8,162] table-box [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,164] table-row-group [0+0+0 780 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -80,8 +65,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 9, length: 7, rect: [11,165 53.046875x16] baseline: 12.796875
"Justify"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x192] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/auto-height.txt b/Tests/LibWeb/Layout/expected/table/auto-height.txt
index fad67e4f611..84c303932ec 100644
--- a/Tests/LibWeb/Layout/expected/table/auto-height.txt
+++ b/Tests/LibWeb/Layout/expected/table/auto-height.txt
@@ -17,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [12,32 27.640625x16] baseline: 12.796875
"bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [10,50] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [1,1 798x58] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/baseline-aligned-cell-grows-row.txt b/Tests/LibWeb/Layout/expected/table/baseline-aligned-cell-grows-row.txt
index 91b1b46b13a..f0c2178b5e7 100644
--- a/Tests/LibWeb/Layout/expected/table/baseline-aligned-cell-grows-row.txt
+++ b/Tests/LibWeb/Layout/expected/table/baseline-aligned-cell-grows-row.txt
@@ -12,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from BlockContainer start: 0, length: 0, rect: [28,38 20x20] baseline: 20
BlockContainer <span.inline> at [28,38] inline-block [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <div.block> at [28,58] [0+0+0 20 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,158] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x166] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/basic.txt b/Tests/LibWeb/Layout/expected/table/basic.txt
index 34319fce93c..00b4f094ec0 100644
--- a/Tests/LibWeb/Layout/expected/table/basic.txt
+++ b/Tests/LibWeb/Layout/expected/table/basic.txt
@@ -3,9 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
TableWrapper <(anonymous)> at [8,8] [0+0+0 2 0+0+782] [0+0+0 2 0+0+0] [BFC] children: not-inline
Box <table#empty-table> at [8,8] table-box [0+0+0 2 0+0+0] [0+0+0 2 0+0+0] [TFC] children: not-inline
- BlockContainer <(anonymous)> at [8,10] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,10] [0+0+0 99.171875 0+0+684.828125] [0+0+0 78 0+0+0] [BFC] children: not-inline
Box <table#full-table> at [8,26] table-box [0+0+0 99.171875 0+0+0] [0+0+0 62 0+0+0] [TFC] children: not-inline
BlockContainer <caption> at [8,10] [0+0+0 99.171875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
@@ -30,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 11, rect: [11,69 93.171875x16] baseline: 12.796875
"Footer Cell"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,88] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x96] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-collapse-is-inherited.txt b/Tests/LibWeb/Layout/expected/table/border-collapse-is-inherited.txt
index 2b19a589a30..46e604d7aa7 100644
--- a/Tests/LibWeb/Layout/expected/table/border-collapse-is-inherited.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-collapse-is-inherited.txt
@@ -1,16 +1,9 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 204 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 188 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.horizontal> at [8,8] [0+0+0 784 0+0+0] [0+0+0 188 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 159.90625x186] baseline: 28
- TextNode <#text> (not painted)
BlockContainer <table> at [9,9] inline-block [0+1+0 159.90625 0+1+0] [0+1+0 186 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [9,9] [0+0+0 159.90625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [9,9] inline-block [0+0+0 159.90625 0+0+0] [0+0+0 186 0+0+0] [BFC] children: not-inline
Box <(anonymous)> at [10,10] inline-table table-box [0+1+0 158.90625 0+1+0] [0+1+0 185 0+1+0] [TFC] children: not-inline
Box <tbody> at [10,10] table-row-group [0+0+0 158.90625 0+0+0] [0+0+0 185 0+0+0] children: not-inline
@@ -82,8 +75,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <(anonymous)> at [9,195] [0+0+0 159.90625 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,196] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x204] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-col.txt b/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-col.txt
index 02f508cff17..1b9d516b8d6 100644
--- a/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-col.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-col.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 173 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 157 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 64.265625 0+0+719.734375] [0+0+0 157 0+0+0] [BFC] children: not-inline
Box <table> at [11,11] table-box [0+5+0 59.265625 0+5+0] [0+5+0 152 0+5+0] [TFC] children: not-inline
BlockContainer <colgroup> at [11,11] table-column-group [0+0+0 59.265625 0+0+0] [0+0+0 152 0+0+0] children: not-inline
@@ -30,8 +26,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [33,134 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,165] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x173] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-multiple-colgroups.txt b/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-multiple-colgroups.txt
index 1fe828d2ee6..897f85ba062 100644
--- a/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-multiple-colgroups.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-conflict-resolution-with-multiple-colgroups.txt
@@ -17,8 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [91.265625,19 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,46] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x54] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-conflict-resolutions-with-more-cells-than-cols.txt b/Tests/LibWeb/Layout/expected/table/border-conflict-resolutions-with-more-cells-than-cols.txt
index b3d75d273af..ed0cecf97a8 100644
--- a/Tests/LibWeb/Layout/expected/table/border-conflict-resolutions-with-more-cells-than-cols.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-conflict-resolutions-with-more-cells-than-cols.txt
@@ -1,8 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 34 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 18 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 53.0625 0+0+730.9375] [0+0+0 18 0+0+0] [BFC] children: not-inline
Box <table> at [8,8] table-box [0+0+0 53.0625 0+0+0] [0+0+0 18 0+0+0] [TFC] children: not-inline
BlockContainer <colgroup> at [8,8] table-column-group [0+0+0 39.921875 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -27,8 +25,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [48.921875,9 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,26] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x34] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt
index ebe82576f5e..6bcdfb06bb5 100644
--- a/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-spacing-colspan.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 243.90625 0+0+540.09375] [0+0+0 252 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 241.90625 0+1+0] [0+1+0 250 0+1+0] [TFC] children: not-inline
Box <tbody> at [29,19] table-row-group [0+0+0 201.90625 0+0+0] [0+0+0 230 0+0+0] children: not-inline
@@ -69,8 +65,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [201.125,222 8.453125x16] baseline: 12.796875
"5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt
index 15e23d0a0e8..00743c4db12 100644
--- a/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-spacing-rowspan.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 243.90625 0+0+540.09375] [0+0+0 252 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 241.90625 0+1+0] [0+1+0 250 0+1+0] [TFC] children: not-inline
Box <tbody> at [29,19] table-row-group [0+0+0 201.90625 0+0+0] [0+0+0 230 0+0+0] children: not-inline
@@ -69,8 +65,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [201.125,222 8.453125x16] baseline: 12.796875
"5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt b/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt
index adbfa0ab74a..9b657a027b3 100644
--- a/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-spacing-with-percentage-width.txt
@@ -1,11 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 30 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.left> at [8,8] floating [0+0+0 117.59375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,8 14.265625x16] baseline: 12.796875
"A"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [125.59375,8] floating [0+0+0 478.234375 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table.middle> at [125.59375,8] table-box [0+0+0 478.234375 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tbody> at [127.59375,10] table-row-group [0+0+0 474.234375 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -14,7 +13,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [128.59375,11 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.right> at [603.828125,8] floating [0+0+0 188.15625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 5, length: 1, rect: [603.828125,8 10.3125x16] baseline: 12.796875
"C"
diff --git a/Tests/LibWeb/Layout/expected/table/border-spacing.txt b/Tests/LibWeb/Layout/expected/table/border-spacing.txt
index 1c6d3c8a2fc..43cea692e08 100644
--- a/Tests/LibWeb/Layout/expected/table/border-spacing.txt
+++ b/Tests/LibWeb/Layout/expected/table/border-spacing.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 268 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 252 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 243.90625 0+0+540.09375] [0+0+0 252 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 241.90625 0+1+0] [0+1+0 250 0+1+0] [TFC] children: not-inline
Box <tbody> at [29,19] table-row-group [0+0+0 201.90625 0+0+0] [0+0+0 230 0+0+0] children: not-inline
@@ -73,8 +69,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [201.125,222 8.453125x16] baseline: 12.796875
"5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x268] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/borders.txt b/Tests/LibWeb/Layout/expected/table/borders.txt
index 344f61d004d..23d2cf95d38 100644
--- a/Tests/LibWeb/Layout/expected/table/borders.txt
+++ b/Tests/LibWeb/Layout/expected/table/borders.txt
@@ -31,9 +31,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [101.015625,57 53.671875x16] baseline: 12.796875
"Griffin"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,78] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,78] [0+0+0 163.296875 0+0+620.703125] [0+0+0 56 0+0+0] [BFC] children: not-inline
Box <table.table-border-black> at [8,78] table-box [0+0+0 163.296875 0+0+0] [0+0+0 56 0+0+0] [TFC] children: not-inline
Box <tbody> at [8,78] table-row-group [0+0+0 163.296875 0+0+0] [0+0+0 56 0+0+0] children: not-inline
@@ -64,9 +61,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [94.015625,117 53.671875x16] baseline: 12.796875
"Griffin"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,134] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,134] [0+0+0 159.296875 0+0+624.703125] [0+0+0 50 0+0+0] [BFC] children: not-inline
Box <div.table.border-black> at [8,134] table-box [0+0+0 159.296875 0+0+0] [0+0+0 50 0+0+0] [TFC] children: not-inline
Box <div.table-row.border-black> at [8,134] table-row [0+0+0 159.296875 0+0+0] [0+0+0 17 0+0+0] children: not-inline
@@ -96,9 +90,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [91.015625,168 53.671875x16] baseline: 12.796875
"Griffin"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,184] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,184] [0+0+0 168.296875 0+0+615.703125] [0+0+0 68 0+0+0] [BFC] children: not-inline
Box <div.table.thick-border-black> at [8,184] table-box [0+0+0 168.296875 0+0+0] [0+0+0 68 0+0+0] [TFC] children: not-inline
Box <div.table-row.thick-border-black> at [8,184] table-row [0+0+0 168.296875 0+0+0] [0+0+0 21 0+0+0] children: not-inline
@@ -128,8 +119,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [100.015625,236 53.671875x16] baseline: 12.796875
"Griffin"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,252] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x260] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/bottom-caption.txt b/Tests/LibWeb/Layout/expected/table/bottom-caption.txt
index 08d99228f6c..d42bb332fd4 100644
--- a/Tests/LibWeb/Layout/expected/table/bottom-caption.txt
+++ b/Tests/LibWeb/Layout/expected/table/bottom-caption.txt
@@ -1,7 +1,5 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 94 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 78 0+0+8] children: not-inline
TableWrapper <(anonymous)> at [8,8] [0+0+0 99.171875 0+0+684.828125] [0+0+0 78 0+0+0] [BFC] children: not-inline
Box <table#full-table> at [8,8] table-box [0+0+0 99.171875 0+0+0] [0+0+0 62 0+0+0] [TFC] children: not-inline
@@ -27,8 +25,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 11, rect: [11,51 93.171875x16] baseline: 12.796875
"Footer Cell"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,86] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x94] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/caption-constrained-to-table-width.txt b/Tests/LibWeb/Layout/expected/table/caption-constrained-to-table-width.txt
index d7d1b2c850f..0256e4238ea 100644
--- a/Tests/LibWeb/Layout/expected/table/caption-constrained-to-table-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/caption-constrained-to-table-width.txt
@@ -5,11 +5,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.table> at [10,10] table-box [0+2+0 100 0+2+0] [0+2+0 100 0+2+0] [TFC] children: not-inline
Box <(anonymous)> at [10,10] table-row [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [10,10] table-cell [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ImageBox <img> at [10,10] [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [10,110] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.caption> at [9,113] [0+1+0 102 0+1+0] [0+1+0 64 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 12, rect: [9,113 100.609375x16] baseline: 12.796875
"Caption text"
@@ -20,8 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 3 from TextNode start: 34, length: 5, rect: [9,161 39.796875x16] baseline: 12.796875
"width"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,178] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x186] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/caption-specified-width-with-float.txt b/Tests/LibWeb/Layout/expected/table/caption-specified-width-with-float.txt
index 5a9cab6cf7f..c2f54fa6b90 100644
--- a/Tests/LibWeb/Layout/expected/table/caption-specified-width-with-float.txt
+++ b/Tests/LibWeb/Layout/expected/table/caption-specified-width-with-float.txt
@@ -7,21 +7,16 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 98, length: 31, rect: [8,32 257.1875x16] baseline: 12.796875
"the border surrounding floated."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,64] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,64] [0+0+0 200 0+0+584] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [8,82] table-box [0+0+0 200 0+0+0] [0+0+0 2 0+0+0] [TFC] children: not-inline
BlockContainer <caption> at [8,64] [0+0+0 200 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 9, length: 6, rect: [63.8125,64 41.296875x16] baseline: 12.796875
"inline"
- TextNode <#text> (not painted)
BlockContainer <div> at [9,65] floating [0+1+0 53.8125 0+1+0] [0+1+0 16 0+1+0] [BFC] children: inline
frag 0 from TextNode start: 13, length: 7, rect: [9,65 53.8125x16] baseline: 12.796875
"floated"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,84] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x92] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/caption-width-contributions.txt b/Tests/LibWeb/Layout/expected/table/caption-width-contributions.txt
index 4e8f7183fa9..df588311585 100644
--- a/Tests/LibWeb/Layout/expected/table/caption-width-contributions.txt
+++ b/Tests/LibWeb/Layout/expected/table/caption-width-contributions.txt
@@ -15,9 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,28 10x10] baseline: 8
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,38] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,38] [0+0+0 140 0+0+644] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [8,48] table-box [0+0+0 140 0+0+0] [0+0+0 10 0+0+0] [TFC] children: not-inline
BlockContainer <caption> at [8,38] [0+0+0 140 0+0+0] [0+0+0 10 0+0+0] [BFC] children: inline
@@ -30,9 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,48 10x10] baseline: 8
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,58] [0+0+0 200 0+0+584] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [8,68] table-box [0+0+0 200 0+0+0] [0+0+0 10 0+0+0] [TFC] children: not-inline
BlockContainer <caption> at [28,58] [0+0+20 160 20+0+0] [0+0+0 10 0+0+0] [BFC] children: inline
@@ -45,8 +39,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [8,68 10x10] baseline: 8
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,78] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x86] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt b/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt
index 18f60c0c6f1..38093b02bf3 100644
--- a/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/cell-auto-max-width-table-percentage-width.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: not-inline
BlockContainer <div#container> at [8,8] [0+0+0 80 0+0+704] [0+0+0 22 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 80 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 80 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline
Box <table#table> at [8,8] table-box [0+0+0 80 0+0+0] [0+0+0 22 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,10] table-row-group [0+0+0 76 0+0+0] [0+0+0 18 0+0+0] children: not-inline
@@ -20,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [48.65625,11 29.453125x16] baseline: 12.796875
"C D"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,30] [0+0+0 80 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/col-percentage-width.txt b/Tests/LibWeb/Layout/expected/table/col-percentage-width.txt
index 5f29bb2dbd8..27219b2563f 100644
--- a/Tests/LibWeb/Layout/expected/table/col-percentage-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/col-percentage-width.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <tr> at [8,8] table-row [0+0+0 400 0+0+0] [0+0+0 10 0+0+0] children: not-inline
BlockContainer <td> at [8,13] table-cell [0+0+0 100 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
BlockContainer <td> at [108,13] table-cell [0+0+0 300 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,18] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,18] [0+0+0 400 0+0+384] [0+0+0 10 0+0+0] [BFC] children: not-inline
Box <table#fixed> at [8,18] table-box [0+0+0 400 0+0+0] [0+0+0 10 0+0+0] [TFC] children: not-inline
BlockContainer <colgroup> at [8,18] table-column-group [0+0+0 400 0+0+0] [0+0+0 10 0+0+0] children: not-inline
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <tr> at [8,18] table-row [0+0+0 400 0+0+0] [0+0+0 10 0+0+0] children: not-inline
BlockContainer <td> at [8,23] table-cell [0+0+0 100 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
BlockContainer <td> at [108,23] table-cell [0+0+0 300 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/collapsed-borders-empty-row.txt b/Tests/LibWeb/Layout/expected/table/collapsed-borders-empty-row.txt
index 3a160c00547..964898d190e 100644
--- a/Tests/LibWeb/Layout/expected/table/collapsed-borders-empty-row.txt
+++ b/Tests/LibWeb/Layout/expected/table/collapsed-borders-empty-row.txt
@@ -16,8 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <tr> at [13,47] table-row [0+0+0 60 0+0+0] [0+0+0 30 0+0+0] children: not-inline
BlockContainer <td> at [18,62] table-cell [0+10+0 20 0+10+0] [0+10+10 0 10+10+0] [BFC] children: not-inline
BlockContainer <td> at [48,62] table-cell [0+10+0 20 0+10+0] [0+10+10 0 10+10+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,82] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x90] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/colspan-width-distribution.txt b/Tests/LibWeb/Layout/expected/table/colspan-width-distribution.txt
index 8e24174fde5..743c344c3e7 100644
--- a/Tests/LibWeb/Layout/expected/table/colspan-width-distribution.txt
+++ b/Tests/LibWeb/Layout/expected/table/colspan-width-distribution.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 58 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 42 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 39.3125 0+0+744.6875] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 37.3125 0+1+0] [0+1+0 40 0+1+0] [TFC] children: not-inline
Box <tbody> at [9,9] table-row-group [0+0+0 37.3125 0+0+0] [0+0+0 40 0+0+0] children: not-inline
@@ -22,8 +18,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [11,31 33.3125x16] baseline: 12.796875
"CDE"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,50] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x58] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/colspan-with-trailing-characters.txt b/Tests/LibWeb/Layout/expected/table/colspan-with-trailing-characters.txt
index 54eaec8f4f2..508ccdb3838 100644
--- a/Tests/LibWeb/Layout/expected/table/colspan-with-trailing-characters.txt
+++ b/Tests/LibWeb/Layout/expected/table/colspan-with-trailing-characters.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 98 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 82 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 229.359375 0+0+554.640625] [0+0+0 82 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 227.359375 0+1+0] [0+1+0 80 0+1+0] [TFC] children: not-inline
Box <tbody> at [9,9] table-row-group [0+0+0 227.359375 0+0+0] [0+0+0 80 0+0+0] children: not-inline
@@ -44,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [175.984375,71 43.953125x16] baseline: 12.796875
"Cell 5"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,90] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x98] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/column-boxes-geometry.txt b/Tests/LibWeb/Layout/expected/table/column-boxes-geometry.txt
index 8612d5d4834..3e3b8d3cadb 100644
--- a/Tests/LibWeb/Layout/expected/table/column-boxes-geometry.txt
+++ b/Tests/LibWeb/Layout/expected/table/column-boxes-geometry.txt
@@ -30,8 +30,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <td> at [80,39] table-cell [0+0+0 30 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
BlockContainer <td> at [114,39] table-cell [0+0+0 30 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [148,39] table-cell [0+0+0 0 0+0+0] [0+0+5 0 5+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,46] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x54] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/fit-content-inline-size-with-argument.txt b/Tests/LibWeb/Layout/expected/table/fit-content-inline-size-with-argument.txt
index cfbfddec34a..037e89befe0 100644
--- a/Tests/LibWeb/Layout/expected/table/fit-content-inline-size-with-argument.txt
+++ b/Tests/LibWeb/Layout/expected/table/fit-content-inline-size-with-argument.txt
@@ -2,8 +2,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 90 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 90 0+0+0] children: not-inline
BlockContainer <div> at [0,0] [0+0+0 500 0+0+300] [0+0+0 90 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,0] [0+0+0 20 0+0+480] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [0,0] table-box [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [TFC] children: not-inline
Box <tbody> at [0,0] table-row-group [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
@@ -14,8 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 3, length: 2, rect: [0,10 20x10] baseline: 8
"XX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,20] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,20] [0+0+0 30 0+0+470] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [0,20] table-box [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] [TFC] children: not-inline
Box <tbody> at [0,20] table-row-group [0+0+0 30 0+0+0] [0+0+0 20 0+0+0] children: not-inline
@@ -26,8 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 3, length: 2, rect: [0,30 20x10] baseline: 8
"XX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,40] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,40] [0+0+0 20 0+0+480] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [0,40] table-box [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [TFC] children: not-inline
Box <tbody> at [0,40] table-row-group [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
@@ -38,8 +32,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 3, length: 2, rect: [0,50 20x10] baseline: 8
"XX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,60] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,60] [0+0+0 50 0+0+450] [0+0+0 10 0+0+0] [BFC] children: not-inline
Box <table> at [0,60] table-box [0+0+0 50 0+0+0] [0+0+0 10 0+0+0] [TFC] children: not-inline
Box <tbody> at [0,60] table-row-group [0+0+0 50 0+0+0] [0+0+0 10 0+0+0] children: not-inline
@@ -48,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [0,60 50x10] baseline: 8
"XX XX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,70] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [0,70] [0+0+0 20 0+0+480] [0+0+0 20 0+0+0] [BFC] children: not-inline
Box <table> at [0,70] table-box [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] [TFC] children: not-inline
Box <tbody> at [0,70] table-row-group [0+0+0 20 0+0+0] [0+0+0 20 0+0+0] children: not-inline
@@ -60,10 +50,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 3, length: 2, rect: [0,80 20x10] baseline: 8
"XX"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,90] [0+0+0 500 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,90] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x90] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/fixed-layout-percentage-width-in-flex-item.txt b/Tests/LibWeb/Layout/expected/table/fixed-layout-percentage-width-in-flex-item.txt
index a5ca3e4a6f9..f5a0d010c71 100644
--- a/Tests/LibWeb/Layout/expected/table/fixed-layout-percentage-width-in-flex-item.txt
+++ b/Tests/LibWeb/Layout/expected/table/fixed-layout-percentage-width-in-flex-item.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [366.03125,8 41.96875x16] baseline: 12.796875
"Right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.flex> at [8,24] flex-container(row) [0+0+0 400 0+0+384] [0+0+0 16 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [8,24] flex-item [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
TableWrapper <(anonymous)> at [8,24] [0+0+0 200 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
@@ -29,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [208,24 41.96875x16] baseline: 12.796875
"Right"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/inline-table-baseline.txt b/Tests/LibWeb/Layout/expected/table/inline-table-baseline.txt
index 39f6502ccf9..af4235ab4f1 100644
--- a/Tests/LibWeb/Layout/expected/table/inline-table-baseline.txt
+++ b/Tests/LibWeb/Layout/expected/table/inline-table-baseline.txt
@@ -17,9 +17,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [28,32 14.453125x20] baseline: 16
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,52] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,58 20x20] baseline: 20
frag 1 from TableWrapper start: 0, length: 0, rect: [28,52 34.453125x40] baseline: 26
@@ -31,9 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [38,62 14.453125x20] baseline: 16
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,92] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,92] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,108 20x20] baseline: 20
frag 1 from TableWrapper start: 0, length: 0, rect: [28,92 14.453125x40] baseline: 36
@@ -50,9 +44,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [28,112 14.453125x20] baseline: 16
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,132] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,132] [0+0+0 784 0+0+0] [0+0+0 27 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,132 20x20] baseline: 20
frag 1 from TableWrapper start: 0, length: 0, rect: [28,132 14.453125x27] baseline: 20
@@ -65,9 +56,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [28,132 14.453125x20] baseline: 16
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,159] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div> at [8,159] [0+0+0 784 0+0+0] [0+0+0 44 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [8,159 20x20] baseline: 20
frag 1 from TableWrapper start: 0, length: 0, rect: [28,163 28.90625x40] baseline: 16
@@ -84,8 +72,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [42.453125,163 14.453125x20] baseline: 16
"X"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,203] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x211] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt b/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt
index 53f1746967e..507be5a9d4e 100644
--- a/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt
+++ b/Tests/LibWeb/Layout/expected/table/keyword-value-does-not-constrain-column.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [11,11 31.609375x16] baseline: 12.796875
"A B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt b/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt
index 6d206b96722..8b3ae44e106 100644
--- a/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/long-caption-increases-width.txt
@@ -1,7 +1,5 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: not-inline
TableWrapper <(anonymous)> at [8,8] [0+0+0 63.046875 0+0+720.953125] [0+0+0 104 0+0+0] [BFC] children: not-inline
Box <table#full-table> at [10,42] table-box [0+2+0 59.046875 0+2+0] [0+2+0 68 0+2+0] [TFC] children: not-inline
@@ -41,8 +39,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 2, rect: [41.25,90 21.359375x16] baseline: 12.796875
"F2"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt b/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt
index 777d915fe66..ccf8177d331 100644
--- a/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt
+++ b/Tests/LibWeb/Layout/expected/table/multi-line-cell.txt
@@ -16,8 +16,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 10, length: 8, rect: [13,51 63.5625x16] baseline: 12.796875
"***** **"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,72] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x80] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt b/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt
index 6a23b9fd67e..65fe7e6ca5c 100644
--- a/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/nested-table-box-width.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 138 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 122 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 115.828125 0+0+668.171875] [0+0+0 122 0+0+0] [BFC] children: not-inline
Box <table> at [13,13] table-box [0+5+0 105.828125 0+5+0] [0+5+0 112 0+5+0] [TFC] children: not-inline
Box <tbody> at [15,15] table-row-group [0+0+0 101.828125 0+0+0] [0+0+0 108 0+0+0] children: not-inline
@@ -14,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"X"
TextNode <#text> (not painted)
BlockContainer <td> at [58.5625,25] table-cell [0+5+5 48.265625 5+5+0] [0+5+5 88 5+5+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [58.5625,25] [0+0+0 48.265625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [58.5625,25] [0+0+0 48.265625 0+0+0] [0+0+0 88 0+0+0] [BFC] children: not-inline
Box <table> at [63.5625,30] table-box [0+5+0 38.265625 0+5+0] [0+5+0 78 0+5+0] [TFC] children: not-inline
Box <tbody> at [65.5625,32] table-row-group [0+0+0 34.265625 0+0+0] [0+0+0 74 0+0+0] children: not-inline
@@ -29,15 +23,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [75.5625,80 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [58.5625,113] [0+0+0 48.265625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <tr> at [15,70] table-row [0+0+0 101.828125 0+0+0] [0+0+0 53 0+0+0] children: not-inline
BlockContainer <td> at [25,88.5] table-cell [0+5+5 11.5625 5+5+0] [0+5+13.5 16 13.5+5+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [25,88.5 11.09375x16] baseline: 12.796875
"Y"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,130] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x138] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/remove-irrelevant-whitespace-boxes.txt b/Tests/LibWeb/Layout/expected/table/remove-irrelevant-whitespace-boxes.txt
index 8cd804d2e88..d9a0e2c0ce5 100644
--- a/Tests/LibWeb/Layout/expected/table/remove-irrelevant-whitespace-boxes.txt
+++ b/Tests/LibWeb/Layout/expected/table/remove-irrelevant-whitespace-boxes.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div.table> at [0,20] table-box [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [TFC] children: not-inline
Box <div.row> at [0,20] table-row [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] children: not-inline
BlockContainer <div.cell> at [0,20] table-cell [0+0+0 20 0+0+0] [0+0+0 0 10+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,30] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x30] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/row-group-between-loose-rows.txt b/Tests/LibWeb/Layout/expected/table/row-group-between-loose-rows.txt
index 0ec6b547e3f..23472e4e995 100644
--- a/Tests/LibWeb/Layout/expected/table/row-group-between-loose-rows.txt
+++ b/Tests/LibWeb/Layout/expected/table/row-group-between-loose-rows.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <div.cell> at [0,60] table-cell [0+0+0 50 0+0+0] [0+0+0 0 20+0+0] [BFC] children: not-inline
Box <div.row> at [0,80] table-row [0+0+0 50 0+0+0] [0+0+0 20 0+0+0] children: not-inline
BlockContainer <div.cell> at [0,80] table-cell [0+0+0 50 0+0+0] [0+0+0 0 20+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,100] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt b/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt
index 17a3667bbff..9cd90ebb608 100644
--- a/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt
+++ b/Tests/LibWeb/Layout/expected/table/row-outer-size-with-computed-size.txt
@@ -7,7 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <tr> at [10,10] table-row [0+0+0 45.21875 0+0+0] [0+0+0 9 0+0+0] children: not-inline
BlockContainer <td> at [11,14.5] table-cell [0+0+1 0 1+0+0] [0+0+4.5 0 4.5+0+0] [BFC] children: not-inline
BlockContainer <td> at [16,12] table-cell [0+1+1 37.21875 1+1+0] [0+1+1 16 1+1+0] [BFC] children: inline
- TextNode <#text> (not painted)
InlineNode <a> at [16,12] [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 4, rect: [16,12 37.21875x16] baseline: 12.796875
"Test"
diff --git a/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt b/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt
index 8a5fbb73d5d..02b88882821 100644
--- a/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt
+++ b/Tests/LibWeb/Layout/expected/table/row-span-and-nested-tables.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 128 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 112 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 75.828125 0+0+708.171875] [0+0+0 112 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 73.828125 0+1+0] [0+1+0 110 0+1+0] [TFC] children: not-inline
Box <tbody> at [11,11] table-row-group [0+0+0 69.828125 0+0+0] [0+0+0 106 0+0+0] children: not-inline
@@ -14,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"X"
TextNode <#text> (not painted)
BlockContainer <td> at [42.5625,17] table-cell [0+1+5 32.265625 5+1+0] [0+1+5 94 5+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [42.5625,17] [0+0+0 32.265625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [42.5625,17] [0+0+0 32.265625 0+0+0] [0+0+0 94 0+0+0] [BFC] children: not-inline
Box <table> at [43.5625,18] table-box [0+1+0 30.265625 0+1+0] [0+1+0 92 0+1+0] [TFC] children: not-inline
Box <tbody> at [45.5625,20] table-row-group [0+0+0 26.265625 0+0+0] [0+0+0 88 0+0+0] children: not-inline
@@ -34,15 +28,11 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,86 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [42.5625,111] [0+0+0 32.265625 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <tr> at [11,65] table-row [0+0+0 69.828125 0+0+0] [0+0+0 52 0+0+0] children: not-inline
BlockContainer <td> at [17,83] table-cell [0+1+5 11.5625 5+1+0] [0+1+17 16 17+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [17,83 11.09375x16] baseline: 12.796875
"Y"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,120] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x128] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/rowspan-with-trailing-characters.txt b/Tests/LibWeb/Layout/expected/table/rowspan-with-trailing-characters.txt
index 2e6f03d5ecd..2730e6fd37f 100644
--- a/Tests/LibWeb/Layout/expected/table/rowspan-with-trailing-characters.txt
+++ b/Tests/LibWeb/Layout/expected/table/rowspan-with-trailing-characters.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 138 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 122 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 229.359375 0+0+554.640625] [0+0+0 122 0+0+0] [BFC] children: not-inline
Box <table> at [9,9] table-box [0+1+0 227.359375 0+1+0] [0+1+0 120 0+1+0] [TFC] children: not-inline
Box <tbody> at [9,9] table-row-group [0+0+0 227.359375 0+0+0] [0+0+0 120 0+0+0] children: not-inline
@@ -78,8 +74,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [95.828125,111 50.9375x16] baseline: 12.796875
"Cell 13"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,130] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x138] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/rowspan.txt b/Tests/LibWeb/Layout/expected/table/rowspan.txt
index f3d4fb7ec8e..2930a087909 100644
--- a/Tests/LibWeb/Layout/expected/table/rowspan.txt
+++ b/Tests/LibWeb/Layout/expected/table/rowspan.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 98 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 82 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,8] [0+0+0 229.359375 0+0+554.640625] [0+0+0 82 0+0+0] [BFC] children: not-inline
Box <table> at [8,8] table-box [0+0+0 229.359375 0+0+0] [0+0+0 82 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,10] table-row-group [0+0+0 225.359375 0+0+0] [0+0+0 78 0+0+0] children: not-inline
@@ -56,8 +52,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 6, rect: [161.5625,71 44.234375x16] baseline: 12.796875
"Cell 6"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,90] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x98] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/size.txt b/Tests/LibWeb/Layout/expected/table/size.txt
index 0cfea5fd712..f8b79cf2367 100644
--- a/Tests/LibWeb/Layout/expected/table/size.txt
+++ b/Tests/LibWeb/Layout/expected/table/size.txt
@@ -5,14 +5,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <div> at [350,8] table-box [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [TFC] children: not-inline
Box <(anonymous)> at [350,8] table-row [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [350,8] table-cell [0+0+0 100 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [350,8] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [350,8] [0+0+0 2000 0+0+-1900] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [350,8 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [350,24] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt b/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt
index e935fad0028..3d0eb30bbc9 100644
--- a/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt
+++ b/Tests/LibWeb/Layout/expected/table/style-invalidation-propagation-to-table-wrapper.txt
@@ -6,8 +6,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <table> at [204,8] table-box [0+0+0 392 0+0+0] [0+0+0 106 0+0+0] [TFC] children: not-inline
Box <tbody> at [206,10] table-row-group [0+0+0 388 0+0+0] [0+0+0 102 0+0+0] children: not-inline
Box <tr> at [206,10] table-row [0+0+0 388 0+0+0] [0+0+0 102 0+0+0] children: not-inline
- BlockContainer <td> at [207,61] table-cell [0+0+1 386 1+0+0] [0+0+51 0 51+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <td> at [207,61] table-cell [0+0+1 386 1+0+0] [0+0+51 0 51+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x122] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/table-caption-inline-width.txt b/Tests/LibWeb/Layout/expected/table/table-caption-inline-width.txt
index 15323b39c6f..73043541be1 100644
--- a/Tests/LibWeb/Layout/expected/table/table-caption-inline-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/table-caption-inline-width.txt
@@ -15,8 +15,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [12,34 10x10] baseline: 8
"x"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x56] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/table-formation-with-rowspan-in-the-middle.txt b/Tests/LibWeb/Layout/expected/table/table-formation-with-rowspan-in-the-middle.txt
index 35e2276b90b..c1e375304f5 100644
--- a/Tests/LibWeb/Layout/expected/table/table-formation-with-rowspan-in-the-middle.txt
+++ b/Tests/LibWeb/Layout/expected/table/table-formation-with-rowspan-in-the-middle.txt
@@ -40,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 1, rect: [84.859375,130 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,157] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x165] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/table-root-padding-intrinsic-width.txt b/Tests/LibWeb/Layout/expected/table/table-root-padding-intrinsic-width.txt
index 801a947708b..dcd2e8c6e07 100644
--- a/Tests/LibWeb/Layout/expected/table/table-root-padding-intrinsic-width.txt
+++ b/Tests/LibWeb/Layout/expected/table/table-root-padding-intrinsic-width.txt
@@ -8,8 +8,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [13,13 68.78125x16] baseline: 12.796875
"Foo Bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/table-row-group-blockified-as-flex-or-grid-item.txt b/Tests/LibWeb/Layout/expected/table/table-row-group-blockified-as-flex-or-grid-item.txt
index dd1ca57f84d..6a7f0599c36 100644
--- a/Tests/LibWeb/Layout/expected/table/table-row-group-blockified-as-flex-or-grid-item.txt
+++ b/Tests/LibWeb/Layout/expected/table/table-row-group-blockified-as-flex-or-grid-item.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 19, rect: [8,8 161.78125x16] baseline: 12.796875
"flex item row group"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <table> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [GFC] children: not-inline
BlockContainer <tbody> at [8,24] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
TableWrapper <(anonymous)> at [8,24] [0+0+0 161.5 0+0+622.5] [0+0+0 16 0+0+0] [BFC] children: not-inline
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 19, rect: [8,24 161.5x16] baseline: 12.796875
"grid item row group"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,40] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [8,40] flex-item [0+0+0 184.140625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
TableWrapper <(anonymous)> at [8,40] [0+0+0 184.140625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
@@ -32,8 +28,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 22, rect: [8,40 184.140625x16] baseline: 12.796875
"flex item header group"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/th-default-text-align.txt b/Tests/LibWeb/Layout/expected/table/th-default-text-align.txt
index d33f905684e..b09bbffe62e 100644
--- a/Tests/LibWeb/Layout/expected/table/th-default-text-align.txt
+++ b/Tests/LibWeb/Layout/expected/table/th-default-text-align.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,31 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,50] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,50] [0+0+0 132.40625 0+0+651.59375] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table.a> at [8,50] table-box [0+0+0 132.40625 0+0+0] [0+0+0 42 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,52] table-row-group [0+0+0 128.40625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
@@ -29,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,73 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,92] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,92] [0+0+0 132.40625 0+0+651.59375] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table.b> at [8,92] table-box [0+0+0 132.40625 0+0+0] [0+0+0 42 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,94] table-row-group [0+0+0 128.40625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
@@ -44,8 +40,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,115 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,134] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,134] [0+0+0 132.40625 0+0+651.59375] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table.c> at [8,134] table-box [0+0+0 132.40625 0+0+0] [0+0+0 42 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,136] table-row-group [0+0+0 128.40625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
@@ -59,8 +53,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,157 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,176] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,176] [0+0+0 132.40625 0+0+651.59375] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table.d> at [8,176] table-box [0+0+0 132.40625 0+0+0] [0+0+0 42 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,178] table-row-group [0+0+0 128.40625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
@@ -74,8 +66,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,199 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,218] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,218] [0+0+0 132.40625 0+0+651.59375] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table> at [8,218] table-box [0+0+0 132.40625 0+0+0] [0+0+0 42 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,220] table-row-group [0+0+0 128.40625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
@@ -89,8 +79,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,241 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,260] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
TableWrapper <(anonymous)> at [8,260] [0+0+0 132.40625 0+0+651.59375] [0+0+0 42 0+0+0] [BFC] children: not-inline
Box <table> at [8,260] table-box [0+0+0 132.40625 0+0+0] [0+0+0 42 0+0+0] [TFC] children: not-inline
Box <tbody> at [10,262] table-row-group [0+0+0 128.40625 0+0+0] [0+0+0 38 0+0+0] children: not-inline
@@ -104,8 +92,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 15, rect: [11,283 126.40625x16] baseline: 12.796875
"lorem ipsum sit"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,302] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x310] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/tr-valign.txt b/Tests/LibWeb/Layout/expected/table/tr-valign.txt
index 1baf7c95913..cd6788c878b 100644
--- a/Tests/LibWeb/Layout/expected/table/tr-valign.txt
+++ b/Tests/LibWeb/Layout/expected/table/tr-valign.txt
@@ -8,8 +8,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <td> at [12,12] table-cell [0+0+1 102 1+0+0] [0+0+1 502 1+0+0] [BFC] children: not-inline
BlockContainer <div> at [13,13] [0+1+0 100 0+1+0] [0+1+0 500 0+1+0] children: not-inline
BlockContainer <td> at [118,12] table-cell [0+0+1 102 1+0+0] [0+0+1 102 401+0+0] [BFC] children: not-inline
- BlockContainer <div> at [119,13] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [119,13] [0+1+0 100 0+1+0] [0+1+0 100 0+1+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x526] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/vertical-align-baseline.txt b/Tests/LibWeb/Layout/expected/table/vertical-align-baseline.txt
index fb963910784..d3a4112989b 100644
--- a/Tests/LibWeb/Layout/expected/table/vertical-align-baseline.txt
+++ b/Tests/LibWeb/Layout/expected/table/vertical-align-baseline.txt
@@ -22,8 +22,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 12, rect: [362.90625,53 255.75x40] baseline: 32
"Regular text"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,95] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x103] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/vertical-align-middle-td-vs-div.txt b/Tests/LibWeb/Layout/expected/table/vertical-align-middle-td-vs-div.txt
index b77dd124b16..2a5041bba69 100644
--- a/Tests/LibWeb/Layout/expected/table/vertical-align-middle-td-vs-div.txt
+++ b/Tests/LibWeb/Layout/expected/table/vertical-align-middle-td-vs-div.txt
@@ -9,14 +9,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [11,53 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,114] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div> at [8,114] [0+0+0 784 0+0+0] [0+0+0 100 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,114 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,214] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x222] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/table/wrap-float-in-anonymous-table-cell.txt b/Tests/LibWeb/Layout/expected/table/wrap-float-in-anonymous-table-cell.txt
index 94c49ee8797..04377c6611d 100644
--- a/Tests/LibWeb/Layout/expected/table/wrap-float-in-anonymous-table-cell.txt
+++ b/Tests/LibWeb/Layout/expected/table/wrap-float-in-anonymous-table-cell.txt
@@ -5,9 +5,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <main> at [8,8] table-box [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] [TFC] children: not-inline
Box <(anonymous)> at [8,8] table-row [0+0+0 200 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,8] table-cell [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- BlockContainer <div.floaty> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.floaty> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
BlockContainer <div.cell> at [108,108] table-cell [0+0+0 100 0+0+0] [0+0+100 0 0+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/text-collapse-inside-contenteditable.txt b/Tests/LibWeb/Layout/expected/text-collapse-inside-contenteditable.txt
index 887362d8a5f..70041cef431 100644
--- a/Tests/LibWeb/Layout/expected/text-collapse-inside-contenteditable.txt
+++ b/Tests/LibWeb/Layout/expected/text-collapse-inside-contenteditable.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 7, rect: [8,8 62.796875x16] baseline: 12.796875
"foo bar"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/text-wrap-balance-below-float-after-margin.txt b/Tests/LibWeb/Layout/expected/text-wrap-balance-below-float-after-margin.txt
index dea1c26d4cd..47348cc89b9 100644
--- a/Tests/LibWeb/Layout/expected/text-wrap-balance-below-float-after-margin.txt
+++ b/Tests/LibWeb/Layout/expected/text-wrap-balance-below-float-after-margin.txt
@@ -2,10 +2,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 208 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 190 0+0+8] children: not-inline
BlockContainer <div.container> at [8,8] [0+0+0 784 0+0+0] [0+0+0 90 0+0+10] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.float> at [8,8] floating [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.float> at [8,8] floating [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <p> at [8,38] [0+0+0 300 0+0+484] [30+0+0 60 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 15, rect: [8,38 172.28125x20] baseline: 16
"The quick brown"
@@ -14,15 +11,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 35, length: 21, rect: [8,78 210.125x20] baseline: 16
"lazy dog and the cat."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,98] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.container> at [8,108] [0+0+0 784 0+0+0] [0+0+0 90 0+0+10] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [8,108] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <div.float> at [8,108] floating [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
+ BlockContainer <div.float> at [8,108] floating [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline
BlockContainer <p> at [8,138] [0+0+0 300 0+0+484] [30+0+0 60 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [8,138 284.390625x20] baseline: 16
"The quick brown fox jumps"
@@ -31,10 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 2 from TextNode start: 52, length: 4, rect: [8,178 36.8125x20] baseline: 16
"cat."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,198] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x208] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/text-wrap-balance-narrow-space-beside-float.txt b/Tests/LibWeb/Layout/expected/text-wrap-balance-narrow-space-beside-float.txt
index 99db58a0d30..455ef8319d3 100644
--- a/Tests/LibWeb/Layout/expected/text-wrap-balance-narrow-space-beside-float.txt
+++ b/Tests/LibWeb/Layout/expected/text-wrap-balance-narrow-space-beside-float.txt
@@ -8,11 +8,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"ghi jkl"
frag 2 from TextNode start: 21, length: 34, rect: [8,48 358.40625x20] baseline: 16
"mno pqr stu vwx yz abc def ghi jkl"
- TextNode <#text> (not painted)
BlockContainer <div.float> at [8,8] floating [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,78] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.container> at [8,78] [0+0+0 400 0+0+384] [0+0+0 60 0+0+10] children: inline
frag 0 from TextNode start: 5, length: 7, rect: [308,78 73.421875x20] baseline: 16
"abc def"
@@ -20,11 +17,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"ghi jkl"
frag 2 from TextNode start: 21, length: 34, rect: [8,118 358.40625x20] baseline: 16
"mno pqr stu vwx yz abc def ghi jkl"
- TextNode <#text> (not painted)
BlockContainer <div.float> at [8,78] floating [0+0+0 300 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,148] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x148] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/text-wrap-balance-stretch-float-after-float.txt b/Tests/LibWeb/Layout/expected/text-wrap-balance-stretch-float-after-float.txt
index 121d8ec5ab0..15641d08740 100644
--- a/Tests/LibWeb/Layout/expected/text-wrap-balance-stretch-float-after-float.txt
+++ b/Tests/LibWeb/Layout/expected/text-wrap-balance-stretch-float-after-float.txt
@@ -6,25 +6,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"abc def ghi jkl mno pqr stu"
frag 1 from TextNode start: 33, length: 22, rect: [8,48 219.078125x20] baseline: 16
"vwx yz abc def ghi jkl"
- TextNode <#text> (not painted)
BlockContainer <div.first> at [8,8] floating [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
CanvasBox <canvas.stretch> at [108,8] floating [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,78] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.container> at [8,78] [0+0+0 400 0+0+384] [0+0+0 60 0+0+10] children: inline
frag 0 from TextNode start: 5, length: 27, rect: [108,98 282.546875x20] baseline: 16
"abc def ghi jkl mno pqr stu"
frag 1 from TextNode start: 33, length: 22, rect: [8,118 219.078125x20] baseline: 16
"vwx yz abc def ghi jkl"
- TextNode <#text> (not painted)
BlockContainer <div.first> at [8,78] floating [0+0+0 100 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- TextNode <#text> (not painted)
CanvasBox <canvas.stretch> at [108,78] floating [0+0+0 300 0+0+0] [0+0+0 20 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,148] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x148] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/text-wrap-balance.txt b/Tests/LibWeb/Layout/expected/text-wrap-balance.txt
index 331a1d28106..e5f9dd7f30b 100644
--- a/Tests/LibWeb/Layout/expected/text-wrap-balance.txt
+++ b/Tests/LibWeb/Layout/expected/text-wrap-balance.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 20, length: 24, rect: [8,28 249.34375x20] baseline: 16
"jumps over the lazy dog."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,58] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#three-lines-centered> at [8,58] [0+0+0 300 0+0+484] [0+0+0 100 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 21, rect: [36.578125,58 242.828125x20] baseline: 16
"Servo aims to empower"
@@ -21,14 +19,10 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 4 from TextNode start: 86, length: 27, rect: [17.421875,138 281.140625x20] baseline: 16
"embedding web technologies."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,168] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#one-line> at [8,168] [0+0+0 300 0+0+484] [0+0+0 20 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 11, rect: [8,168 114.78125x20] baseline: 16
"Short text."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,198] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#forced-break> at [8,198] [0+0+0 300 0+0+484] [0+0+0 40 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [8,198 284.390625x20] baseline: 16
"The quick brown fox jumps"
@@ -37,8 +31,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,248] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#inline-box> at [8,248] [0+0+0 300 0+0+484] [0+0+0 40 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 10, rect: [8,248 110.40625x20] baseline: 16
"The quick "
@@ -52,24 +44,18 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"jumps over"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,298] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#not-balanced> at [8,298] [0+0+0 300 0+0+484] [0+0+0 40 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 25, rect: [8,298 284.390625x20] baseline: 16
"The quick brown fox jumps"
frag 1 from TextNode start: 26, length: 18, rect: [8,318 180.359375x20] baseline: 16
"over the lazy dog."
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,348] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#overflow-wrap-anywhere> at [8,348] [0+0+0 300 0+0+484] [0+0+0 40 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 17, rect: [8,348 170.203125x20] baseline: 16
"a b c d e f g h i"
frag 1 from TextNode start: 18, length: 30, rect: [8,368 285.78125x20] baseline: 16
"Supercalifragilisticexpialidoc"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,398] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div#groups-balanced-separately> at [8,398] [0+0+0 300 0+0+484] [0+0+0 60 0+0+10] children: inline
frag 0 from TextNode start: 0, length: 29, rect: [8,398 294.1875x20] baseline: 16
"The first group fits one line"
@@ -80,8 +66,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,468] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x468] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt b/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt
index f4f3f4ca73d..961752124eb 100644
--- a/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt
+++ b/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt
@@ -1,7 +1,5 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 184.890625 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 168.890625 0+0+8] children: inline
frag 0 from TextAreaBox start: 0, length: 0, rect: [11,142 159.6875x28] baseline: 34
frag 1 from TextNode start: 0, length: 1, rect: [173.6875,160 8x16] baseline: 12.796875
@@ -13,7 +11,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 5 from TextNode start: 0, length: 1, rect: [521.609375,160 8x16] baseline: 12.796875
" "
frag 6 from TextAreaBox start: 0, length: 0, rect: [532.609375,130 28x39.921875] baseline: 45.921875
- TextNode <#text> (not painted)
TextAreaBox <textarea> at [11,142] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline
Box <div> at [11,142] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,142] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/textarea-content.txt b/Tests/LibWeb/Layout/expected/textarea-content.txt
index f840d43dcbf..ba994a5b97c 100644
--- a/Tests/LibWeb/Layout/expected/textarea-content.txt
+++ b/Tests/LibWeb/Layout/expected/textarea-content.txt
@@ -6,7 +6,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
" "
frag 2 from TextAreaBox start: 0, length: 0, rect: [267,11 240x40] baseline: 46
frag 3 from TextAreaBox start: 0, length: 0, rect: [513,11 240x40] baseline: 46
- TextNode <#text> (not painted)
TextAreaBox <textarea> at [11,11] inline-block [0+1+2 240 2+1+0] [0+1+2 40 2+1+0] [BFC] children: not-inline
Box <div> at [11,11] flex-container(row) [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,11] flex-item [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt b/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt
index 577be954718..ba216a558d7 100644
--- a/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt
+++ b/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt
@@ -1,10 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 365.203125 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 349.203125 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div.stretch> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline
TextAreaBox <textarea> at [11,11] flex-item [0+1+2 159.6875 2+1+0] [0+1+2 194 2+1+0] [BFC] children: not-inline
Box <div> at [11,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
@@ -16,7 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from TextNode start: 0, length: 1, rect: [173.6875,341 8x16] baseline: 12.796875
" "
frag 2 from TextAreaBox start: 0, length: 0, rect: [184.6875,323 479.0625x28] baseline: 34
- TextNode <#text> (not painted)
TextAreaBox <textarea> at [11,211] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 140 2+1+0] [BFC] children: not-inline
Box <div> at [11,211] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,211] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
diff --git a/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt b/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt
index 92ace1bf869..061221d723e 100644
--- a/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt
+++ b/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt
@@ -12,7 +12,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Amount"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x53.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/textarea-reset.txt b/Tests/LibWeb/Layout/expected/textarea-reset.txt
index 7fb02c4dec6..fbe0a146e85 100644
--- a/Tests/LibWeb/Layout/expected/textarea-reset.txt
+++ b/Tests/LibWeb/Layout/expected/textarea-reset.txt
@@ -3,7 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 37.203125 0+0+8] children: not-inline
BlockContainer <form#form> at [8,8] [0+0+0 784 0+0+0] [0+0+0 37.203125 0+0+0] children: inline
frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 159.6875x28] baseline: 34
- TextNode <#text> (not painted)
TextAreaBox <textarea#textarea> at [11,11] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline
Box <div> at [11,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline
@@ -11,9 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"Original value"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,45.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x53.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/top-layer.txt b/Tests/LibWeb/Layout/expected/top-layer.txt
index b07bee53cf9..34dbc50f6b0 100644
--- a/Tests/LibWeb/Layout/expected/top-layer.txt
+++ b/Tests/LibWeb/Layout/expected/top-layer.txt
@@ -1,7 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <dialog#dialog> at [196.671875,276] positioned [177.671875+3+16 406.65625 16+3+177.671875] [257+3+16 48 16+3+257] [BFC] children: not-inline
BlockContainer <p> at [196.671875,292] [0+0+0 406.65625 0+0+0] [16+0+0 16 0+0+16] children: inline
diff --git a/Tests/LibWeb/Layout/expected/ul-render.txt b/Tests/LibWeb/Layout/expected/ul-render.txt
index 5cba6ad24f9..42421c93611 100644
--- a/Tests/LibWeb/Layout/expected/ul-render.txt
+++ b/Tests/LibWeb/Layout/expected/ul-render.txt
@@ -1,13 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 112 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 80 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ul.A> at [48,16] [0+0+40 744 0+0+0] [16+0+0 32 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,16] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,16] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [48,16 47.859375x16] baseline: 12.796875
"Three"
@@ -16,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,32] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,32] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 4, rect: [48,32 41.5x16] baseline: 12.796875
"Four"
@@ -26,13 +18,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,48] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,64] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <ul.B> at [48,64] [0+0+40 744 0+0+0] [16+0+0 32 0+0+16] children: not-inline
- BlockContainer <(anonymous)> at [48,64] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,64] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [48,64 29.8125x16] baseline: 12.796875
"One"
@@ -41,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,80] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
ListItemBox <li> at [48,80] [0+0+0 744 0+0+0] [0+0+0 16 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [48,80 33.875x16] baseline: 12.796875
"Two"
@@ -51,10 +35,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
"• "
GeneratedTextNode <(anonymous)> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [48,96] [0+0+0 744 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,112] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x112] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/upright-text-soft-hyphen-takes-no-space.txt b/Tests/LibWeb/Layout/expected/upright-text-soft-hyphen-takes-no-space.txt
index 37634ae9323..919f06a759b 100644
--- a/Tests/LibWeb/Layout/expected/upright-text-soft-hyphen-takes-no-space.txt
+++ b/Tests/LibWeb/Layout/expected/upright-text-soft-hyphen-takes-no-space.txt
@@ -5,8 +5,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 5, rect: [8,8 10x40] baseline: 8
"ab­cd"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x56] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/utf-16-be-xhtml-file-should-decode-correctly.txt b/Tests/LibWeb/Layout/expected/utf-16-be-xhtml-file-should-decode-correctly.txt
index 91272dd438e..0e5c867ed1e 100644
--- a/Tests/LibWeb/Layout/expected/utf-16-be-xhtml-file-should-decode-correctly.txt
+++ b/Tests/LibWeb/Layout/expected/utf-16-be-xhtml-file-should-decode-correctly.txt
@@ -1,14 +1,10 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: not-inline
- BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <p> at [8,16] [0+0+0 784 0+0+0] [16+0+0 16 0+0+16] children: inline
frag 0 from TextNode start: 3, length: 5, rect: [8,16 29.21875x16] baseline: 12.796875
"好啦朋友們"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/vertical-align-bottom-atomic-inline-line-height.txt b/Tests/LibWeb/Layout/expected/vertical-align-bottom-atomic-inline-line-height.txt
index 082c3bd147c..463c9bc25b7 100644
--- a/Tests/LibWeb/Layout/expected/vertical-align-bottom-atomic-inline-line-height.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-align-bottom-atomic-inline-line-height.txt
@@ -10,8 +10,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.box.block> at [28,8] inline-block [0+0+0 20 0+0+0] [0+0+0 23 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,31] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.line> at [8,31] [0+0+0 784 0+0+0] [0+0+0 23 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [8,34 20x20] baseline: 16
"A"
@@ -21,8 +19,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
Box <span.box.flex> at [28,31] flex-container(row) [0+0+0 20 0+0+0] [0+0+0 23 0+0+0] [FFC] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,54] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x62] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/vertical-align-line-relative-subtrees.txt b/Tests/LibWeb/Layout/expected/vertical-align-line-relative-subtrees.txt
index d3e89a93b65..06988509c5c 100644
--- a/Tests/LibWeb/Layout/expected/vertical-align-line-relative-subtrees.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-align-line-relative-subtrees.txt
@@ -17,23 +17,17 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <span.sub-atomic> at [40,0] inline-block [0+0+0 20 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,44] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.line> at [0,44] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [0,44 20x60] baseline: 60
frag 1 from BlockContainer start: 0, length: 0, rect: [20,83 20x25] baseline: 25
BlockContainer <span.tall> at [0,44] inline-block [0+0+0 20 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
BlockContainer <span.bottom> at [20,83] inline-block [0+0+0 20 0+0+0] [0+0+0 25 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,108] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.line.subtree> at [0,108] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,152 20x20] baseline: 16
"A"
frag 1 from BlockContainer start: 0, length: 0, rect: [20,108 20x60] baseline: 60
TextNode <#text> (not painted)
BlockContainer <span.tall> at [20,108] inline-block [0+0+0 20 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,172] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.vertical> at [0,172] [0+0+0 22 0+0+0] [0+0+0 200 0+0+0] [BFC] children: inline
InlineNode <span.middle> at [2,172] [0+0+0 20 0+0+0] [0+0+0 60 0+0+0]
frag 0 from TextNode start: 0, length: 1, rect: [2,172 20x20] baseline: 16
@@ -41,8 +35,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 1 from BlockContainer start: 0, length: 0, rect: [12,192 10x40] baseline: 0
TextNode <#text> (not painted)
BlockContainer <span.vertical-top> at [12,192] inline-block [0+0+0 10 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,372] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x372] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/vertical-align-middle-with-padding.txt b/Tests/LibWeb/Layout/expected/vertical-align-middle-with-padding.txt
index 9a022ff4d27..cec2c8ee927 100644
--- a/Tests/LibWeb/Layout/expected/vertical-align-middle-with-padding.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-align-middle-with-padding.txt
@@ -1,26 +1,23 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 46 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inline
BlockContainer <div.a> at [8,8] floating [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] [BFC] children: not-inline
BlockContainer <div.b> at [9,9] [0+1+0 30 0+1+0] [0+1+0 30 0+1+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [9,9 9.34375x16] baseline: 12.796875
"B"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.a> at [40,8] floating [0+0+0 32.3125 0+0+0] [0+0+0 38 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [51,19 10.3125x16] baseline: 23.296875
BlockContainer <span.ib.c> at [51,19] inline-block [0+1+10 10.3125 10+1+0] [0+1+10 16 10+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [51,19 10.3125x16] baseline: 12.796875
"C"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
BlockContainer <div.a> at [72.3125,8] floating [0+0+0 33.140625 0+0+0] [0+0+0 38 0+0+0] [BFC] children: inline
frag 0 from BlockContainer start: 0, length: 0, rect: [83.3125,19 11.140625x16] baseline: 34.796875
BlockContainer <span.ib.d> at [83.3125,19] inline-block [0+1+10 11.140625 10+1+0] [0+1+10 16 10+1+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [83.3125,19 11.140625x16] baseline: 12.796875
"D"
TextNode <#text> (not painted)
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x46] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/vertical-align-middle.txt b/Tests/LibWeb/Layout/expected/vertical-align-middle.txt
index 5a21c294b61..5ac5912679d 100644
--- a/Tests/LibWeb/Layout/expected/vertical-align-middle.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-align-middle.txt
@@ -1,9 +1,6 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 66 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 50 0+0+8] children: inline
- TextNode <#text> (not painted)
InlineNode <a> at [8,24] [0+0+0 91.296875 0+0+0] [0+0+0 50 0+0+0]
frag 0 from TextNode start: 0, length: 6, rect: [8,24 41.296875x16] baseline: 12.796875
"inline"
diff --git a/Tests/LibWeb/Layout/expected/vertical-align-text-bottom-atomic-inline-fits-line-box.txt b/Tests/LibWeb/Layout/expected/vertical-align-text-bottom-atomic-inline-fits-line-box.txt
index ca24d1b3ddc..2312aea7c89 100644
--- a/Tests/LibWeb/Layout/expected/vertical-align-text-bottom-atomic-inline-fits-line-box.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-align-text-bottom-atomic-inline-fits-line-box.txt
@@ -7,8 +7,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
" Labels"
SVGSVGBox <svg> at [6,7] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[1 0 0 1 0 0] [SVG] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [0,32] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x32] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/vertical-align-text-top-bottom.txt b/Tests/LibWeb/Layout/expected/vertical-align-text-top-bottom.txt
index c5480f9de50..e940b961a39 100644
--- a/Tests/LibWeb/Layout/expected/vertical-align-text-top-bottom.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-align-text-top-bottom.txt
@@ -9,8 +9,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.box.text-top> at [20,10] inline-block [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <span.box.text-bottom> at [40,20] inline-block [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,40] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.line> at [0,40] [0+0+0 800 0+0+0] [0+0+0 54 0+0+0] children: inline
frag 0 from TextNode start: 0, length: 1, rect: [0,64 20x20] baseline: 16
"A"
@@ -23,8 +21,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
TextNode <#text> (not painted)
BlockContainer <span.box.text-top> at [60,48] inline-block [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
BlockContainer <span.box.text-bottom> at [80,78] inline-block [0+0+0 20 0+0+0] [0+0+0 10 0+0+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [0,94] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x94] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/vertical-padding-relative-to-cb-width.txt b/Tests/LibWeb/Layout/expected/vertical-padding-relative-to-cb-width.txt
index 5fd990e471b..3d82beb33f4 100644
--- a/Tests/LibWeb/Layout/expected/vertical-padding-relative-to-cb-width.txt
+++ b/Tests/LibWeb/Layout/expected/vertical-padding-relative-to-cb-width.txt
@@ -1,11 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 30 0+1+0] [BFC] children: not-inline
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 12 0+1+8] children: not-inline
- BlockContainer <(anonymous)> at [10,10] [0+0+0 780 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.cb> at [11,11] [0+1+0 600 0+1+178] [0+1+0 10 0+1+0] children: not-inline
- BlockContainer <(anonymous)> at [11,11] [0+0+0 600 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
BlockContainer <div.foo> at [12,72] [0+1+0 598 0+1+0] [0+1+60 18 120+1+0] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [12,72 27.15625x16] baseline: 12.796875
"foo"
diff --git a/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-1.txt b/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-1.txt
index 173656c6442..2c86b52d939 100644
--- a/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-1.txt
+++ b/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-1.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x2016]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 2016 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 2000 0+0+8] children: not-inline
- BlockContainer <div> at [8,8] [0+0+0 100 0+0+684] [0+0+0 2000 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div> at [8,8] [0+0+0 100 0+0+684] [0+0+0 2000 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x2016] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-2.txt b/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-2.txt
index f39777a215b..54c7efeb7af 100644
--- a/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-2.txt
+++ b/Tests/LibWeb/Layout/expected/viewport-overflow-propagation-2.txt
@@ -1,8 +1,7 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline overflow: [0,0 800x2016]
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 2016 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 2000 0+0+8] children: not-inline
- BlockContainer <div.long> at [8,8] [0+0+0 784 0+0+0] [0+0+0 2000 0+0+0] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <div.long> at [8,8] [0+0+0 784 0+0+0] [0+0+0 2000 0+0+0] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x2016] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/viewport-writing-mode-from-body.txt b/Tests/LibWeb/Layout/expected/viewport-writing-mode-from-body.txt
index 88ab4ff7e59..e615f834bdb 100644
--- a/Tests/LibWeb/Layout/expected/viewport-writing-mode-from-body.txt
+++ b/Tests/LibWeb/Layout/expected/viewport-writing-mode-from-body.txt
@@ -3,8 +3,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [692,8] [692+0+0 100 0+0+8] [8+0+0 200 0+0+8] children: not-inline
BlockContainer <div> at [742,8] [50+0+0 50 0+0+0] [0+0+0 100 0+0+0] children: not-inline
BlockContainer <div> at [742,108] [50+0+0 50 0+0+0] [0+0+0 100 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [692,208] [0+0+0 100 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x216] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/writing-modes-direction-flex.txt b/Tests/LibWeb/Layout/expected/writing-modes-direction-flex.txt
index 7e900be3507..e9676942354 100644
--- a/Tests/LibWeb/Layout/expected/writing-modes-direction-flex.txt
+++ b/Tests/LibWeb/Layout/expected/writing-modes-direction-flex.txt
@@ -14,8 +14,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [708.890625,8 26.671875x16] baseline: 12.796875
"ccc"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
Box <div> at [8,24] flex-container(row-reverse) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [8,24] flex-item [0+0+0 28.03125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 3, rect: [8,24 28.03125x16] baseline: 12.796875
@@ -29,8 +27,6 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
frag 0 from TextNode start: 0, length: 3, rect: [64.4375,24 26.671875x16] baseline: 12.796875
"ccc"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
- TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt b/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt
index 729e54f4465..f4139aa70b0 100644
--- a/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt
+++ b/Tests/LibWeb/Layout/expected/zero_percent_width_nested_table.txt
@@ -10,8 +10,7 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
Box <table> at [11,11] table-box [0+0+0 6 0+0+0] [0+0+0 6 0+0+0] [TFC] children: not-inline
Box <tbody> at [13,13] table-row-group [0+0+0 2 0+0+0] [0+0+0 2 0+0+0] children: not-inline
Box <tr> at [13,13] table-row [0+0+0 2 0+0+0] [0+0+0 2 0+0+0] children: not-inline
- BlockContainer <td> at [14,14] table-cell [0+0+1 0 1+0+0] [0+0+1 0 1+0+0] [BFC] children: inline
- TextNode <#text> (not painted)
+ BlockContainer <td> at [14,14] table-cell [0+0+1 0 1+0+0] [0+0+1 0 1+0+0] [BFC] children: not-inline
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x28] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/input/block-and-inline/whitespace-only-text-boxes.html b/Tests/LibWeb/Layout/input/block-and-inline/whitespace-only-text-boxes.html
new file mode 100644
index 00000000000..1977903e6ed
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/block-and-inline/whitespace-only-text-boxes.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<style>
+ .note::before { content: "Note:"; }
+ .cell { display: table-cell; }
+ svg { display: block; }
+</style>
+<!-- No box: between blocks, at the start of a block, after a line break, among flex and grid items, in a table. -->
+<div id="between-blocks"><p>a</p>
+<p>b</p>
+</div>
+<div id="start-of-block">
+ <span>a</span></div>
+<div id="after-line-break">a<br>
+<span>b</span></div>
+<div id="flex" style="display: flex">
+ <div>a</div>
+ <div>b</div>
+</div>
+<div id="grid" style="display: grid">
+ <div>a</div>
+</div>
+<table id="table"><tr>
+ <td>a</td>
+</tr></table>
+<div id="start-of-display-contents"><span style="display: contents"> <b>a</b></span></div>
+<svg id="svg" width="10" height="10">
+ <rect width="5" height="5"/>
+</svg>
+<!-- A box: after inline content, at the start of an inline box, after an inline ::before or an inside marker, after a
+ table cell in an inline, as an editing host's child, where white space is preserved, inside SVG text. -->
+<div id="after-inline"><span>a</span> <span>b</span></div>
+<div id="start-of-inline-box"><span> <b>a</b></span></div>
+<p id="after-before" class="note"> <b>a</b></p>
+<ul><li id="after-inside-marker" style="list-style-position: inside"> <b>a</b></li></ul>
+<div id="after-table-cell-in-inline"><span>a <span class="cell">b</span> <span>c</span></span></div>
+<div id="editing-host" contenteditable><p>a</p>
+<p>b</p></div>
+<div id="preserved" style="white-space: pre"><p>a</p>
+<p>b</p></div>
+<div id="after-display-contents"><span>a</span><span style="display: contents"> <b>b</b></span></div>
+<svg id="svg-text" width="50" height="20"><text y="15">a <tspan>b</tspan> <tspan>c</tspan></text></svg>
+<!-- An absolutely positioned box after white space between blocks is laid out as a block-level sibling. -->
+<div id="abspos" style="position: relative"><p>a</p>
+<div style="position: absolute">abs</div>
+<p>b</p></div>
diff --git a/Tests/LibWeb/TestConfig.ini b/Tests/LibWeb/TestConfig.ini
index ad737a8a9a4..843da51b904 100644
--- a/Tests/LibWeb/TestConfig.ini
+++ b/Tests/LibWeb/TestConfig.ini
@@ -1260,6 +1260,9 @@ Ref/input/wpt-import/css/css-break/grid/grid-lanes/grid-lanes-container-fragment
Ref/input/wpt-import/css/css-break/grid/grid-lanes/grid-lanes-container-fragmentation-005.html
; Needs static-position invalidation when a relative ancestor moves
Ref/input/wpt-import/css/css-position/hypothetical-dynamic-change-003.html
+; Need margins collapsing through empty blocks in vertical writing modes
+Ref/input/wpt-import/css/css-writing-modes/margin-collapse-vlr-025.xht
+Ref/input/wpt-import/css/css-writing-modes/margin-collapse-vrl-024.xht
; Test seems broken
Text/input/window-scrollTo.html
diff --git a/Tests/LibWeb/Text/expected/Internals/dump-layout-tree.txt b/Tests/LibWeb/Text/expected/Internals/dump-layout-tree.txt
index d21b0a59703..e86a7bab06d 100644
--- a/Tests/LibWeb/Text/expected/Internals/dump-layout-tree.txt
+++ b/Tests/LibWeb/Text/expected/Internals/dump-layout-tree.txt
@@ -1,5 +1,4 @@
BlockContainer <div#target> at [8,8] [0+0+0 100 0+0+684] [0+0+0 50 0+0+0] children: inline
- TextNode <#text> (not painted)
InlineNode <span> at [8,8] [0+0+0 39.78125 0+0+0] [0+0+0 16 0+0+0]
frag 0 from TextNode start: 0, length: 5, rect: [8,8 39.78125x16] baseline: 12.796875
"Hello"
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/removal-leaving-only-anonymous-wrapper.txt b/Tests/LibWeb/Text/expected/layout-tree-update/removal-leaving-only-anonymous-wrapper.txt
index ef296570df2..dd9b57402fd 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/removal-leaving-only-anonymous-wrapper.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/removal-leaving-only-anonymous-wrapper.txt
@@ -15,7 +15,7 @@ check 13: PASS (show first block next to inline sibling: before)
check 14: PASS (show first block next to inline sibling: after)
check 15: PASS (remove first block leaving empty text: before)
check 16: PASS (remove first block leaving empty text: after)
-check 17: PASS (remove first block leaving empty text: performs layout tree build)
+check 17: PASS (remove first block leaving empty text: avoids layout tree build)
check 18: PASS (replace first block with hidden element leaving empty text: before)
check 19: PASS (replace first block with hidden element leaving empty text: after)
check 20: PASS (hide first block leaving empty text: before)
@@ -34,7 +34,7 @@ check 32: PASS (hide last block after inline sibling: before)
check 33: PASS (hide last block after inline sibling: after)
check 34: PASS (remove last block after empty text: before)
check 35: PASS (remove last block after empty text: after)
-check 36: PASS (remove last block after empty text: performs layout tree build)
+check 36: PASS (remove last block after empty text: avoids layout tree build)
check 37: PASS (remove block between inline siblings: before)
check 38: PASS (remove block between inline siblings: after)
check 39: PASS (remove block between inline siblings: performs layout tree build)
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-3.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-3.txt
index 8e37e38017e..35f7cb3825a 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-3.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-3.txt
@@ -1273,13 +1273,13 @@ PASS: position static -> fixed on math in table-row-group | incremental tree mat
PRESERVED: position absolute -> fixed on math in block flow | fixture ancestor
PRESERVED: position absolute -> fixed on math in block flow | distant sibling
PRESERVED: position absolute -> fixed on math in block flow | distant sibling descendant
-PRESERVED: position absolute -> fixed on math in block flow | DOM parent
-PRESERVED: position absolute -> fixed on math in block flow | preceding sibling
-PRESERVED: position absolute -> fixed on math in block flow | preceding sibling descendant
+RECREATED: position absolute -> fixed on math in block flow | DOM parent
+RECREATED: position absolute -> fixed on math in block flow | preceding sibling
+RECREATED: position absolute -> fixed on math in block flow | preceding sibling descendant
RECREATED: position absolute -> fixed on math in block flow | target
RECREATED: position absolute -> fixed on math in block flow | target descendant
-PRESERVED: position absolute -> fixed on math in block flow | following sibling
-PRESERVED: position absolute -> fixed on math in block flow | following sibling descendant
+RECREATED: position absolute -> fixed on math in block flow | following sibling
+RECREATED: position absolute -> fixed on math in block flow | following sibling descendant
STATS: position absolute -> fixed on math in block flow | rebuilt subtree roots=1, escaped=false
PASS: position absolute -> fixed on math in block flow | incremental tree matches full rebuild
RECREATED: position sticky -> absolute on math in block table | fixture ancestor
@@ -1441,13 +1441,13 @@ PASS: position static -> fixed on -webkit-inline-box in table-footer-group | inc
PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | fixture ancestor
PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | distant sibling
PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | distant sibling descendant
-PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | DOM parent
-PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | preceding sibling
-PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | preceding sibling descendant
+RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | DOM parent
+RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | preceding sibling
+RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | preceding sibling descendant
RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | target
RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | target descendant
-PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | following sibling
-PRESERVED: position absolute -> fixed on -webkit-inline-box in block flow-root | following sibling descendant
+RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | following sibling
+RECREATED: position absolute -> fixed on -webkit-inline-box in block flow-root | following sibling descendant
STATS: position absolute -> fixed on -webkit-inline-box in block flow-root | rebuilt subtree roots=1, escaped=false
PASS: position absolute -> fixed on -webkit-inline-box in block flow-root | incremental tree matches full rebuild
PRESERVED: position sticky -> absolute on -webkit-inline-box in block flow list-item | fixture ancestor
@@ -2278,16 +2278,16 @@ RECREATED: position static -> fixed on inline flow in block flex | following sib
RECREATED: position static -> fixed on inline flow in block flex | following sibling descendant
STATS: position static -> fixed on inline flow in block flex | rebuilt subtree roots=1, escaped=false
PASS: position static -> fixed on inline flow in block flex | incremental tree matches full rebuild
-PRESERVED: position absolute -> fixed on inline flow in contents | fixture ancestor
-PRESERVED: position absolute -> fixed on inline flow in contents | distant sibling
-PRESERVED: position absolute -> fixed on inline flow in contents | distant sibling descendant
+RECREATED: position absolute -> fixed on inline flow in contents | fixture ancestor
+RECREATED: position absolute -> fixed on inline flow in contents | distant sibling
+RECREATED: position absolute -> fixed on inline flow in contents | distant sibling descendant
ABSENT: position absolute -> fixed on inline flow in contents | DOM parent
-PRESERVED: position absolute -> fixed on inline flow in contents | preceding sibling
-PRESERVED: position absolute -> fixed on inline flow in contents | preceding sibling descendant
+RECREATED: position absolute -> fixed on inline flow in contents | preceding sibling
+RECREATED: position absolute -> fixed on inline flow in contents | preceding sibling descendant
RECREATED: position absolute -> fixed on inline flow in contents | target
RECREATED: position absolute -> fixed on inline flow in contents | target descendant
-PRESERVED: position absolute -> fixed on inline flow in contents | following sibling
-PRESERVED: position absolute -> fixed on inline flow in contents | following sibling descendant
+RECREATED: position absolute -> fixed on inline flow in contents | following sibling
+RECREATED: position absolute -> fixed on inline flow in contents | following sibling descendant
STATS: position absolute -> fixed on inline flow in contents | rebuilt subtree roots=1, escaped=false
PASS: position absolute -> fixed on inline flow in contents | incremental tree matches full rebuild
PRESERVED: position sticky -> absolute on inline flow in flex | fixture ancestor
@@ -2614,16 +2614,16 @@ RECREATED: position static -> fixed on inline flex in block table | following si
RECREATED: position static -> fixed on inline flex in block table | following sibling descendant
STATS: position static -> fixed on inline flex in block table | rebuilt subtree roots=1, escaped=false
PASS: position static -> fixed on inline flex in block table | incremental tree matches full rebuild
-PRESERVED: position absolute -> fixed on inline flex in inline-block | fixture ancestor
-PRESERVED: position absolute -> fixed on inline flex in inline-block | distant sibling
-PRESERVED: position absolute -> fixed on inline flex in inline-block | distant sibling descendant
-PRESERVED: position absolute -> fixed on inline flex in inline-block | DOM parent
-PRESERVED: position absolute -> fixed on inline flex in inline-block | preceding sibling
-PRESERVED: position absolute -> fixed on inline flex in inline-block | preceding sibling descendant
+RECREATED: position absolute -> fixed on inline flex in inline-block | fixture ancestor
+RECREATED: position absolute -> fixed on inline flex in inline-block | distant sibling
+RECREATED: position absolute -> fixed on inline flex in inline-block | distant sibling descendant
+RECREATED: position absolute -> fixed on inline flex in inline-block | DOM parent
+RECREATED: position absolute -> fixed on inline flex in inline-block | preceding sibling
+RECREATED: position absolute -> fixed on inline flex in inline-block | preceding sibling descendant
RECREATED: position absolute -> fixed on inline flex in inline-block | target
RECREATED: position absolute -> fixed on inline flex in inline-block | target descendant
-PRESERVED: position absolute -> fixed on inline flex in inline-block | following sibling
-PRESERVED: position absolute -> fixed on inline flex in inline-block | following sibling descendant
+RECREATED: position absolute -> fixed on inline flex in inline-block | following sibling
+RECREATED: position absolute -> fixed on inline flex in inline-block | following sibling descendant
STATS: position absolute -> fixed on inline flex in inline-block | rebuilt subtree roots=1, escaped=false
PASS: position absolute -> fixed on inline flex in inline-block | incremental tree matches full rebuild
RECREATED: position sticky -> absolute on inline flex in table | fixture ancestor
@@ -2785,13 +2785,13 @@ PASS: position static -> fixed on inline grid in block flow list-item | incremen
PRESERVED: position absolute -> fixed on inline grid in list-item | fixture ancestor
PRESERVED: position absolute -> fixed on inline grid in list-item | distant sibling
PRESERVED: position absolute -> fixed on inline grid in list-item | distant sibling descendant
-PRESERVED: position absolute -> fixed on inline grid in list-item | DOM parent
-PRESERVED: position absolute -> fixed on inline grid in list-item | preceding sibling
-PRESERVED: position absolute -> fixed on inline grid in list-item | preceding sibling descendant
+RECREATED: position absolute -> fixed on inline grid in list-item | DOM parent
+RECREATED: position absolute -> fixed on inline grid in list-item | preceding sibling
+RECREATED: position absolute -> fixed on inline grid in list-item | preceding sibling descendant
RECREATED: position absolute -> fixed on inline grid in list-item | target
RECREATED: position absolute -> fixed on inline grid in list-item | target descendant
-PRESERVED: position absolute -> fixed on inline grid in list-item | following sibling
-PRESERVED: position absolute -> fixed on inline grid in list-item | following sibling descendant
+RECREATED: position absolute -> fixed on inline grid in list-item | following sibling
+RECREATED: position absolute -> fixed on inline grid in list-item | following sibling descendant
STATS: position absolute -> fixed on inline grid in list-item | rebuilt subtree roots=1, escaped=false
PASS: position absolute -> fixed on inline grid in list-item | incremental tree matches full rebuild
RECREATED: position sticky -> absolute on inline grid in math | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-7.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-7.txt
index b3f918fd718..c3288acfb2f 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-7.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-7.txt
@@ -850,16 +850,16 @@ RECREATED: position relative -> fixed on inline-flex in -webkit-inline-box | fol
RECREATED: position relative -> fixed on inline-flex in -webkit-inline-box | following sibling descendant
STATS: position relative -> fixed on inline-flex in -webkit-inline-box | rebuilt subtree roots=1, escaped=false
PASS: position relative -> fixed on inline-flex in -webkit-inline-box | incremental tree matches full rebuild
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | fixture ancestor
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | distant sibling
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | distant sibling descendant
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | DOM parent
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | preceding sibling
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | preceding sibling descendant
+RECREATED: position fixed -> absolute on inline-flex in table-caption | fixture ancestor
+RECREATED: position fixed -> absolute on inline-flex in table-caption | distant sibling
+RECREATED: position fixed -> absolute on inline-flex in table-caption | distant sibling descendant
+RECREATED: position fixed -> absolute on inline-flex in table-caption | DOM parent
+RECREATED: position fixed -> absolute on inline-flex in table-caption | preceding sibling
+RECREATED: position fixed -> absolute on inline-flex in table-caption | preceding sibling descendant
RECREATED: position fixed -> absolute on inline-flex in table-caption | target
RECREATED: position fixed -> absolute on inline-flex in table-caption | target descendant
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | following sibling
-PRESERVED: position fixed -> absolute on inline-flex in table-caption | following sibling descendant
+RECREATED: position fixed -> absolute on inline-flex in table-caption | following sibling
+RECREATED: position fixed -> absolute on inline-flex in table-caption | following sibling descendant
STATS: position fixed -> absolute on inline-flex in table-caption | rebuilt subtree roots=1, escaped=false
PASS: position fixed -> absolute on inline-flex in table-caption | incremental tree matches full rebuild
RECREATED: float none -> inline-start on inline-flex in inline grid | fixture ancestor
@@ -2278,16 +2278,16 @@ RECREATED: position relative -> fixed on inline flow in block table | following
RECREATED: position relative -> fixed on inline flow in block table | following sibling descendant
STATS: position relative -> fixed on inline flow in block table | rebuilt subtree roots=1, escaped=false
PASS: position relative -> fixed on inline flow in block table | incremental tree matches full rebuild
-PRESERVED: position fixed -> absolute on inline flow in inline-block | fixture ancestor
-PRESERVED: position fixed -> absolute on inline flow in inline-block | distant sibling
-PRESERVED: position fixed -> absolute on inline flow in inline-block | distant sibling descendant
-PRESERVED: position fixed -> absolute on inline flow in inline-block | DOM parent
-PRESERVED: position fixed -> absolute on inline flow in inline-block | preceding sibling
-PRESERVED: position fixed -> absolute on inline flow in inline-block | preceding sibling descendant
+RECREATED: position fixed -> absolute on inline flow in inline-block | fixture ancestor
+RECREATED: position fixed -> absolute on inline flow in inline-block | distant sibling
+RECREATED: position fixed -> absolute on inline flow in inline-block | distant sibling descendant
+RECREATED: position fixed -> absolute on inline flow in inline-block | DOM parent
+RECREATED: position fixed -> absolute on inline flow in inline-block | preceding sibling
+RECREATED: position fixed -> absolute on inline flow in inline-block | preceding sibling descendant
RECREATED: position fixed -> absolute on inline flow in inline-block | target
RECREATED: position fixed -> absolute on inline flow in inline-block | target descendant
-PRESERVED: position fixed -> absolute on inline flow in inline-block | following sibling
-PRESERVED: position fixed -> absolute on inline flow in inline-block | following sibling descendant
+RECREATED: position fixed -> absolute on inline flow in inline-block | following sibling
+RECREATED: position fixed -> absolute on inline flow in inline-block | following sibling descendant
STATS: position fixed -> absolute on inline flow in inline-block | rebuilt subtree roots=1, escaped=false
PASS: position fixed -> absolute on inline flow in inline-block | incremental tree matches full rebuild
RECREATED: float none -> inline-start on inline flow in table | fixture ancestor
@@ -2449,13 +2449,13 @@ PASS: position relative -> fixed on inline flow-root in block flow list-item | i
PRESERVED: position fixed -> absolute on inline flow-root in list-item | fixture ancestor
PRESERVED: position fixed -> absolute on inline flow-root in list-item | distant sibling
PRESERVED: position fixed -> absolute on inline flow-root in list-item | distant sibling descendant
-PRESERVED: position fixed -> absolute on inline flow-root in list-item | DOM parent
-PRESERVED: position fixed -> absolute on inline flow-root in list-item | preceding sibling
-PRESERVED: position fixed -> absolute on inline flow-root in list-item | preceding sibling descendant
+RECREATED: position fixed -> absolute on inline flow-root in list-item | DOM parent
+RECREATED: position fixed -> absolute on inline flow-root in list-item | preceding sibling
+RECREATED: position fixed -> absolute on inline flow-root in list-item | preceding sibling descendant
RECREATED: position fixed -> absolute on inline flow-root in list-item | target
RECREATED: position fixed -> absolute on inline flow-root in list-item | target descendant
-PRESERVED: position fixed -> absolute on inline flow-root in list-item | following sibling
-PRESERVED: position fixed -> absolute on inline flow-root in list-item | following sibling descendant
+RECREATED: position fixed -> absolute on inline flow-root in list-item | following sibling
+RECREATED: position fixed -> absolute on inline flow-root in list-item | following sibling descendant
STATS: position fixed -> absolute on inline flow-root in list-item | rebuilt subtree roots=1, escaped=false
PASS: position fixed -> absolute on inline flow-root in list-item | incremental tree matches full rebuild
RECREATED: float none -> inline-start on inline flow-root in math | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/table-row-insertion-preservation.txt b/Tests/LibWeb/Text/expected/layout-tree-update/table-row-insertion-preservation.txt
index e50207d15ba..1ff008ac9a2 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/table-row-insertion-preservation.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/table-row-insertion-preservation.txt
@@ -50,23 +50,23 @@ PASS: insert floating row | create inserted rows
PASS: insert floating row | incremental tree matches full rebuild
PASS: insert interior whitespace | preserve row group
PASS: insert interior whitespace | incremental tree matches full rebuild
-PASS: insert interior multiple whitespace nodes | rebuild row group
+PASS: insert interior multiple whitespace nodes | preserve row group
PASS: insert interior multiple whitespace nodes | incremental tree matches full rebuild
-PASS: insert interior whitespace around comment | rebuild row group
+PASS: insert interior whitespace around comment | preserve row group
PASS: insert interior whitespace around comment | incremental tree matches full rebuild
-PASS: insert interior whitespace around hidden element | rebuild row group
+PASS: insert interior whitespace around hidden element | preserve row group
PASS: insert interior whitespace around hidden element | incremental tree matches full rebuild
PASS: prepend edge whitespace | preserve row group
PASS: prepend edge whitespace | incremental tree matches full rebuild
PASS: append edge whitespace | preserve row group
PASS: append edge whitespace | incremental tree matches full rebuild
-PASS: tbody prepend outside whitespace | rebuild row group
+PASS: tbody prepend outside whitespace | preserve row group
PASS: tbody prepend outside whitespace | incremental tree matches full rebuild
-PASS: tbody prepend outside multiple whitespace nodes | rebuild row group
+PASS: tbody prepend outside multiple whitespace nodes | preserve row group
PASS: tbody prepend outside multiple whitespace nodes | incremental tree matches full rebuild
-PASS: tbody prepend outside whitespace around comment | rebuild row group
+PASS: tbody prepend outside whitespace around comment | preserve row group
PASS: tbody prepend outside whitespace around comment | incremental tree matches full rebuild
-PASS: tbody prepend outside whitespace around hidden element | rebuild row group
+PASS: tbody prepend outside whitespace around hidden element | preserve row group
PASS: tbody prepend outside whitespace around hidden element | incremental tree matches full rebuild
PASS: tbody prepend inside whitespace | preserve row group
PASS: tbody prepend inside whitespace | incremental tree matches full rebuild
@@ -84,13 +84,13 @@ PASS: tbody prepend opposite whitespace around comment | preserve row group
PASS: tbody prepend opposite whitespace around comment | incremental tree matches full rebuild
PASS: tbody prepend opposite whitespace around hidden element | preserve row group
PASS: tbody prepend opposite whitespace around hidden element | incremental tree matches full rebuild
-PASS: tbody append outside whitespace | rebuild row group
+PASS: tbody append outside whitespace | preserve row group
PASS: tbody append outside whitespace | incremental tree matches full rebuild
-PASS: tbody append outside multiple whitespace nodes | rebuild row group
+PASS: tbody append outside multiple whitespace nodes | preserve row group
PASS: tbody append outside multiple whitespace nodes | incremental tree matches full rebuild
-PASS: tbody append outside whitespace around comment | rebuild row group
+PASS: tbody append outside whitespace around comment | preserve row group
PASS: tbody append outside whitespace around comment | incremental tree matches full rebuild
-PASS: tbody append outside whitespace around hidden element | rebuild row group
+PASS: tbody append outside whitespace around hidden element | preserve row group
PASS: tbody append outside whitespace around hidden element | incremental tree matches full rebuild
PASS: tbody append inside whitespace | preserve row group
PASS: tbody append inside whitespace | incremental tree matches full rebuild
@@ -108,13 +108,13 @@ PASS: tbody append opposite whitespace around comment | preserve row group
PASS: tbody append opposite whitespace around comment | incremental tree matches full rebuild
PASS: tbody append opposite whitespace around hidden element | preserve row group
PASS: tbody append opposite whitespace around hidden element | incremental tree matches full rebuild
-PASS: thead prepend outside whitespace | rebuild row group
+PASS: thead prepend outside whitespace | preserve row group
PASS: thead prepend outside whitespace | incremental tree matches full rebuild
-PASS: thead prepend outside multiple whitespace nodes | rebuild row group
+PASS: thead prepend outside multiple whitespace nodes | preserve row group
PASS: thead prepend outside multiple whitespace nodes | incremental tree matches full rebuild
-PASS: thead prepend outside whitespace around comment | rebuild row group
+PASS: thead prepend outside whitespace around comment | preserve row group
PASS: thead prepend outside whitespace around comment | incremental tree matches full rebuild
-PASS: thead prepend outside whitespace around hidden element | rebuild row group
+PASS: thead prepend outside whitespace around hidden element | preserve row group
PASS: thead prepend outside whitespace around hidden element | incremental tree matches full rebuild
PASS: thead prepend inside whitespace | preserve row group
PASS: thead prepend inside whitespace | incremental tree matches full rebuild
@@ -132,13 +132,13 @@ PASS: thead prepend opposite whitespace around comment | preserve row group
PASS: thead prepend opposite whitespace around comment | incremental tree matches full rebuild
PASS: thead prepend opposite whitespace around hidden element | preserve row group
PASS: thead prepend opposite whitespace around hidden element | incremental tree matches full rebuild
-PASS: thead append outside whitespace | rebuild row group
+PASS: thead append outside whitespace | preserve row group
PASS: thead append outside whitespace | incremental tree matches full rebuild
-PASS: thead append outside multiple whitespace nodes | rebuild row group
+PASS: thead append outside multiple whitespace nodes | preserve row group
PASS: thead append outside multiple whitespace nodes | incremental tree matches full rebuild
-PASS: thead append outside whitespace around comment | rebuild row group
+PASS: thead append outside whitespace around comment | preserve row group
PASS: thead append outside whitespace around comment | incremental tree matches full rebuild
-PASS: thead append outside whitespace around hidden element | rebuild row group
+PASS: thead append outside whitespace around hidden element | preserve row group
PASS: thead append outside whitespace around hidden element | incremental tree matches full rebuild
PASS: thead append inside whitespace | preserve row group
PASS: thead append inside whitespace | incremental tree matches full rebuild
@@ -156,13 +156,13 @@ PASS: thead append opposite whitespace around comment | preserve row group
PASS: thead append opposite whitespace around comment | incremental tree matches full rebuild
PASS: thead append opposite whitespace around hidden element | preserve row group
PASS: thead append opposite whitespace around hidden element | incremental tree matches full rebuild
-PASS: tfoot prepend outside whitespace | rebuild row group
+PASS: tfoot prepend outside whitespace | preserve row group
PASS: tfoot prepend outside whitespace | incremental tree matches full rebuild
-PASS: tfoot prepend outside multiple whitespace nodes | rebuild row group
+PASS: tfoot prepend outside multiple whitespace nodes | preserve row group
PASS: tfoot prepend outside multiple whitespace nodes | incremental tree matches full rebuild
-PASS: tfoot prepend outside whitespace around comment | rebuild row group
+PASS: tfoot prepend outside whitespace around comment | preserve row group
PASS: tfoot prepend outside whitespace around comment | incremental tree matches full rebuild
-PASS: tfoot prepend outside whitespace around hidden element | rebuild row group
+PASS: tfoot prepend outside whitespace around hidden element | preserve row group
PASS: tfoot prepend outside whitespace around hidden element | incremental tree matches full rebuild
PASS: tfoot prepend inside whitespace | preserve row group
PASS: tfoot prepend inside whitespace | incremental tree matches full rebuild
@@ -180,13 +180,13 @@ PASS: tfoot prepend opposite whitespace around comment | preserve row group
PASS: tfoot prepend opposite whitespace around comment | incremental tree matches full rebuild
PASS: tfoot prepend opposite whitespace around hidden element | preserve row group
PASS: tfoot prepend opposite whitespace around hidden element | incremental tree matches full rebuild
-PASS: tfoot append outside whitespace | rebuild row group
+PASS: tfoot append outside whitespace | preserve row group
PASS: tfoot append outside whitespace | incremental tree matches full rebuild
-PASS: tfoot append outside multiple whitespace nodes | rebuild row group
+PASS: tfoot append outside multiple whitespace nodes | preserve row group
PASS: tfoot append outside multiple whitespace nodes | incremental tree matches full rebuild
-PASS: tfoot append outside whitespace around comment | rebuild row group
+PASS: tfoot append outside whitespace around comment | preserve row group
PASS: tfoot append outside whitespace around comment | incremental tree matches full rebuild
-PASS: tfoot append outside whitespace around hidden element | rebuild row group
+PASS: tfoot append outside whitespace around hidden element | preserve row group
PASS: tfoot append outside whitespace around hidden element | incremental tree matches full rebuild
PASS: tfoot append inside whitespace | preserve row group
PASS: tfoot append inside whitespace | incremental tree matches full rebuild
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-child-insertion-preservation.txt b/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-child-insertion-preservation.txt
index 23a14eaee5a..726b619bf49 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-child-insertion-preservation.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-child-insertion-preservation.txt
@@ -400,7 +400,7 @@ PASS: append non-whitespace text | append text | incremental tree matches full r
PASS: rebuild under first-letter | append whitespace | rebuild
PASS: rebuild under first-letter | append whitespace | layout tree builds=1
PASS: rebuild under first-letter | append whitespace | incremental tree matches full rebuild
-PASS: rebuild under first-letter | append multiple whitespace nodes | rebuild
+PASS: rebuild under first-letter | append multiple whitespace nodes | preserve
PASS: rebuild under first-letter | append multiple whitespace nodes | layout tree builds=1
PASS: rebuild under first-letter | append multiple whitespace nodes | incremental tree matches full rebuild
PASS: rebuild under ancestor first-letter | append whitespace | rebuild
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-text-box-neighbour-changes.txt b/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-text-box-neighbour-changes.txt
new file mode 100644
index 00000000000..b09f3f8b50d
--- /dev/null
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/whitespace-text-box-neighbour-changes.txt
@@ -0,0 +1,77 @@
+between blocks | initial | boxed whitespace 00
+between blocks | insert inline before whitespace | boxed whitespace 10 | builds 1 | PASS
+between blocks | remove that inline | boxed whitespace 00 | builds 1 | PASS
+between blocks | insert text before whitespace | boxed whitespace 10 | builds 1 | PASS
+between blocks | remove that text | boxed whitespace 00 | builds 1 | PASS
+between blocks | remove block after inline | boxed whitespace 10 | builds 1 | PASS
+neighbour display | initial | boxed whitespace 10
+neighbour display | inline to block | boxed whitespace 00 | builds 1 | PASS
+neighbour display | block to inline-block | boxed whitespace 10 | builds 1 | PASS
+neighbour display | inline-block to none | boxed whitespace 00 | builds 1 | PASS
+neighbour display | none to contents | boxed whitespace 10 | builds 1 | PASS
+neighbour display | contents to inline | boxed whitespace 10 | builds 1 | PASS
+neighbour display | position absolute | boxed whitespace 00 | builds 1 | PASS
+neighbour display | float instead | boxed whitespace 00 | builds 1 | PASS
+neighbour display | no float | boxed whitespace 10 | builds 1 | PASS
+parent white-space | initial | boxed whitespace 00
+parent white-space | pre | boxed whitespace 11 | builds 1 | PASS
+parent white-space | pre-line | boxed whitespace 11 | builds 1 | PASS
+parent white-space | normal | boxed whitespace 00 | builds 1 | PASS
+text before whitespace | initial | boxed whitespace 11
+text before whitespace | add trailing space | boxed whitespace 01 | builds 1 | PASS
+text before whitespace | remove trailing space | boxed whitespace 11 | builds 1 | PASS
+text before whitespace | turn whitespace into text | boxed whitespace 1 | builds 1 | PASS
+text before whitespace | turn it back into whitespace | boxed whitespace 11 | builds 1 | PASS
+text before whitespace | empty the first text | boxed whitespace 001 | builds 1 | PASS
+after a line break | initial | boxed whitespace 0
+after a line break | replace break with inline | boxed whitespace 1 | builds 1 | PASS
+after a line break | replace inline with break | boxed whitespace 0 | builds 1 | PASS
+start of a block | initial | boxed whitespace 0
+start of a block | inline ::before | boxed whitespace 1 | builds 1 | PASS
+start of a block | no ::before | boxed whitespace 0 | builds 1 | PASS
+start of a block | prepend text | boxed whitespace 1 | builds 1 | PASS
+start of a block | remove that text | boxed whitespace 0 | builds 1 | PASS
+start of a block | parent becomes inline | boxed whitespace 1 | builds 1 | PASS
+start of a block | parent becomes block | boxed whitespace 0 | builds 1 | PASS
+list item marker | initial | boxed whitespace 0
+list item marker | inside marker | boxed whitespace 1 | builds 1 | PASS
+list item marker | outside marker | boxed whitespace 0 | builds 1 | PASS
+editing host | initial | boxed whitespace 0
+editing host | contenteditable | boxed whitespace 1 | builds 1 | PASS
+editing host | not contenteditable | boxed whitespace 0 | builds 1 | PASS
+flex | initial | boxed whitespace 10
+flex | add trailing space | boxed whitespace 00 | builds 1 | PASS
+flex | remove trailing space | boxed whitespace 10 | builds 1 | PASS
+flex | grid | boxed whitespace 10 | builds 1 | PASS
+flex | block | boxed whitespace 10 | builds 1 | PASS
+flex | remove item | boxed whitespace 10 | builds 1 | PASS
+table | initial | boxed whitespace 011
+table | insert row before inline | boxed whitespace 011 | builds 1 | PASS
+table | remove first row | boxed whitespace 011 | builds 1 | PASS
+table | inline becomes block | boxed whitespace 001 | builds 1 | PASS
+after a table cell in an inline | initial | boxed whitespace 1
+after a table cell in an inline | cell becomes inline | boxed whitespace 1 | builds 1 | PASS
+after a table cell in an inline | inline becomes cell | boxed whitespace 1 | builds 1 | PASS
+display contents | initial | boxed whitespace 010
+display contents | insert inline before contents | boxed whitespace 110 | builds 1 | PASS
+display contents | ::before on contents | boxed whitespace 110 | builds 1 | PASS
+display contents | ::after on contents | boxed whitespace 111 | builds 1 | PASS
+display contents | contents becomes inline | boxed whitespace 111 | builds 1 | PASS
+display contents | inline becomes contents | boxed whitespace 111 | builds 1 | PASS
+display contents | remove inline before contents | boxed whitespace 111 | builds 1 | PASS
+slotted | initial | boxed whitespace 100
+slotted | unslot first | boxed whitespace 110 | builds 1 | PASS
+slotted | slot first again | boxed whitespace 100 | builds 1 | PASS
+slotted | insert block in light DOM | boxed whitespace 100 | builds 1 | PASS
+slotted | slot becomes block | boxed whitespace 000 | builds 1 | PASS
+shadow root children | initial | boxed whitespace 10
+shadow root children | shadow inline becomes block | boxed whitespace 00 | builds 1 | PASS
+shadow root children | insert inline into shadow root | boxed whitespace 00 | builds 1 | PASS
+appending | initial | boxed whitespace 0
+appending | append inline, whitespace, inline | boxed whitespace 01 | builds 1 | PASS
+appending | append whitespace and block | boxed whitespace 0110 | builds 1 | PASS
+appending | remove first block | boxed whitespace 0110 | builds 1 | PASS
+list | initial | boxed whitespace 0000
+list | remove middle item | boxed whitespace 0000 | builds 1 | PASS
+list | remove first item | boxed whitespace 0000 | builds 1 | PASS
+list | append item | boxed whitespace 00000 | builds 1 | PASS
diff --git a/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/floats/not-floating-001.txt b/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/floats/not-floating-001.txt
index 07de3048335..f97d5d3a2f2 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/floats/not-floating-001.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/floats/not-floating-001.txt
@@ -2,10 +2,10 @@ Harness status: OK
Found 24 tests
-17 Pass
-7 Fail
+19 Pass
+5 Fail
Pass float child ignored in a
-Fail float child ignored in maction
+Pass float child ignored in maction
Pass float child ignored in menclose
Pass float child ignored in merror
Pass float child ignored in mfrac
@@ -27,4 +27,4 @@ Pass float child ignored in msup
Fail float child ignored in mtext
Pass float child ignored in munder
Pass float child ignored in munderover
-Fail float child ignored in semantics
\ No newline at end of file
+Pass float child ignored in semantics
\ No newline at end of file
diff --git a/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/width-height-005.txt b/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/width-height-005.txt
index d9be8dc16ed..c5f86d9dbed 100644
--- a/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/width-height-005.txt
+++ b/Tests/LibWeb/Text/expected/wpt-import/mathml/relations/css-styling/width-height-005.txt
@@ -2,8 +2,7 @@ Harness status: OK
Found 40 tests
-38 Pass
-2 Fail
+40 Pass
Pass mrow
Pass mrow (horizontal overflow)
Pass RTL mrow
@@ -37,9 +36,9 @@ Pass mmultiscripts (horizontal overflow)
Pass RTL mmultiscripts
Pass RTL mmultiscripts (horizontal overflow)
Pass mtext
-Fail mtext (horizontal overflow)
+Pass mtext (horizontal overflow)
Pass RTL mtext
-Fail RTL mtext (horizontal overflow)
+Pass RTL mtext (horizontal overflow)
Pass legacy menclose
Pass legacy menclose (horizontal overflow)
Pass RTL legacy menclose
diff --git a/Tests/LibWeb/Text/input/css/style-invalidation/root-font-metrics-after-webfont-load.html b/Tests/LibWeb/Text/input/css/style-invalidation/root-font-metrics-after-webfont-load.html
index 5b7fd0e357b..bcd9e9518e3 100644
--- a/Tests/LibWeb/Text/input/css/style-invalidation/root-font-metrics-after-webfont-load.html
+++ b/Tests/LibWeb/Text/input/css/style-invalidation/root-font-metrics-after-webfont-load.html
@@ -20,6 +20,7 @@
#rch { width: 10rch; }
#rex { width: 10rex; }
</style>
+<div>Text in the root font, which loads it.</div>
<div id="rch" class="target">rch</div>
<div id="rex" class="target">rex</div>
<script>
diff --git a/Tests/LibWeb/Text/input/layout-trace.html b/Tests/LibWeb/Text/input/layout-trace.html
index 4b6c7f54033..8d66e5904fe 100644
--- a/Tests/LibWeb/Text/input/layout-trace.html
+++ b/Tests/LibWeb/Text/input/layout-trace.html
@@ -81,7 +81,8 @@ layoutTest({
layout FULL
@viewport/block RUN (cache=bypass)
BlockContainer<HTML>/block RUN (cache=miss)
- BlockContainer<DIV>#boundary/block RUN (cache=miss)
+ BlockContainer<DIV>#spacer REUSE IN-FLOW SUBTREE
+ BlockContainer<DIV>#boundary/block REUSE SUBTREE
`,
},
],
diff --git a/Tests/LibWeb/Text/input/layout-tree-update/removal-leaving-only-anonymous-wrapper.html b/Tests/LibWeb/Text/input/layout-tree-update/removal-leaving-only-anonymous-wrapper.html
index 06f87d38ef1..b24cd8bedb7 100644
--- a/Tests/LibWeb/Text/input/layout-tree-update/removal-leaving-only-anonymous-wrapper.html
+++ b/Tests/LibWeb/Text/input/layout-tree-update/removal-leaving-only-anonymous-wrapper.html
@@ -93,7 +93,8 @@
name: "remove first block leaving empty text",
root: () => el("div", {}, el("div", { id: "x" }), ""),
mutate: remove,
- expectNoBuild: false,
+ // The empty text renders nothing with the block or without it, so the block leaves in place.
+ expectNoBuild: true,
},
{
name: "replace first block with hidden element leaving empty text",
@@ -137,7 +138,8 @@
name: "remove last block after empty text",
root: () => el("div", {}, "", el("div", { id: "x" })),
mutate: remove,
- expectNoBuild: false,
+ // The empty text renders nothing with the block or without it, so the block leaves in place.
+ expectNoBuild: true,
},
{
name: "remove block between inline siblings",
diff --git a/Tests/LibWeb/Text/input/layout-tree-update/table-row-insertion-preservation.html b/Tests/LibWeb/Text/input/layout-tree-update/table-row-insertion-preservation.html
index 22b6a97a155..e5b8f9f99ba 100644
--- a/Tests/LibWeb/Text/input/layout-tree-update/table-row-insertion-preservation.html
+++ b/Tests/LibWeb/Text/input/layout-tree-update/table-row-insertion-preservation.html
@@ -113,10 +113,10 @@
}
document.body.offsetHeight;
- const shouldPreserve = insertionPosition !== "outside";
+ // White space in a row group renders nothing and has no box, so no row inserted around it makes it interior.
const preserved = internals.layoutNodeIdentity(body) === bodyIdentity;
const name = `${groupTag} ${direction} ${insertionPosition} ${boundaryKind}`;
- println(`${preserved === shouldPreserve ? "PASS" : "FAIL"}: ${name} | ${shouldPreserve ? "preserve" : "rebuild"} row group`);
+ println(`${preserved ? "PASS" : "FAIL"}: ${name} | preserve row group`);
println(`${internals.compareLayoutTreeWithFullRebuild().matches ? "PASS" : "FAIL"}: ${name} | incremental tree matches full rebuild`);
}
@@ -209,7 +209,7 @@
const fragment = new DocumentFragment();
fragment.append(...nodes);
body.insertBefore(fragment, after);
- }, boundaryKind === "whitespace");
+ }, true);
}
runWhitespaceInsertionCase("prepend edge whitespace", "whitespace", (body, after, nodes) => body.prepend(...nodes), true);
runWhitespaceInsertionCase("append edge whitespace", "whitespace", (body, after, nodes) => body.append(...nodes), true);
diff --git a/Tests/LibWeb/Text/input/layout-tree-update/whitespace-child-insertion-preservation.html b/Tests/LibWeb/Text/input/layout-tree-update/whitespace-child-insertion-preservation.html
index ada8d9b1ee9..3a035b24ae8 100644
--- a/Tests/LibWeb/Text/input/layout-tree-update/whitespace-child-insertion-preservation.html
+++ b/Tests/LibWeb/Text/input/layout-tree-update/whitespace-child-insertion-preservation.html
@@ -636,7 +636,8 @@
markup: '<div class="parent first-letter"><div class="tracked"></div><span>inline</span></div>',
steps: [
{ name: "append whitespace", mutate: parent => parent.append(" "), preserve: false },
- { name: "append multiple whitespace nodes", mutate: parent => parent.append("\n", "\t", " "), preserve: false },
+ // White space after white space renders nothing, so it gets no box and the parent keeps its own.
+ { name: "append multiple whitespace nodes", mutate: parent => parent.append("\n", "\t", " ") },
],
},
{
diff --git a/Tests/LibWeb/Text/input/layout-tree-update/whitespace-text-box-neighbour-changes.html b/Tests/LibWeb/Text/input/layout-tree-update/whitespace-text-box-neighbour-changes.html
new file mode 100644
index 00000000000..d0462c5f9d3
--- /dev/null
+++ b/Tests/LibWeb/Text/input/layout-tree-update/whitespace-text-box-neighbour-changes.html
@@ -0,0 +1,217 @@
+<!doctype html>
+<script src="../include.js"></script>
+<style>
+ .flex { display: flex; }
+ .grid { display: grid; }
+ .table { display: table; }
+ .row { display: table-row; }
+ .cell { display: table-cell; }
+ .contents { display: contents; }
+ .before-inline::before { content: "before"; }
+ .after-inline::after { content: "after"; }
+ .inside { list-style-position: inside; }
+</style>
+<div id="fixture"></div>
+<script>
+ // Each step changes something a white space text's box depends on: the box before it, its parent's display, the
+ // white space its text collapses, its parent's ::before, editability, or the text before it. After each step, the
+ // line lists which of the parent's white space text nodes have a box, and checks the tree against a full rebuild.
+ const cases = [
+ {
+ name: "between blocks",
+ markup: '<div class="parent"><p>a</p> <p class="n">b</p> <p>c</p></div>',
+ steps: [
+ { name: "insert inline before whitespace", mutate: p => p.firstElementChild.after(document.createElement("span")) },
+ { name: "remove that inline", mutate: p => p.querySelector("span").remove() },
+ { name: "insert text before whitespace", mutate: p => p.firstElementChild.after("text") },
+ { name: "remove that text", mutate: p => p.childNodes[1].remove() },
+ { name: "remove block after inline", mutate: p => { p.firstElementChild.before(document.createElement("span")); p.querySelector("p").remove(); } },
+ ],
+ },
+ {
+ name: "neighbour display",
+ markup: '<div class="parent"><span class="n">a</span> <div>b</div> <span>c</span></div>',
+ steps: [
+ { name: "inline to block", mutate: p => p.querySelector(".n").style.display = "block" },
+ { name: "block to inline-block", mutate: p => p.querySelector(".n").style.display = "inline-block" },
+ { name: "inline-block to none", mutate: p => p.querySelector(".n").style.display = "none" },
+ { name: "none to contents", mutate: p => p.querySelector(".n").style.display = "contents" },
+ { name: "contents to inline", mutate: p => p.querySelector(".n").style.display = "" },
+ { name: "position absolute", mutate: p => p.querySelector(".n").style.position = "absolute" },
+ { name: "float instead", mutate: p => { p.querySelector(".n").style.position = ""; p.querySelector(".n").style.float = "left"; } },
+ { name: "no float", mutate: p => p.querySelector(".n").style.float = "" },
+ ],
+ },
+ {
+ name: "parent white-space",
+ markup: '<div class="parent"><p>a</p> <p>b</p> </div>',
+ steps: [
+ { name: "pre", mutate: p => p.style.whiteSpace = "pre" },
+ { name: "pre-line", mutate: p => p.style.whiteSpace = "pre-line" },
+ { name: "normal", mutate: p => p.style.whiteSpace = "" },
+ ],
+ },
+ {
+ name: "text before whitespace",
+ markup: '<div class="parent">foo<!----> <b>x</b><!---->\n<i>y</i></div>',
+ steps: [
+ { name: "add trailing space", mutate: p => p.firstChild.data = "foo " },
+ { name: "remove trailing space", mutate: p => p.firstChild.data = "foo" },
+ { name: "turn whitespace into text", mutate: p => p.childNodes[5].data = "z" },
+ { name: "turn it back into whitespace", mutate: p => p.childNodes[5].data = " " },
+ { name: "empty the first text", mutate: p => p.firstChild.data = "" },
+ ],
+ },
+ {
+ name: "after a line break",
+ markup: '<div class="parent">a<br> <b>x</b></div>',
+ steps: [
+ { name: "replace break with inline", mutate: p => p.querySelector("br").replaceWith(document.createElement("span")) },
+ { name: "replace inline with break", mutate: p => p.querySelector("span").replaceWith(document.createElement("br")) },
+ ],
+ },
+ {
+ name: "start of a block",
+ markup: '<div class="parent"> <b>x</b></div>',
+ steps: [
+ { name: "inline ::before", mutate: p => p.classList.add("before-inline") },
+ { name: "no ::before", mutate: p => p.classList.remove("before-inline") },
+ { name: "prepend text", mutate: p => p.prepend("a") },
+ { name: "remove that text", mutate: p => p.firstChild.remove() },
+ { name: "parent becomes inline", mutate: p => p.style.display = "inline" },
+ { name: "parent becomes block", mutate: p => p.style.display = "" },
+ ],
+ },
+ {
+ name: "list item marker",
+ markup: '<ul><li class="parent"> <b>x</b></li></ul>',
+ steps: [
+ { name: "inside marker", mutate: p => p.classList.add("inside") },
+ { name: "outside marker", mutate: p => p.classList.remove("inside") },
+ ],
+ },
+ {
+ name: "editing host",
+ markup: '<div class="parent"><p>a</p> <p>b</p></div>',
+ steps: [
+ { name: "contenteditable", mutate: p => p.contentEditable = "true" },
+ { name: "not contenteditable", mutate: p => p.contentEditable = "false" },
+ ],
+ },
+ {
+ name: "flex",
+ markup: '<div class="parent flex">foo<!----> <div>x</div> <div>y</div></div>',
+ steps: [
+ { name: "add trailing space", mutate: p => p.firstChild.data = "foo " },
+ { name: "remove trailing space", mutate: p => p.firstChild.data = "foo" },
+ { name: "grid", mutate: p => p.classList.replace("flex", "grid") },
+ { name: "block", mutate: p => p.classList.remove("grid") },
+ { name: "remove item", mutate: p => p.querySelector("div").remove() },
+ ],
+ },
+ {
+ name: "table",
+ markup: '<div class="parent table"><div class="row"><div class="cell">a</div></div> <span>b</span> <span>c</span> </div>',
+ steps: [
+ { name: "insert row before inline", mutate: p => p.querySelector("span").before(Object.assign(document.createElement("div"), { className: "row" })) },
+ { name: "remove first row", mutate: p => p.querySelector(".row").remove() },
+ { name: "inline becomes block", mutate: p => p.querySelector("span").style.display = "block" },
+ ],
+ },
+ {
+ name: "after a table cell in an inline",
+ markup: '<div><span class="parent">a <span class="cell">b</span> <span>c</span></span></div>',
+ steps: [
+ { name: "cell becomes inline", mutate: p => p.querySelector(".cell").classList.remove("cell") },
+ { name: "inline becomes cell", mutate: p => p.children[0].classList.add("cell") },
+ ],
+ },
+ {
+ name: "display contents",
+ markup: '<div class="parent"><p>a</p><span class="contents c"> <b>x</b> </span> <p>b</p></div>',
+ steps: [
+ { name: "insert inline before contents", mutate: p => p.querySelector(".c").before(document.createElement("span")) },
+ { name: "::before on contents", mutate: p => p.querySelector(".c").classList.add("before-inline") },
+ { name: "::after on contents", mutate: p => p.querySelector(".c").classList.add("after-inline") },
+ { name: "contents becomes inline", mutate: p => p.querySelector(".c").classList.remove("contents") },
+ { name: "inline becomes contents", mutate: p => p.querySelector(".c").classList.add("contents") },
+ { name: "remove inline before contents", mutate: p => p.querySelector(":scope > span:not(.c)").remove() },
+ ],
+ },
+ {
+ name: "slotted",
+ markup: '<div class="parent"><span slot="s">a</span> <span slot="s">b</span> </div>',
+ shadow: '<p>x</p><slot name="s"></slot> <slot></slot>',
+ steps: [
+ { name: "unslot first", mutate: p => p.firstElementChild.removeAttribute("slot") },
+ { name: "slot first again", mutate: p => p.firstElementChild.setAttribute("slot", "s") },
+ { name: "insert block in light DOM", mutate: p => p.firstElementChild.after(Object.assign(document.createElement("div"), { slot: "s" })) },
+ { name: "slot becomes block", mutate: p => p.shadowRoot.querySelector("slot").style.display = "block" },
+ ],
+ },
+ {
+ name: "shadow root children",
+ markup: '<div class="parent"></div>',
+ shadow: '<span>a</span> <p>b</p> <span>c</span>',
+ steps: [
+ { name: "shadow inline becomes block", mutate: p => p.shadowRoot.querySelector("span").style.display = "block" },
+ { name: "insert inline into shadow root", mutate: p => p.shadowRoot.querySelector("p").before(document.createElement("i")) },
+ ],
+ },
+ {
+ name: "appending",
+ markup: '<div class="parent"><p>a</p> </div>',
+ steps: [
+ { name: "append inline, whitespace, inline", mutate: p => p.append(document.createElement("span"), " ", document.createElement("span")) },
+ { name: "append whitespace and block", mutate: p => p.append("\n", document.createElement("div"), "\n") },
+ { name: "remove first block", mutate: p => p.querySelector("p").remove() },
+ ],
+ },
+ {
+ name: "list",
+ markup: '<ul class="parent">\n<li>1</li>\n<li class="n">2</li>\n<li>3</li>\n</ul>',
+ steps: [
+ { name: "remove middle item", mutate: p => p.querySelector(".n").remove() },
+ { name: "remove first item", mutate: p => p.firstElementChild.remove() },
+ { name: "append item", mutate: p => p.append(document.createElement("li"), "\n") },
+ ],
+ },
+ ];
+
+ function boxedWhitespace(parent) {
+ const root = parent.shadowRoot ?? parent;
+ const flags = [];
+ const walker = document.createTreeWalker(root, NodeFilter.SHOW_TEXT);
+ const visit = node => {
+ if (node.nodeType === Node.TEXT_NODE && /^[ \t\n\f\r]*$/.test(node.data))
+ flags.push(internals.layoutNodeIdentity(node) !== 0 ? 1 : 0);
+ };
+ for (let node = walker.nextNode(); node; node = walker.nextNode())
+ visit(node);
+ if (parent.shadowRoot) {
+ for (const node of parent.childNodes)
+ visit(node);
+ }
+ return flags.join("");
+ }
+
+ test(() => {
+ for (const case_ of cases) {
+ fixture.innerHTML = case_.markup;
+ const parent = fixture.querySelector(".parent");
+ if (case_.shadow)
+ parent.attachShadow({ mode: "open" }).innerHTML = case_.shadow;
+ document.body.offsetWidth;
+ println(`${case_.name} | initial | boxed whitespace ${boxedWhitespace(parent)}`);
+
+ for (const step of case_.steps) {
+ const buildsBefore = internals.layoutTreeBuildStats().builds;
+ step.mutate(parent);
+ document.body.offsetWidth;
+ const builds = internals.layoutTreeBuildStats().builds - buildsBefore;
+ const matches = internals.compareLayoutTreeWithFullRebuild().matches;
+ println(`${case_.name} | ${step.name} | boxed whitespace ${boxedWhitespace(parent)} | builds ${builds} | ${matches ? "PASS" : "FAIL"}`);
+ }
+ }
+ });
+</script>