Skip to content

Truly independent web browser

LibWeb: Don’t wrap a blockified flex or grid item in a table

sideshowbarker38a7d6b19b86
diff --git a/Libraries/LibWeb/Rust/src/layout/tree_builder.rs b/Libraries/LibWeb/Rust/src/layout/tree_builder.rs
index 8cbd2db964d..8c1d64e451e 100644
--- a/Libraries/LibWeb/Rust/src/layout/tree_builder.rs
+++ b/Libraries/LibWeb/Rust/src/layout/tree_builder.rs
@@ -5347,10 +5347,12 @@ fn display_for_table_fixup(host: &TreeBuilderHost<'_>, node: LayoutNode) -> FfiD
// For the purposes of these rules, out-of-flow elements are represented as inline elements of zero width and
// height. Their containing blocks are chosen accordingly.
//
- // AD-HOC: Table-internal boxes can be blockified before fixup. Use the pre-transformation display for ordinary
+ // AD-HOC: Table-internal boxes can be blockified before fixup. Use the pre-transformation display for out-of-flow
// authored boxes so an out-of-flow table-header-group is still recognized as a proper table child during fixup.
+ // An in-flow box blockified as a flex or grid item is a block, though, and not a proper table child.
// Element-specific display adjustments for replaced elements and buttons take precedence over that display.
- if node_has_replaced_element_table_display_adjustment(host, node)
+ if !node_is_out_of_flow(host, node)
+ || node_has_replaced_element_table_display_adjustment(host, node)
|| node_facts::has_flag(host.data(node), NodeFlag::Anonymous)
|| node_facts::has_flag(host.data(node), NodeFlag::UsesButtonLayout)
{
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
new file mode 100644
index 00000000000..dd1ca57f84d
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/table/table-row-group-blockified-as-flex-or-grid-item.txt
@@ -0,0 +1,39 @@
+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 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 <table> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <tbody> at [8,8] flex-item [0+0+0 161.78125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ TableWrapper <(anonymous)> at [8,8] [0+0+0 161.78125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline
+ Box <(anonymous)> at [8,8] table-box [0+0+0 161.78125 0+0+0] [0+0+0 16 0+0+0] [TFC] children: not-inline
+ Box <tr> at [8,8] table-row [0+0+0 161.78125 0+0+0] [0+0+0 16 0+0+0] children: not-inline
+ BlockContainer <td> at [8,8] table-cell [0+0+0 161.78125 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ 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
+ Box <(anonymous)> at [8,24] table-box [0+0+0 161.5 0+0+0] [0+0+0 16 0+0+0] [TFC] children: not-inline
+ Box <tr> at [8,24] table-row [0+0+0 161.5 0+0+0] [0+0+0 16 0+0+0] children: not-inline
+ BlockContainer <td> at [8,24] table-cell [0+0+0 161.5 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ 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
+ Box <(anonymous)> at [8,40] table-box [0+0+0 184.140625 0+0+0] [0+0+0 16 0+0+0] [TFC] children: not-inline
+ Box <div> at [8,40] table-row [0+0+0 184.140625 0+0+0] [0+0+0 16 0+0+0] children: not-inline
+ BlockContainer <div> at [8,40] table-cell [0+0+0 184.140625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ 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/input/table/table-row-group-blockified-as-flex-or-grid-item.html b/Tests/LibWeb/Layout/input/table/table-row-group-blockified-as-flex-or-grid-item.html
new file mode 100644
index 00000000000..a894b871462
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/table/table-row-group-blockified-as-flex-or-grid-item.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<style>
+ table { border-spacing: 0; }
+ td { padding: 0; }
+</style>
+<table style="display: flex"><tbody><tr><td>flex item row group</td></tr></tbody></table>
+<table style="display: grid"><tbody><tr><td>grid item row group</td></tr></tbody></table>
+<div style="display: flex"><div style="display: table-header-group"><div style="display: table-row"><div style="display: table-cell">flex item header group</div></div></div></div>
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-1.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-1.txt
index 05dde341290..e9cc079df44 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-1.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-1.txt
@@ -1573,13 +1573,13 @@ PASS: overflow-y scroll -> clip on table-row-group in run-in | incremental tree
PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | fixture ancestor
PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | distant sibling
PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | distant sibling descendant
-RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | DOM parent
-RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | preceding sibling
-RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | preceding sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | DOM parent
+PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | preceding sibling
+PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | preceding sibling descendant
RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | target
RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | target descendant
-RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | following sibling
-RECREATED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | following sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | following sibling
+PRESERVED: text-transform uppercase -> lowercase on table-row-group in -webkit-box | following sibling descendant
STATS: text-transform uppercase -> lowercase on table-row-group in -webkit-box | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> lowercase on table-row-group in -webkit-box | incremental tree matches full rebuild
PRESERVED: content normal -> open-quote "replacement" close-quote on table-row-group in block flow | fixture ancestor
@@ -1654,16 +1654,16 @@ PRESERVED: overflow-y scroll -> clip on table-header-group in block | following
PRESERVED: overflow-y scroll -> clip on table-header-group in block | following sibling descendant
STATS: overflow-y scroll -> clip on table-header-group in block | no layout tree build
PASS: overflow-y scroll -> clip on table-header-group in block | incremental tree matches full rebuild
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | fixture ancestor
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | distant sibling
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | distant sibling descendant
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | DOM parent
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | preceding sibling
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | preceding sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | fixture ancestor
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | distant sibling
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | distant sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | DOM parent
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | preceding sibling
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | preceding sibling descendant
RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | target
RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | target descendant
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | following sibling
-RECREATED: text-transform uppercase -> lowercase on table-header-group in inline-grid | following sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | following sibling
+PRESERVED: text-transform uppercase -> lowercase on table-header-group in inline-grid | following sibling descendant
STATS: text-transform uppercase -> lowercase on table-header-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> lowercase on table-header-group in inline-grid | incremental tree matches full rebuild
RECREATED: content normal -> open-quote "replacement" close-quote on table-header-group in table-cell | fixture ancestor
@@ -1681,13 +1681,13 @@ PASS: content normal -> open-quote "replacement" close-quote on table-header-gro
PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | fixture ancestor
PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | distant sibling
PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | distant sibling descendant
-RECREATED: content-visibility visible -> auto on table-footer-group in block grid | DOM parent
-RECREATED: content-visibility visible -> auto on table-footer-group in block grid | preceding sibling
-RECREATED: content-visibility visible -> auto on table-footer-group in block grid | preceding sibling descendant
+PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | DOM parent
+PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | preceding sibling
+PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | preceding sibling descendant
RECREATED: content-visibility visible -> auto on table-footer-group in block grid | target
RECREATED: content-visibility visible -> auto on table-footer-group in block grid | target descendant
-RECREATED: content-visibility visible -> auto on table-footer-group in block grid | following sibling
-RECREATED: content-visibility visible -> auto on table-footer-group in block grid | following sibling descendant
+PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | following sibling
+PRESERVED: content-visibility visible -> auto on table-footer-group in block grid | following sibling descendant
STATS: content-visibility visible -> auto on table-footer-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: content-visibility visible -> auto on table-footer-group in block grid | incremental tree matches full rebuild
PRESERVED: overflow-x hidden -> visible on table-footer-group in inline-block | fixture ancestor
@@ -1990,16 +1990,16 @@ ABSENT: overflow-y scroll -> clip on table-column-group in table-column-group |
ABSENT: overflow-y scroll -> clip on table-column-group in table-column-group | following sibling descendant
STATS: overflow-y scroll -> clip on table-column-group in table-column-group | no layout tree build
PASS: overflow-y scroll -> clip on table-column-group in table-column-group | incremental tree matches full rebuild
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | fixture ancestor
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | distant sibling
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | distant sibling descendant
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | DOM parent
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | preceding sibling
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | preceding sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | fixture ancestor
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | distant sibling
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | distant sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | DOM parent
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | preceding sibling
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | preceding sibling descendant
RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | target
RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | target descendant
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | following sibling
-RECREATED: text-transform uppercase -> lowercase on table-column-group in inline grid | following sibling descendant
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | following sibling
+PRESERVED: text-transform uppercase -> lowercase on table-column-group in inline grid | following sibling descendant
STATS: text-transform uppercase -> lowercase on table-column-group in inline grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> lowercase on table-column-group in inline grid | incremental tree matches full rebuild
PRESERVED: content normal -> open-quote "replacement" close-quote on table-column-group in run-in | fixture ancestor
@@ -2098,16 +2098,16 @@ RECREATED: content normal -> open-quote "replacement" close-quote on table-colum
RECREATED: content normal -> open-quote "replacement" close-quote on table-column in block | following sibling descendant
STATS: content normal -> open-quote "replacement" close-quote on table-column in block | rebuilt subtree roots=1, escaped=false
PASS: content normal -> open-quote "replacement" close-quote on table-column in block | incremental tree matches full rebuild
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | fixture ancestor
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | distant sibling
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | distant sibling descendant
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | DOM parent
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | preceding sibling
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | preceding sibling descendant
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | fixture ancestor
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | distant sibling
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | distant sibling descendant
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | DOM parent
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | preceding sibling
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | preceding sibling descendant
RECREATED: content-visibility visible -> auto on table-caption in inline-grid | target
RECREATED: content-visibility visible -> auto on table-caption in inline-grid | target descendant
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | following sibling
-RECREATED: content-visibility visible -> auto on table-caption in inline-grid | following sibling descendant
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | following sibling
+PRESERVED: content-visibility visible -> auto on table-caption in inline-grid | following sibling descendant
STATS: content-visibility visible -> auto on table-caption in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: content-visibility visible -> auto on table-caption in inline-grid | incremental tree matches full rebuild
PRESERVED: overflow-x hidden -> visible on table-caption in table-cell | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-10.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-10.txt
index 66b41cfd3be..0b59e9b7757 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-10.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-10.txt
@@ -1645,13 +1645,13 @@ PASS: overflow-y scroll -> hidden on table-header-group in contents | incrementa
PRESERVED: text-transform uppercase -> none on table-header-group in grid | fixture ancestor
PRESERVED: text-transform uppercase -> none on table-header-group in grid | distant sibling
PRESERVED: text-transform uppercase -> none on table-header-group in grid | distant sibling descendant
-RECREATED: text-transform uppercase -> none on table-header-group in grid | DOM parent
-RECREATED: text-transform uppercase -> none on table-header-group in grid | preceding sibling
-RECREATED: text-transform uppercase -> none on table-header-group in grid | preceding sibling descendant
+PRESERVED: text-transform uppercase -> none on table-header-group in grid | DOM parent
+PRESERVED: text-transform uppercase -> none on table-header-group in grid | preceding sibling
+PRESERVED: text-transform uppercase -> none on table-header-group in grid | preceding sibling descendant
RECREATED: text-transform uppercase -> none on table-header-group in grid | target
RECREATED: text-transform uppercase -> none on table-header-group in grid | target descendant
-RECREATED: text-transform uppercase -> none on table-header-group in grid | following sibling
-RECREATED: text-transform uppercase -> none on table-header-group in grid | following sibling descendant
+PRESERVED: text-transform uppercase -> none on table-header-group in grid | following sibling
+PRESERVED: text-transform uppercase -> none on table-header-group in grid | following sibling descendant
STATS: text-transform uppercase -> none on table-header-group in grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> none on table-header-group in grid | incremental tree matches full rebuild
RECREATED: content normal -> "replacement" on table-header-group in table-row | fixture ancestor
@@ -1666,16 +1666,16 @@ RECREATED: content normal -> "replacement" on table-header-group in table-row |
RECREATED: content normal -> "replacement" on table-header-group in table-row | following sibling descendant
STATS: content normal -> "replacement" on table-header-group in table-row | rebuilt subtree roots=1, escaped=false
PASS: content normal -> "replacement" on table-header-group in table-row | incremental tree matches full rebuild
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | fixture ancestor
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | distant sibling
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | distant sibling descendant
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | DOM parent
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | preceding sibling
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | preceding sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | fixture ancestor
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | distant sibling
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | distant sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | DOM parent
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | preceding sibling
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | preceding sibling descendant
RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | target
RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | target descendant
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | following sibling
-RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | following sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | following sibling
+PRESERVED: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | following sibling descendant
STATS: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: content open-quote "replacement" close-quote -> "replacement" on table-header-group in inline flex | incremental tree matches full rebuild
PRESERVED: overflow-x visible -> auto on table-footer-group in flow-root | fixture ancestor
@@ -1738,16 +1738,16 @@ RECREATED: text-transform uppercase -> none on table-footer-group in list-item |
RECREATED: text-transform uppercase -> none on table-footer-group in list-item | following sibling descendant
STATS: text-transform uppercase -> none on table-footer-group in list-item | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> none on table-footer-group in list-item | incremental tree matches full rebuild
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | fixture ancestor
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | distant sibling
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | distant sibling descendant
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | DOM parent
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | preceding sibling
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | preceding sibling descendant
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | fixture ancestor
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | distant sibling
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | distant sibling descendant
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | DOM parent
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | preceding sibling
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | preceding sibling descendant
RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | target
RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | target descendant
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | following sibling
-RECREATED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | following sibling descendant
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | following sibling
+PRESERVED: content normal -> "replacement" on table-footer-group in -webkit-inline-box | following sibling descendant
STATS: content normal -> "replacement" on table-footer-group in -webkit-inline-box | rebuilt subtree roots=1, escaped=false
PASS: content normal -> "replacement" on table-footer-group in -webkit-inline-box | incremental tree matches full rebuild
RECREATED: content open-quote "replacement" close-quote -> "replacement" on table-footer-group in inline flow | fixture ancestor
@@ -1981,13 +1981,13 @@ PASS: overflow-y scroll -> hidden on table-column-group in table-cell | incremen
PRESERVED: text-transform uppercase -> none on table-column-group in block grid | fixture ancestor
PRESERVED: text-transform uppercase -> none on table-column-group in block grid | distant sibling
PRESERVED: text-transform uppercase -> none on table-column-group in block grid | distant sibling descendant
-RECREATED: text-transform uppercase -> none on table-column-group in block grid | DOM parent
-RECREATED: text-transform uppercase -> none on table-column-group in block grid | preceding sibling
-RECREATED: text-transform uppercase -> none on table-column-group in block grid | preceding sibling descendant
+PRESERVED: text-transform uppercase -> none on table-column-group in block grid | DOM parent
+PRESERVED: text-transform uppercase -> none on table-column-group in block grid | preceding sibling
+PRESERVED: text-transform uppercase -> none on table-column-group in block grid | preceding sibling descendant
RECREATED: text-transform uppercase -> none on table-column-group in block grid | target
RECREATED: text-transform uppercase -> none on table-column-group in block grid | target descendant
-RECREATED: text-transform uppercase -> none on table-column-group in block grid | following sibling
-RECREATED: text-transform uppercase -> none on table-column-group in block grid | following sibling descendant
+PRESERVED: text-transform uppercase -> none on table-column-group in block grid | following sibling
+PRESERVED: text-transform uppercase -> none on table-column-group in block grid | following sibling descendant
STATS: text-transform uppercase -> none on table-column-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> none on table-column-group in block grid | incremental tree matches full rebuild
RECREATED: content normal -> "replacement" on table-column-group in inline-block | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-2.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-2.txt
index 2db8a0850f4..7a621bddc96 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-2.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-2.txt
@@ -1570,16 +1570,16 @@ PRESERVED: overflow-y scroll -> auto on table-row-group in list-item | following
PRESERVED: overflow-y scroll -> auto on table-row-group in list-item | following sibling descendant
STATS: overflow-y scroll -> auto on table-row-group in list-item | no layout tree build
PASS: overflow-y scroll -> auto on table-row-group in list-item | incremental tree matches full rebuild
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | fixture ancestor
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | distant sibling
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | distant sibling descendant
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | DOM parent
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | preceding sibling
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | preceding sibling descendant
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | fixture ancestor
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | distant sibling
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | distant sibling descendant
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | DOM parent
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | preceding sibling
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | preceding sibling descendant
RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | target
RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | target descendant
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | following sibling
-RECREATED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | following sibling descendant
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | following sibling
+PRESERVED: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | following sibling descendant
STATS: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> capitalize on table-row-group in -webkit-inline-box | incremental tree matches full rebuild
RECREATED: content none -> normal on table-row-group in inline flow | fixture ancestor
@@ -1678,16 +1678,16 @@ ABSENT: content none -> normal on table-header-group in table-column-group | fol
ABSENT: content none -> normal on table-header-group in table-column-group | following sibling descendant
STATS: content none -> normal on table-header-group in table-column-group | rebuilt subtree roots=0, escaped=true
PASS: content none -> normal on table-header-group in table-column-group | incremental tree matches full rebuild
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | fixture ancestor
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | distant sibling
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | distant sibling descendant
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | DOM parent
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | preceding sibling
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | preceding sibling descendant
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | fixture ancestor
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | distant sibling
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | distant sibling descendant
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | DOM parent
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | preceding sibling
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | preceding sibling descendant
RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | target
REMOVED: content-visibility visible -> hidden on table-footer-group in inline grid | target descendant
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | following sibling
-RECREATED: content-visibility visible -> hidden on table-footer-group in inline grid | following sibling descendant
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | following sibling
+PRESERVED: content-visibility visible -> hidden on table-footer-group in inline grid | following sibling descendant
STATS: content-visibility visible -> hidden on table-footer-group in inline grid | rebuilt subtree roots=1, escaped=false
PASS: content-visibility visible -> hidden on table-footer-group in inline grid | incremental tree matches full rebuild
PRESERVED: overflow-x hidden -> clip on table-footer-group in run-in | fixture ancestor
@@ -1741,13 +1741,13 @@ PASS: overflow-y scroll -> auto on table-footer-group in block flow list-item |
PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | fixture ancestor
PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | distant sibling
PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | distant sibling descendant
-RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | DOM parent
-RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | preceding sibling
-RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | preceding sibling descendant
+PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | DOM parent
+PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | preceding sibling
+PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | preceding sibling descendant
RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | target
RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | target descendant
-RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | following sibling
-RECREATED: text-transform uppercase -> capitalize on table-footer-group in flex | following sibling descendant
+PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | following sibling
+PRESERVED: text-transform uppercase -> capitalize on table-footer-group in flex | following sibling descendant
STATS: text-transform uppercase -> capitalize on table-footer-group in flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform uppercase -> capitalize on table-footer-group in flex | incremental tree matches full rebuild
RECREATED: content none -> normal on table-footer-group in table-header-group | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-3.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-3.txt
index 6373e802aac..8f511a81b33 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-3.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-3.txt
@@ -1738,16 +1738,16 @@ PRESERVED: overflow-y auto -> visible on table-footer-group in inline flow list-
PRESERVED: overflow-y auto -> visible on table-footer-group in inline flow list-item | following sibling descendant
STATS: overflow-y auto -> visible on table-footer-group in inline flow list-item | no layout tree build
PASS: overflow-y auto -> visible on table-footer-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | fixture ancestor
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | distant sibling
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | distant sibling descendant
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | DOM parent
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | preceding sibling
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | preceding sibling descendant
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | fixture ancestor
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | distant sibling
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | distant sibling descendant
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | DOM parent
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | preceding sibling
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | preceding sibling descendant
RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | target
RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | target descendant
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | following sibling
-RECREATED: text-transform lowercase -> none on table-footer-group in inline-flex | following sibling descendant
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | following sibling
+PRESERVED: text-transform lowercase -> none on table-footer-group in inline-flex | following sibling descendant
STATS: text-transform lowercase -> none on table-footer-group in inline-flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform lowercase -> none on table-footer-group in inline-flex | incremental tree matches full rebuild
RECREATED: content none -> "replacement" on table-footer-group in table-footer-group | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-4.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-4.txt
index 7b5acff65ce..7a10997e2a4 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-4.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-4.txt
@@ -1741,13 +1741,13 @@ PASS: overflow-y auto -> hidden on table-footer-group in contents | incremental
PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | fixture ancestor
PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | distant sibling
PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | distant sibling descendant
-RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | DOM parent
-RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | preceding sibling
-RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | preceding sibling descendant
+PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | DOM parent
+PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | preceding sibling
+PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | preceding sibling descendant
RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | target
RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | target descendant
-RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | following sibling
-RECREATED: text-transform lowercase -> uppercase on table-footer-group in grid | following sibling descendant
+PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | following sibling
+PRESERVED: text-transform lowercase -> uppercase on table-footer-group in grid | following sibling descendant
STATS: text-transform lowercase -> uppercase on table-footer-group in grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform lowercase -> uppercase on table-footer-group in grid | incremental tree matches full rebuild
RECREATED: content none -> open-quote "replacement" close-quote on table-footer-group in table-row | fixture ancestor
@@ -2005,13 +2005,13 @@ PASS: text-transform lowercase -> uppercase on table-column-group in block flow
PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | fixture ancestor
PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | distant sibling
PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | distant sibling descendant
-RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | DOM parent
-RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | preceding sibling
-RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | preceding sibling descendant
+PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | DOM parent
+PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | preceding sibling
+PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | preceding sibling descendant
RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | target
RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | target descendant
-RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | following sibling
-RECREATED: content none -> open-quote "replacement" close-quote on table-column-group in flex | following sibling descendant
+PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | following sibling
+PRESERVED: content none -> open-quote "replacement" close-quote on table-column-group in flex | following sibling descendant
STATS: content none -> open-quote "replacement" close-quote on table-column-group in flex | rebuilt subtree roots=1, escaped=false
PASS: content none -> open-quote "replacement" close-quote on table-column-group in flex | incremental tree matches full rebuild
RECREATED: content-visibility auto -> hidden on table-column in table-header-group | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-5.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-5.txt
index 02049f601a6..2408e66863d 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-5.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-5.txt
@@ -1585,13 +1585,13 @@ PASS: text-transform lowercase -> capitalize on table-row-group in table-footer-
PRESERVED: content "replacement" -> normal on table-row-group in block flex | fixture ancestor
PRESERVED: content "replacement" -> normal on table-row-group in block flex | distant sibling
PRESERVED: content "replacement" -> normal on table-row-group in block flex | distant sibling descendant
-RECREATED: content "replacement" -> normal on table-row-group in block flex | DOM parent
-RECREATED: content "replacement" -> normal on table-row-group in block flex | preceding sibling
-RECREATED: content "replacement" -> normal on table-row-group in block flex | preceding sibling descendant
+PRESERVED: content "replacement" -> normal on table-row-group in block flex | DOM parent
+PRESERVED: content "replacement" -> normal on table-row-group in block flex | preceding sibling
+PRESERVED: content "replacement" -> normal on table-row-group in block flex | preceding sibling descendant
RECREATED: content "replacement" -> normal on table-row-group in block flex | target
RECREATED: content "replacement" -> normal on table-row-group in block flex | target descendant
-RECREATED: content "replacement" -> normal on table-row-group in block flex | following sibling
-RECREATED: content "replacement" -> normal on table-row-group in block flex | following sibling descendant
+PRESERVED: content "replacement" -> normal on table-row-group in block flex | following sibling
+PRESERVED: content "replacement" -> normal on table-row-group in block flex | following sibling descendant
STATS: content "replacement" -> normal on table-row-group in block flex | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> normal on table-row-group in block flex | incremental tree matches full rebuild
RECREATED: content-visibility hidden -> visible on table-header-group in inline | fixture ancestor
@@ -1657,13 +1657,13 @@ PASS: overflow-y auto -> clip on table-header-group in run-in | incremental tree
PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | fixture ancestor
PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | distant sibling
PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | distant sibling descendant
-RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | DOM parent
-RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | preceding sibling
-RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | preceding sibling descendant
+PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | DOM parent
+PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | preceding sibling
+PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | preceding sibling descendant
RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | target
RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | target descendant
-RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | following sibling
-RECREATED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | following sibling descendant
+PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | following sibling
+PRESERVED: text-transform lowercase -> capitalize on table-header-group in -webkit-box | following sibling descendant
STATS: text-transform lowercase -> capitalize on table-header-group in -webkit-box | rebuilt subtree roots=1, escaped=false
PASS: text-transform lowercase -> capitalize on table-header-group in -webkit-box | incremental tree matches full rebuild
PRESERVED: content "replacement" -> normal on table-header-group in block flow | fixture ancestor
@@ -1738,16 +1738,16 @@ PRESERVED: overflow-y auto -> clip on table-footer-group in block | following si
PRESERVED: overflow-y auto -> clip on table-footer-group in block | following sibling descendant
STATS: overflow-y auto -> clip on table-footer-group in block | no layout tree build
PASS: overflow-y auto -> clip on table-footer-group in block | incremental tree matches full rebuild
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | fixture ancestor
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | distant sibling
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | distant sibling descendant
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | DOM parent
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | preceding sibling
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | preceding sibling descendant
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | fixture ancestor
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | distant sibling
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | distant sibling descendant
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | DOM parent
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | preceding sibling
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | preceding sibling descendant
RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | target
RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | target descendant
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | following sibling
-RECREATED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | following sibling descendant
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | following sibling
+PRESERVED: text-transform lowercase -> capitalize on table-footer-group in inline-grid | following sibling descendant
STATS: text-transform lowercase -> capitalize on table-footer-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform lowercase -> capitalize on table-footer-group in inline-grid | incremental tree matches full rebuild
RECREATED: content "replacement" -> normal on table-footer-group in table-cell | fixture ancestor
@@ -2002,16 +2002,16 @@ RECREATED: text-transform lowercase -> capitalize on table-column-group in inlin
RECREATED: text-transform lowercase -> capitalize on table-column-group in inline flow list-item | following sibling descendant
STATS: text-transform lowercase -> capitalize on table-column-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: text-transform lowercase -> capitalize on table-column-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | fixture ancestor
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | distant sibling
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | distant sibling descendant
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | DOM parent
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | preceding sibling
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | preceding sibling descendant
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | fixture ancestor
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | distant sibling
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | distant sibling descendant
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | DOM parent
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | preceding sibling
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | preceding sibling descendant
RECREATED: content "replacement" -> normal on table-column-group in inline-flex | target
RECREATED: content "replacement" -> normal on table-column-group in inline-flex | target descendant
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | following sibling
-RECREATED: content "replacement" -> normal on table-column-group in inline-flex | following sibling descendant
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | following sibling
+PRESERVED: content "replacement" -> normal on table-column-group in inline-flex | following sibling descendant
STATS: content "replacement" -> normal on table-column-group in inline-flex | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> normal on table-column-group in inline-flex | incremental tree matches full rebuild
RECREATED: content-visibility hidden -> visible on table-column in table-footer-group | fixture ancestor
@@ -2101,13 +2101,13 @@ PASS: content "replacement" -> normal on table-column in run-in | incremental tr
PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | fixture ancestor
PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | distant sibling
PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | distant sibling descendant
-RECREATED: content-visibility hidden -> visible on table-caption in -webkit-box | DOM parent
-RECREATED: content-visibility hidden -> visible on table-caption in -webkit-box | preceding sibling
-RECREATED: content-visibility hidden -> visible on table-caption in -webkit-box | preceding sibling descendant
+PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | DOM parent
+PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | preceding sibling
+PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | preceding sibling descendant
RECREATED: content-visibility hidden -> visible on table-caption in -webkit-box | target
CREATED: content-visibility hidden -> visible on table-caption in -webkit-box | target descendant
-RECREATED: content-visibility hidden -> visible on table-caption in -webkit-box | following sibling
-RECREATED: content-visibility hidden -> visible on table-caption in -webkit-box | following sibling descendant
+PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | following sibling
+PRESERVED: content-visibility hidden -> visible on table-caption in -webkit-box | following sibling descendant
STATS: content-visibility hidden -> visible on table-caption in -webkit-box | rebuilt subtree roots=1, escaped=false
PASS: content-visibility hidden -> visible on table-caption in -webkit-box | incremental tree matches full rebuild
PRESERVED: overflow-x clip -> visible on table-caption in block flow | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-6.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-6.txt
index 0e8cabd3c69..7cac72e01a3 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-6.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-6.txt
@@ -1582,16 +1582,16 @@ RECREATED: text-transform capitalize -> none on table-row-group in table-row | f
RECREATED: text-transform capitalize -> none on table-row-group in table-row | following sibling descendant
STATS: text-transform capitalize -> none on table-row-group in table-row | rebuilt subtree roots=1, escaped=false
PASS: text-transform capitalize -> none on table-row-group in table-row | incremental tree matches full rebuild
-RECREATED: content "replacement" -> none on table-row-group in inline flex | fixture ancestor
-RECREATED: content "replacement" -> none on table-row-group in inline flex | distant sibling
-RECREATED: content "replacement" -> none on table-row-group in inline flex | distant sibling descendant
-RECREATED: content "replacement" -> none on table-row-group in inline flex | DOM parent
-RECREATED: content "replacement" -> none on table-row-group in inline flex | preceding sibling
-RECREATED: content "replacement" -> none on table-row-group in inline flex | preceding sibling descendant
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | fixture ancestor
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | distant sibling
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | distant sibling descendant
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | DOM parent
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | preceding sibling
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | preceding sibling descendant
RECREATED: content "replacement" -> none on table-row-group in inline flex | target
RECREATED: content "replacement" -> none on table-row-group in inline flex | target descendant
-RECREATED: content "replacement" -> none on table-row-group in inline flex | following sibling
-RECREATED: content "replacement" -> none on table-row-group in inline flex | following sibling descendant
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | following sibling
+PRESERVED: content "replacement" -> none on table-row-group in inline flex | following sibling descendant
STATS: content "replacement" -> none on table-row-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> none on table-row-group in inline flex | incremental tree matches full rebuild
PRESERVED: content-visibility hidden -> auto on table-header-group in flow-root | fixture ancestor
@@ -1654,16 +1654,16 @@ PRESERVED: overflow-y auto -> scroll on table-header-group in list-item | follow
PRESERVED: overflow-y auto -> scroll on table-header-group in list-item | following sibling descendant
STATS: overflow-y auto -> scroll on table-header-group in list-item | no layout tree build
PASS: overflow-y auto -> scroll on table-header-group in list-item | incremental tree matches full rebuild
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | fixture ancestor
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | distant sibling
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | distant sibling descendant
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | DOM parent
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | preceding sibling
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | preceding sibling descendant
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | fixture ancestor
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | distant sibling
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | distant sibling descendant
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | DOM parent
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | preceding sibling
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | preceding sibling descendant
RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | target
RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | target descendant
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | following sibling
-RECREATED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | following sibling descendant
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | following sibling
+PRESERVED: text-transform capitalize -> none on table-header-group in -webkit-inline-box | following sibling descendant
STATS: text-transform capitalize -> none on table-header-group in -webkit-inline-box | rebuilt subtree roots=1, escaped=false
PASS: text-transform capitalize -> none on table-header-group in -webkit-inline-box | incremental tree matches full rebuild
RECREATED: content "replacement" -> none on table-header-group in inline flow | fixture ancestor
@@ -2005,13 +2005,13 @@ PASS: text-transform capitalize -> none on table-column-group in contents | incr
PRESERVED: content "replacement" -> none on table-column-group in grid | fixture ancestor
PRESERVED: content "replacement" -> none on table-column-group in grid | distant sibling
PRESERVED: content "replacement" -> none on table-column-group in grid | distant sibling descendant
-RECREATED: content "replacement" -> none on table-column-group in grid | DOM parent
-RECREATED: content "replacement" -> none on table-column-group in grid | preceding sibling
-RECREATED: content "replacement" -> none on table-column-group in grid | preceding sibling descendant
+PRESERVED: content "replacement" -> none on table-column-group in grid | DOM parent
+PRESERVED: content "replacement" -> none on table-column-group in grid | preceding sibling
+PRESERVED: content "replacement" -> none on table-column-group in grid | preceding sibling descendant
RECREATED: content "replacement" -> none on table-column-group in grid | target
RECREATED: content "replacement" -> none on table-column-group in grid | target descendant
-RECREATED: content "replacement" -> none on table-column-group in grid | following sibling
-RECREATED: content "replacement" -> none on table-column-group in grid | following sibling descendant
+PRESERVED: content "replacement" -> none on table-column-group in grid | following sibling
+PRESERVED: content "replacement" -> none on table-column-group in grid | following sibling descendant
STATS: content "replacement" -> none on table-column-group in grid | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> none on table-column-group in grid | incremental tree matches full rebuild
RECREATED: content-visibility hidden -> auto on table-column in table-row | fixture ancestor
@@ -2098,16 +2098,16 @@ RECREATED: content "replacement" -> none on table-column in list-item | followin
RECREATED: content "replacement" -> none on table-column in list-item | following sibling descendant
STATS: content "replacement" -> none on table-column in list-item | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> none on table-column in list-item | incremental tree matches full rebuild
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | fixture ancestor
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | distant sibling
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | distant sibling descendant
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | DOM parent
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | preceding sibling
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | preceding sibling descendant
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | fixture ancestor
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | distant sibling
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | distant sibling descendant
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | DOM parent
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | preceding sibling
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | preceding sibling descendant
RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | target
CREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | target descendant
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | following sibling
-RECREATED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | following sibling descendant
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | following sibling
+PRESERVED: content-visibility hidden -> auto on table-caption in -webkit-inline-box | following sibling descendant
STATS: content-visibility hidden -> auto on table-caption in -webkit-inline-box | rebuilt subtree roots=1, escaped=false
PASS: content-visibility hidden -> auto on table-caption in -webkit-inline-box | incremental tree matches full rebuild
PRESERVED: overflow-x clip -> hidden on table-caption in inline flow | fixture ancestor
@@ -2161,13 +2161,13 @@ PASS: overflow-y auto -> scroll on table-caption in table-footer-group | increme
PRESERVED: text-transform capitalize -> none on table-caption in block flex | fixture ancestor
PRESERVED: text-transform capitalize -> none on table-caption in block flex | distant sibling
PRESERVED: text-transform capitalize -> none on table-caption in block flex | distant sibling descendant
-RECREATED: text-transform capitalize -> none on table-caption in block flex | DOM parent
-RECREATED: text-transform capitalize -> none on table-caption in block flex | preceding sibling
-RECREATED: text-transform capitalize -> none on table-caption in block flex | preceding sibling descendant
+PRESERVED: text-transform capitalize -> none on table-caption in block flex | DOM parent
+PRESERVED: text-transform capitalize -> none on table-caption in block flex | preceding sibling
+PRESERVED: text-transform capitalize -> none on table-caption in block flex | preceding sibling descendant
RECREATED: text-transform capitalize -> none on table-caption in block flex | target
RECREATED: text-transform capitalize -> none on table-caption in block flex | target descendant
-RECREATED: text-transform capitalize -> none on table-caption in block flex | following sibling
-RECREATED: text-transform capitalize -> none on table-caption in block flex | following sibling descendant
+PRESERVED: text-transform capitalize -> none on table-caption in block flex | following sibling
+PRESERVED: text-transform capitalize -> none on table-caption in block flex | following sibling descendant
STATS: text-transform capitalize -> none on table-caption in block flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform capitalize -> none on table-caption in block flex | incremental tree matches full rebuild
RECREATED: content "replacement" -> none on table-caption in inline | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-7.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-7.txt
index 4aeb2cadd94..4400f6235d4 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-7.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-7.txt
@@ -1558,16 +1558,16 @@ PRESERVED: overflow-y clip -> scroll on table-row-group in block | following sib
PRESERVED: overflow-y clip -> scroll on table-row-group in block | following sibling descendant
STATS: overflow-y clip -> scroll on table-row-group in block | no layout tree build
PASS: overflow-y clip -> scroll on table-row-group in block | incremental tree matches full rebuild
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | fixture ancestor
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | distant sibling
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | distant sibling descendant
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | DOM parent
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | preceding sibling
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | preceding sibling descendant
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | fixture ancestor
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | distant sibling
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | distant sibling descendant
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | DOM parent
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | preceding sibling
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | preceding sibling descendant
RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | target
RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | target descendant
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | following sibling
-RECREATED: text-transform none -> uppercase on table-row-group in inline-grid | following sibling descendant
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | following sibling
+PRESERVED: text-transform none -> uppercase on table-row-group in inline-grid | following sibling descendant
STATS: text-transform none -> uppercase on table-row-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform none -> uppercase on table-row-group in inline-grid | incremental tree matches full rebuild
RECREATED: text-transform capitalize -> uppercase on table-row-group in table-cell | fixture ancestor
@@ -1585,13 +1585,13 @@ PASS: text-transform capitalize -> uppercase on table-row-group in table-cell |
PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | fixture ancestor
PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | distant sibling
PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | distant sibling descendant
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | DOM parent
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | preceding sibling
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | preceding sibling descendant
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | DOM parent
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | preceding sibling
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | preceding sibling descendant
RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | target
RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | target descendant
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | following sibling
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | following sibling descendant
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | following sibling
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | following sibling descendant
STATS: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> open-quote "replacement" close-quote on table-row-group in block grid | incremental tree matches full rebuild
PRESERVED: overflow-x visible -> hidden on table-header-group in inline-block | fixture ancestor
@@ -2002,16 +2002,16 @@ RECREATED: text-transform capitalize -> uppercase on table-column-group in block
RECREATED: text-transform capitalize -> uppercase on table-column-group in block | following sibling descendant
STATS: text-transform capitalize -> uppercase on table-column-group in block | rebuilt subtree roots=1, escaped=false
PASS: text-transform capitalize -> uppercase on table-column-group in block | incremental tree matches full rebuild
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | fixture ancestor
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | distant sibling
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | distant sibling descendant
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | DOM parent
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | preceding sibling
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | preceding sibling descendant
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | fixture ancestor
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | distant sibling
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | distant sibling descendant
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | DOM parent
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | preceding sibling
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | preceding sibling descendant
RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | target
RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | target descendant
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | following sibling
-RECREATED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | following sibling descendant
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | following sibling
+PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | following sibling descendant
STATS: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: content "replacement" -> open-quote "replacement" close-quote on table-column-group in inline-grid | incremental tree matches full rebuild
PRESERVED: overflow-x visible -> hidden on table-column in table-cell | fixture ancestor
@@ -2158,16 +2158,16 @@ RECREATED: text-transform none -> uppercase on table-caption in table-row | foll
RECREATED: text-transform none -> uppercase on table-caption in table-row | following sibling descendant
STATS: text-transform none -> uppercase on table-caption in table-row | rebuilt subtree roots=1, escaped=false
PASS: text-transform none -> uppercase on table-caption in table-row | incremental tree matches full rebuild
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | fixture ancestor
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | distant sibling
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | distant sibling descendant
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | DOM parent
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | preceding sibling
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | preceding sibling descendant
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | fixture ancestor
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | distant sibling
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | distant sibling descendant
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | DOM parent
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | preceding sibling
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | preceding sibling descendant
RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | target
RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | target descendant
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | following sibling
-RECREATED: text-transform capitalize -> uppercase on table-caption in inline flex | following sibling descendant
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | following sibling
+PRESERVED: text-transform capitalize -> uppercase on table-caption in inline flex | following sibling descendant
STATS: text-transform capitalize -> uppercase on table-caption in inline flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform capitalize -> uppercase on table-caption in inline flex | incremental tree matches full rebuild
PRESERVED: content "replacement" -> open-quote "replacement" close-quote on table-caption in flow-root | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-8.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-8.txt
index 45390049a8f..88a1fd018f8 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-8.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-8.txt
@@ -1582,16 +1582,16 @@ ABSENT: text-transform capitalize -> lowercase on table-row-group in table-colum
ABSENT: text-transform capitalize -> lowercase on table-row-group in table-column-group | following sibling descendant
STATS: text-transform capitalize -> lowercase on table-row-group in table-column-group | rebuilt subtree roots=0, escaped=true
PASS: text-transform capitalize -> lowercase on table-row-group in table-column-group | incremental tree matches full rebuild
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | fixture ancestor
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | distant sibling
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | distant sibling descendant
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | DOM parent
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | preceding sibling
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | preceding sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | fixture ancestor
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | distant sibling
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | distant sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | DOM parent
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | preceding sibling
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | preceding sibling descendant
RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | target
RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | target descendant
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | following sibling
-RECREATED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | following sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | following sibling
+PRESERVED: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | following sibling descendant
STATS: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | rebuilt subtree roots=1, escaped=false
PASS: content open-quote "replacement" close-quote -> normal on table-row-group in inline grid | incremental tree matches full rebuild
PRESERVED: overflow-x visible -> clip on table-header-group in run-in | fixture ancestor
@@ -1645,13 +1645,13 @@ PASS: overflow-y clip -> auto on table-header-group in block flow list-item | in
PRESERVED: text-transform none -> lowercase on table-header-group in flex | fixture ancestor
PRESERVED: text-transform none -> lowercase on table-header-group in flex | distant sibling
PRESERVED: text-transform none -> lowercase on table-header-group in flex | distant sibling descendant
-RECREATED: text-transform none -> lowercase on table-header-group in flex | DOM parent
-RECREATED: text-transform none -> lowercase on table-header-group in flex | preceding sibling
-RECREATED: text-transform none -> lowercase on table-header-group in flex | preceding sibling descendant
+PRESERVED: text-transform none -> lowercase on table-header-group in flex | DOM parent
+PRESERVED: text-transform none -> lowercase on table-header-group in flex | preceding sibling
+PRESERVED: text-transform none -> lowercase on table-header-group in flex | preceding sibling descendant
RECREATED: text-transform none -> lowercase on table-header-group in flex | target
RECREATED: text-transform none -> lowercase on table-header-group in flex | target descendant
-RECREATED: text-transform none -> lowercase on table-header-group in flex | following sibling
-RECREATED: text-transform none -> lowercase on table-header-group in flex | following sibling descendant
+PRESERVED: text-transform none -> lowercase on table-header-group in flex | following sibling
+PRESERVED: text-transform none -> lowercase on table-header-group in flex | following sibling descendant
STATS: text-transform none -> lowercase on table-header-group in flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform none -> lowercase on table-header-group in flex | incremental tree matches full rebuild
RECREATED: text-transform capitalize -> lowercase on table-header-group in table-header-group | fixture ancestor
@@ -1981,13 +1981,13 @@ PASS: overflow-y clip -> auto on table-column-group in table-footer-group | incr
PRESERVED: text-transform none -> lowercase on table-column-group in block flex | fixture ancestor
PRESERVED: text-transform none -> lowercase on table-column-group in block flex | distant sibling
PRESERVED: text-transform none -> lowercase on table-column-group in block flex | distant sibling descendant
-RECREATED: text-transform none -> lowercase on table-column-group in block flex | DOM parent
-RECREATED: text-transform none -> lowercase on table-column-group in block flex | preceding sibling
-RECREATED: text-transform none -> lowercase on table-column-group in block flex | preceding sibling descendant
+PRESERVED: text-transform none -> lowercase on table-column-group in block flex | DOM parent
+PRESERVED: text-transform none -> lowercase on table-column-group in block flex | preceding sibling
+PRESERVED: text-transform none -> lowercase on table-column-group in block flex | preceding sibling descendant
RECREATED: text-transform none -> lowercase on table-column-group in block flex | target
RECREATED: text-transform none -> lowercase on table-column-group in block flex | target descendant
-RECREATED: text-transform none -> lowercase on table-column-group in block flex | following sibling
-RECREATED: text-transform none -> lowercase on table-column-group in block flex | following sibling descendant
+PRESERVED: text-transform none -> lowercase on table-column-group in block flex | following sibling
+PRESERVED: text-transform none -> lowercase on table-column-group in block flex | following sibling descendant
STATS: text-transform none -> lowercase on table-column-group in block flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform none -> lowercase on table-column-group in block flex | incremental tree matches full rebuild
RECREATED: text-transform capitalize -> lowercase on table-column-group in inline | fixture ancestor
@@ -2161,13 +2161,13 @@ PASS: text-transform none -> lowercase on table-caption in table-cell | incremen
PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | fixture ancestor
PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | distant sibling
PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | distant sibling descendant
-RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | DOM parent
-RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | preceding sibling
-RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | preceding sibling descendant
+PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | DOM parent
+PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | preceding sibling
+PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | preceding sibling descendant
RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | target
RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | target descendant
-RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | following sibling
-RECREATED: text-transform capitalize -> lowercase on table-caption in block grid | following sibling descendant
+PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | following sibling
+PRESERVED: text-transform capitalize -> lowercase on table-caption in block grid | following sibling descendant
STATS: text-transform capitalize -> lowercase on table-caption in block grid | rebuilt subtree roots=1, escaped=false
PASS: text-transform capitalize -> lowercase on table-caption in block grid | incremental tree matches full rebuild
RECREATED: content open-quote "replacement" close-quote -> normal on table-caption in inline-block | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-9.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-9.txt
index e65adc654c3..0afacbf437a 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-9.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-other-9.txt
@@ -1642,16 +1642,16 @@ PRESERVED: overflow-y scroll -> visible on table-header-group in inline flow lis
PRESERVED: overflow-y scroll -> visible on table-header-group in inline flow list-item | following sibling descendant
STATS: overflow-y scroll -> visible on table-header-group in inline flow list-item | no layout tree build
PASS: overflow-y scroll -> visible on table-header-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | fixture ancestor
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | distant sibling
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | distant sibling descendant
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | DOM parent
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | preceding sibling
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | preceding sibling descendant
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | fixture ancestor
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | distant sibling
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | distant sibling descendant
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | DOM parent
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | preceding sibling
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | preceding sibling descendant
RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | target
RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | target descendant
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | following sibling
-RECREATED: text-transform none -> capitalize on table-header-group in inline-flex | following sibling descendant
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | following sibling
+PRESERVED: text-transform none -> capitalize on table-header-group in inline-flex | following sibling descendant
STATS: text-transform none -> capitalize on table-header-group in inline-flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform none -> capitalize on table-header-group in inline-flex | incremental tree matches full rebuild
RECREATED: content normal -> none on table-header-group in table-footer-group | fixture ancestor
@@ -1669,13 +1669,13 @@ PASS: content normal -> none on table-header-group in table-footer-group | incre
PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | fixture ancestor
PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | distant sibling
PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | distant sibling descendant
-RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | DOM parent
-RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | preceding sibling
-RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | preceding sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | DOM parent
+PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | preceding sibling
+PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | preceding sibling descendant
RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | target
RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | target descendant
-RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | following sibling
-RECREATED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | following sibling descendant
+PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | following sibling
+PRESERVED: content open-quote "replacement" close-quote -> none on table-header-group in block flex | following sibling descendant
STATS: content open-quote "replacement" close-quote -> none on table-header-group in block flex | rebuilt subtree roots=1, escaped=false
PASS: content open-quote "replacement" close-quote -> none on table-header-group in block flex | incremental tree matches full rebuild
PRESERVED: overflow-x visible -> scroll on table-footer-group in inline | fixture ancestor
@@ -1741,13 +1741,13 @@ PASS: text-transform none -> capitalize on table-footer-group in run-in | increm
PRESERVED: content normal -> none on table-footer-group in -webkit-box | fixture ancestor
PRESERVED: content normal -> none on table-footer-group in -webkit-box | distant sibling
PRESERVED: content normal -> none on table-footer-group in -webkit-box | distant sibling descendant
-RECREATED: content normal -> none on table-footer-group in -webkit-box | DOM parent
-RECREATED: content normal -> none on table-footer-group in -webkit-box | preceding sibling
-RECREATED: content normal -> none on table-footer-group in -webkit-box | preceding sibling descendant
+PRESERVED: content normal -> none on table-footer-group in -webkit-box | DOM parent
+PRESERVED: content normal -> none on table-footer-group in -webkit-box | preceding sibling
+PRESERVED: content normal -> none on table-footer-group in -webkit-box | preceding sibling descendant
RECREATED: content normal -> none on table-footer-group in -webkit-box | target
RECREATED: content normal -> none on table-footer-group in -webkit-box | target descendant
-RECREATED: content normal -> none on table-footer-group in -webkit-box | following sibling
-RECREATED: content normal -> none on table-footer-group in -webkit-box | following sibling descendant
+PRESERVED: content normal -> none on table-footer-group in -webkit-box | following sibling
+PRESERVED: content normal -> none on table-footer-group in -webkit-box | following sibling descendant
STATS: content normal -> none on table-footer-group in -webkit-box | rebuilt subtree roots=1, escaped=false
PASS: content normal -> none on table-footer-group in -webkit-box | incremental tree matches full rebuild
PRESERVED: content open-quote "replacement" close-quote -> none on table-footer-group in block flow | fixture ancestor
@@ -1978,16 +1978,16 @@ PRESERVED: overflow-y scroll -> visible on table-column-group in table-row | fol
PRESERVED: overflow-y scroll -> visible on table-column-group in table-row | following sibling descendant
STATS: overflow-y scroll -> visible on table-column-group in table-row | no layout tree build
PASS: overflow-y scroll -> visible on table-column-group in table-row | incremental tree matches full rebuild
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | fixture ancestor
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | distant sibling
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | distant sibling descendant
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | DOM parent
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | preceding sibling
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | preceding sibling descendant
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | fixture ancestor
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | distant sibling
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | distant sibling descendant
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | DOM parent
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | preceding sibling
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | preceding sibling descendant
RECREATED: text-transform none -> capitalize on table-column-group in inline flex | target
RECREATED: text-transform none -> capitalize on table-column-group in inline flex | target descendant
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | following sibling
-RECREATED: text-transform none -> capitalize on table-column-group in inline flex | following sibling descendant
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | following sibling
+PRESERVED: text-transform none -> capitalize on table-column-group in inline flex | following sibling descendant
STATS: text-transform none -> capitalize on table-column-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: text-transform none -> capitalize on table-column-group in inline flex | incremental tree matches full rebuild
PRESERVED: content normal -> none on table-column-group in flow-root | fixture ancestor
@@ -2158,16 +2158,16 @@ ABSENT: text-transform none -> capitalize on table-caption in table-column-group
ABSENT: text-transform none -> capitalize on table-caption in table-column-group | following sibling descendant
STATS: text-transform none -> capitalize on table-caption in table-column-group | rebuilt subtree roots=0, escaped=true
PASS: text-transform none -> capitalize on table-caption in table-column-group | incremental tree matches full rebuild
-RECREATED: content normal -> none on table-caption in inline grid | fixture ancestor
-RECREATED: content normal -> none on table-caption in inline grid | distant sibling
-RECREATED: content normal -> none on table-caption in inline grid | distant sibling descendant
-RECREATED: content normal -> none on table-caption in inline grid | DOM parent
-RECREATED: content normal -> none on table-caption in inline grid | preceding sibling
-RECREATED: content normal -> none on table-caption in inline grid | preceding sibling descendant
+PRESERVED: content normal -> none on table-caption in inline grid | fixture ancestor
+PRESERVED: content normal -> none on table-caption in inline grid | distant sibling
+PRESERVED: content normal -> none on table-caption in inline grid | distant sibling descendant
+PRESERVED: content normal -> none on table-caption in inline grid | DOM parent
+PRESERVED: content normal -> none on table-caption in inline grid | preceding sibling
+PRESERVED: content normal -> none on table-caption in inline grid | preceding sibling descendant
RECREATED: content normal -> none on table-caption in inline grid | target
RECREATED: content normal -> none on table-caption in inline grid | target descendant
-RECREATED: content normal -> none on table-caption in inline grid | following sibling
-RECREATED: content normal -> none on table-caption in inline grid | following sibling descendant
+PRESERVED: content normal -> none on table-caption in inline grid | following sibling
+PRESERVED: content normal -> none on table-caption in inline grid | following sibling descendant
STATS: content normal -> none on table-caption in inline grid | rebuilt subtree roots=1, escaped=false
PASS: content normal -> none on table-caption in inline grid | incremental tree matches full rebuild
PRESERVED: content open-quote "replacement" close-quote -> none on table-caption in run-in | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-5.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-5.txt
index 9a31946478f..ff309778af9 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-5.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-5.txt
@@ -2101,13 +2101,13 @@ PASS: static none -> absolute left on table-column in inline | incremental tree
PRESERVED: position relative -> static on table-caption in block flex | fixture ancestor
PRESERVED: position relative -> static on table-caption in block flex | distant sibling
PRESERVED: position relative -> static on table-caption in block flex | distant sibling descendant
-RECREATED: position relative -> static on table-caption in block flex | DOM parent
-RECREATED: position relative -> static on table-caption in block flex | preceding sibling
-RECREATED: position relative -> static on table-caption in block flex | preceding sibling descendant
+PRESERVED: position relative -> static on table-caption in block flex | DOM parent
+PRESERVED: position relative -> static on table-caption in block flex | preceding sibling
+PRESERVED: position relative -> static on table-caption in block flex | preceding sibling descendant
RECREATED: position relative -> static on table-caption in block flex | target
RECREATED: position relative -> static on table-caption in block flex | target descendant
-RECREATED: position relative -> static on table-caption in block flex | following sibling
-RECREATED: position relative -> static on table-caption in block flex | following sibling descendant
+PRESERVED: position relative -> static on table-caption in block flex | following sibling
+PRESERVED: position relative -> static on table-caption in block flex | following sibling descendant
STATS: position relative -> static on table-caption in block flex | rebuilt subtree roots=1, escaped=false
PASS: position relative -> static on table-caption in block flex | incremental tree matches full rebuild
RECREATED: position fixed -> static on table-caption in contents | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-8.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-8.txt
index 18c2197be59..7febee621f0 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-8.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-position-float-8.txt
@@ -1930,16 +1930,16 @@ RECREATED: fixed none -> sticky right on table-cell in flow-root | following sib
RECREATED: fixed none -> sticky right on table-cell in flow-root | following sibling descendant
STATS: fixed none -> sticky right on table-cell in flow-root | rebuilt subtree roots=1, escaped=false
PASS: fixed none -> sticky right on table-cell in flow-root | incremental tree matches full rebuild
-RECREATED: position relative -> sticky on table-column-group in inline flex | fixture ancestor
-RECREATED: position relative -> sticky on table-column-group in inline flex | distant sibling
-RECREATED: position relative -> sticky on table-column-group in inline flex | distant sibling descendant
-RECREATED: position relative -> sticky on table-column-group in inline flex | DOM parent
-RECREATED: position relative -> sticky on table-column-group in inline flex | preceding sibling
-RECREATED: position relative -> sticky on table-column-group in inline flex | preceding sibling descendant
+PRESERVED: position relative -> sticky on table-column-group in inline flex | fixture ancestor
+PRESERVED: position relative -> sticky on table-column-group in inline flex | distant sibling
+PRESERVED: position relative -> sticky on table-column-group in inline flex | distant sibling descendant
+PRESERVED: position relative -> sticky on table-column-group in inline flex | DOM parent
+PRESERVED: position relative -> sticky on table-column-group in inline flex | preceding sibling
+PRESERVED: position relative -> sticky on table-column-group in inline flex | preceding sibling descendant
RECREATED: position relative -> sticky on table-column-group in inline flex | target
RECREATED: position relative -> sticky on table-column-group in inline flex | target descendant
-RECREATED: position relative -> sticky on table-column-group in inline flex | following sibling
-RECREATED: position relative -> sticky on table-column-group in inline flex | following sibling descendant
+PRESERVED: position relative -> sticky on table-column-group in inline flex | following sibling
+PRESERVED: position relative -> sticky on table-column-group in inline flex | following sibling descendant
STATS: position relative -> sticky on table-column-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: position relative -> sticky on table-column-group in inline flex | incremental tree matches full rebuild
PRESERVED: position fixed -> sticky on table-column-group in block | fixture ancestor
@@ -2098,16 +2098,16 @@ RECREATED: fixed none -> sticky right on table-column in run-in | following sibl
RECREATED: fixed none -> sticky right on table-column in run-in | following sibling descendant
STATS: fixed none -> sticky right on table-column in run-in | rebuilt subtree roots=1, escaped=false
PASS: fixed none -> sticky right on table-column in run-in | incremental tree matches full rebuild
-RECREATED: position relative -> sticky on table-caption in inline grid | fixture ancestor
-RECREATED: position relative -> sticky on table-caption in inline grid | distant sibling
-RECREATED: position relative -> sticky on table-caption in inline grid | distant sibling descendant
-RECREATED: position relative -> sticky on table-caption in inline grid | DOM parent
-RECREATED: position relative -> sticky on table-caption in inline grid | preceding sibling
-RECREATED: position relative -> sticky on table-caption in inline grid | preceding sibling descendant
+PRESERVED: position relative -> sticky on table-caption in inline grid | fixture ancestor
+PRESERVED: position relative -> sticky on table-caption in inline grid | distant sibling
+PRESERVED: position relative -> sticky on table-caption in inline grid | distant sibling descendant
+PRESERVED: position relative -> sticky on table-caption in inline grid | DOM parent
+PRESERVED: position relative -> sticky on table-caption in inline grid | preceding sibling
+PRESERVED: position relative -> sticky on table-caption in inline grid | preceding sibling descendant
RECREATED: position relative -> sticky on table-caption in inline grid | target
RECREATED: position relative -> sticky on table-caption in inline grid | target descendant
-RECREATED: position relative -> sticky on table-caption in inline grid | following sibling
-RECREATED: position relative -> sticky on table-caption in inline grid | following sibling descendant
+PRESERVED: position relative -> sticky on table-caption in inline grid | following sibling
+PRESERVED: position relative -> sticky on table-caption in inline grid | following sibling descendant
STATS: position relative -> sticky on table-caption in inline grid | rebuilt subtree roots=1, escaped=false
PASS: position relative -> sticky on table-caption in inline grid | incremental tree matches full rebuild
PRESERVED: position fixed -> sticky on table-caption in flow-root | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-1.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-1.txt
index 67ebbce4e26..141a28d18cd 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-1.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-1.txt
@@ -1378,17 +1378,17 @@ RECREATED: ::before create none on table-row-group in table-header-group | follo
RECREATED: ::before create none on table-row-group in table-header-group | following sibling descendant
STATS: ::before create none on table-row-group in table-header-group | rebuilt subtree roots=1, escaped=false
PASS: ::before create none on table-row-group in table-header-group | incremental tree matches full rebuild
-RECREATED: ::before create inline-grid on table-row-group in inline flex | fixture ancestor
-RECREATED: ::before create inline-grid on table-row-group in inline flex | distant sibling
-RECREATED: ::before create inline-grid on table-row-group in inline flex | distant sibling descendant
-RECREATED: ::before create inline-grid on table-row-group in inline flex | DOM parent
-RECREATED: ::before create inline-grid on table-row-group in inline flex | preceding sibling
-RECREATED: ::before create inline-grid on table-row-group in inline flex | preceding sibling descendant
-RECREATED: ::before create inline-grid on table-row-group in inline flex | target
-RECREATED: ::before create inline-grid on table-row-group in inline flex | target descendant
-RECREATED: ::before create inline-grid on table-row-group in inline flex | following sibling
-RECREATED: ::before create inline-grid on table-row-group in inline flex | following sibling descendant
-STATS: ::before create inline-grid on table-row-group in inline flex | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | fixture ancestor
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | distant sibling
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | distant sibling descendant
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | DOM parent
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | preceding sibling
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | preceding sibling descendant
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | target
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | target descendant
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | following sibling
+PRESERVED: ::before create inline-grid on table-row-group in inline flex | following sibling descendant
+STATS: ::before create inline-grid on table-row-group in inline flex | rebuilt subtree roots=0, escaped=false
PASS: ::before create inline-grid on table-row-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::before create table-column on table-row-group in run-in | fixture ancestor
PRESERVED: ::before create table-column on table-row-group in run-in | distant sibling
@@ -1546,16 +1546,16 @@ RECREATED: ::before create -webkit-box on table-footer-group in inline flow list
RECREATED: ::before create -webkit-box on table-footer-group in inline flow list-item | following sibling descendant
STATS: ::before create -webkit-box on table-footer-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::before create -webkit-box on table-footer-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | fixture ancestor
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | distant sibling
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | distant sibling descendant
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | DOM parent
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | preceding sibling
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | preceding sibling descendant
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | fixture ancestor
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | distant sibling
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | distant sibling descendant
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | DOM parent
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | preceding sibling
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | preceding sibling descendant
RECREATED: ::before create block flow-root on table-footer-group in inline-grid | target
RECREATED: ::before create block flow-root on table-footer-group in inline-grid | target descendant
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | following sibling
-RECREATED: ::before create block flow-root on table-footer-group in inline-grid | following sibling descendant
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | following sibling
+PRESERVED: ::before create block flow-root on table-footer-group in inline-grid | following sibling descendant
STATS: ::before create block flow-root on table-footer-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::before create block flow-root on table-footer-group in inline-grid | incremental tree matches full rebuild
RECREATED: ::after change position block on table-footer-group in table-column | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-10.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-10.txt
index 9e89d608afb..0e1f1289bc4 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-10.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-10.txt
@@ -1462,17 +1462,17 @@ RECREATED: ::before create -webkit-inline-box on table-header-group in inline fl
RECREATED: ::before create -webkit-inline-box on table-header-group in inline flow list-item | following sibling descendant
STATS: ::before create -webkit-inline-box on table-header-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::before create -webkit-inline-box on table-header-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | fixture ancestor
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | distant sibling
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | distant sibling descendant
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | DOM parent
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | preceding sibling
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | preceding sibling descendant
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | target
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | target descendant
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | following sibling
-RECREATED: ::before create inline flow-root on table-header-group in inline-grid | following sibling descendant
-STATS: ::before create inline flow-root on table-header-group in inline-grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | fixture ancestor
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | distant sibling
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | distant sibling descendant
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | DOM parent
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | preceding sibling
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | preceding sibling descendant
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | target
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | target descendant
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | following sibling
+PRESERVED: ::before create inline flow-root on table-header-group in inline-grid | following sibling descendant
+STATS: ::before create inline flow-root on table-header-group in inline-grid | rebuilt subtree roots=0, escaped=false
PASS: ::before create inline flow-root on table-header-group in inline-grid | incremental tree matches full rebuild
RECREATED: ::after change position inline on table-header-group in table-column | fixture ancestor
RECREATED: ::after change position inline on table-header-group in table-column | distant sibling
@@ -1762,16 +1762,16 @@ RECREATED: ::before create table on table-column-group in inline flow list-item
RECREATED: ::before create table on table-column-group in inline flow list-item | following sibling descendant
STATS: ::before create table on table-column-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::before create table on table-column-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::before create table-caption on table-column-group in inline-grid | fixture ancestor
-RECREATED: ::before create table-caption on table-column-group in inline-grid | distant sibling
-RECREATED: ::before create table-caption on table-column-group in inline-grid | distant sibling descendant
-RECREATED: ::before create table-caption on table-column-group in inline-grid | DOM parent
-RECREATED: ::before create table-caption on table-column-group in inline-grid | preceding sibling
-RECREATED: ::before create table-caption on table-column-group in inline-grid | preceding sibling descendant
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | fixture ancestor
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | distant sibling
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | distant sibling descendant
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | DOM parent
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | preceding sibling
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | preceding sibling descendant
RECREATED: ::before create table-caption on table-column-group in inline-grid | target
RECREATED: ::before create table-caption on table-column-group in inline-grid | target descendant
-RECREATED: ::before create table-caption on table-column-group in inline-grid | following sibling
-RECREATED: ::before create table-caption on table-column-group in inline-grid | following sibling descendant
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | following sibling
+PRESERVED: ::before create table-caption on table-column-group in inline-grid | following sibling descendant
STATS: ::before create table-caption on table-column-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::before create table-caption on table-column-group in inline-grid | incremental tree matches full rebuild
PRESERVED: ::before create inline flow list-item on table-column-group in table-column | fixture ancestor
@@ -1894,17 +1894,17 @@ RECREATED: ::after change display inline flex on table-column in table-footer-gr
RECREATED: ::after change display inline flex on table-column in table-footer-group | following sibling descendant
STATS: ::after change display inline flex on table-column in table-footer-group | rebuilt subtree roots=1, escaped=false
PASS: ::after change display inline flex on table-column in table-footer-group | incremental tree matches full rebuild
-RECREATED: ::before create inline-block on table-caption in inline flex | fixture ancestor
-RECREATED: ::before create inline-block on table-caption in inline flex | distant sibling
-RECREATED: ::before create inline-block on table-caption in inline flex | distant sibling descendant
-RECREATED: ::before create inline-block on table-caption in inline flex | DOM parent
-RECREATED: ::before create inline-block on table-caption in inline flex | preceding sibling
-RECREATED: ::before create inline-block on table-caption in inline flex | preceding sibling descendant
-RECREATED: ::before create inline-block on table-caption in inline flex | target
-RECREATED: ::before create inline-block on table-caption in inline flex | target descendant
-RECREATED: ::before create inline-block on table-caption in inline flex | following sibling
-RECREATED: ::before create inline-block on table-caption in inline flex | following sibling descendant
-STATS: ::before create inline-block on table-caption in inline flex | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::before create inline-block on table-caption in inline flex | fixture ancestor
+PRESERVED: ::before create inline-block on table-caption in inline flex | distant sibling
+PRESERVED: ::before create inline-block on table-caption in inline flex | distant sibling descendant
+PRESERVED: ::before create inline-block on table-caption in inline flex | DOM parent
+PRESERVED: ::before create inline-block on table-caption in inline flex | preceding sibling
+PRESERVED: ::before create inline-block on table-caption in inline flex | preceding sibling descendant
+PRESERVED: ::before create inline-block on table-caption in inline flex | target
+PRESERVED: ::before create inline-block on table-caption in inline flex | target descendant
+PRESERVED: ::before create inline-block on table-caption in inline flex | following sibling
+PRESERVED: ::before create inline-block on table-caption in inline flex | following sibling descendant
+STATS: ::before create inline-block on table-caption in inline flex | rebuilt subtree roots=0, escaped=false
PASS: ::before create inline-block on table-caption in inline flex | incremental tree matches full rebuild
PRESERVED: ::before create -webkit-inline-box on table-caption in run-in | fixture ancestor
PRESERVED: ::before create -webkit-inline-box on table-caption in run-in | distant sibling
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-11.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-11.txt
index 091c17f10b8..52cee0ea6c8 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-11.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-11.txt
@@ -1498,16 +1498,16 @@ RECREATED: ::after create -webkit-box on table-header-group in inline flow list-
RECREATED: ::after create -webkit-box on table-header-group in inline flow list-item | following sibling descendant
STATS: ::after create -webkit-box on table-header-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::after create -webkit-box on table-header-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | fixture ancestor
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | distant sibling
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | distant sibling descendant
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | DOM parent
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | preceding sibling
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | preceding sibling descendant
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | fixture ancestor
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | distant sibling
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | distant sibling descendant
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | DOM parent
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | preceding sibling
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | preceding sibling descendant
RECREATED: ::after create block flow-root on table-header-group in inline-grid | target
RECREATED: ::after create block flow-root on table-header-group in inline-grid | target descendant
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | following sibling
-RECREATED: ::after create block flow-root on table-header-group in inline-grid | following sibling descendant
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | following sibling
+PRESERVED: ::after create block flow-root on table-header-group in inline-grid | following sibling descendant
STATS: ::after create block flow-root on table-header-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::after create block flow-root on table-header-group in inline-grid | incremental tree matches full rebuild
PRESERVED: ::before change clear block on table-footer-group in table-column-group | fixture ancestor
@@ -1798,16 +1798,16 @@ RECREATED: ::after create inline-grid on table-column-group in inline flow list-
RECREATED: ::after create inline-grid on table-column-group in inline flow list-item | following sibling descendant
STATS: ::after create inline-grid on table-column-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::after create inline-grid on table-column-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::after create table-column on table-column-group in inline-grid | fixture ancestor
-RECREATED: ::after create table-column on table-column-group in inline-grid | distant sibling
-RECREATED: ::after create table-column on table-column-group in inline-grid | distant sibling descendant
-RECREATED: ::after create table-column on table-column-group in inline-grid | DOM parent
-RECREATED: ::after create table-column on table-column-group in inline-grid | preceding sibling
-RECREATED: ::after create table-column on table-column-group in inline-grid | preceding sibling descendant
+PRESERVED: ::after create table-column on table-column-group in inline-grid | fixture ancestor
+PRESERVED: ::after create table-column on table-column-group in inline-grid | distant sibling
+PRESERVED: ::after create table-column on table-column-group in inline-grid | distant sibling descendant
+PRESERVED: ::after create table-column on table-column-group in inline-grid | DOM parent
+PRESERVED: ::after create table-column on table-column-group in inline-grid | preceding sibling
+PRESERVED: ::after create table-column on table-column-group in inline-grid | preceding sibling descendant
RECREATED: ::after create table-column on table-column-group in inline-grid | target
RECREATED: ::after create table-column on table-column-group in inline-grid | target descendant
-RECREATED: ::after create table-column on table-column-group in inline-grid | following sibling
-RECREATED: ::after create table-column on table-column-group in inline-grid | following sibling descendant
+PRESERVED: ::after create table-column on table-column-group in inline-grid | following sibling
+PRESERVED: ::after create table-column on table-column-group in inline-grid | following sibling descendant
STATS: ::after create table-column on table-column-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::after create table-column on table-column-group in inline-grid | incremental tree matches full rebuild
PRESERVED: ::after create block flow list-item on table-column-group in table-column | fixture ancestor
@@ -1897,13 +1897,13 @@ PASS: ::after change float block grid on table-column in table-row | incremental
PRESERVED: ::before remove run-in on table-caption in block grid | fixture ancestor
PRESERVED: ::before remove run-in on table-caption in block grid | distant sibling
PRESERVED: ::before remove run-in on table-caption in block grid | distant sibling descendant
-RECREATED: ::before remove run-in on table-caption in block grid | DOM parent
-RECREATED: ::before remove run-in on table-caption in block grid | preceding sibling
-RECREATED: ::before remove run-in on table-caption in block grid | preceding sibling descendant
+PRESERVED: ::before remove run-in on table-caption in block grid | DOM parent
+PRESERVED: ::before remove run-in on table-caption in block grid | preceding sibling
+PRESERVED: ::before remove run-in on table-caption in block grid | preceding sibling descendant
RECREATED: ::before remove run-in on table-caption in block grid | target
RECREATED: ::before remove run-in on table-caption in block grid | target descendant
-RECREATED: ::before remove run-in on table-caption in block grid | following sibling
-RECREATED: ::before remove run-in on table-caption in block grid | following sibling descendant
+PRESERVED: ::before remove run-in on table-caption in block grid | following sibling
+PRESERVED: ::before remove run-in on table-caption in block grid | following sibling descendant
STATS: ::before remove run-in on table-caption in block grid | rebuilt subtree roots=1, escaped=false
PASS: ::before remove run-in on table-caption in block grid | incremental tree matches full rebuild
PRESERVED: ::before remove table-row-group on table-caption in list-item | fixture ancestor
@@ -1930,16 +1930,16 @@ RECREATED: ::before remove block flex on table-caption in table-header-group | f
RECREATED: ::before remove block flex on table-caption in table-header-group | following sibling descendant
STATS: ::before remove block flex on table-caption in table-header-group | rebuilt subtree roots=1, escaped=false
PASS: ::before remove block flex on table-caption in table-header-group | incremental tree matches full rebuild
-RECREATED: ::after create flow-root on table-caption in inline flex | fixture ancestor
-RECREATED: ::after create flow-root on table-caption in inline flex | distant sibling
-RECREATED: ::after create flow-root on table-caption in inline flex | distant sibling descendant
-RECREATED: ::after create flow-root on table-caption in inline flex | DOM parent
-RECREATED: ::after create flow-root on table-caption in inline flex | preceding sibling
-RECREATED: ::after create flow-root on table-caption in inline flex | preceding sibling descendant
+PRESERVED: ::after create flow-root on table-caption in inline flex | fixture ancestor
+PRESERVED: ::after create flow-root on table-caption in inline flex | distant sibling
+PRESERVED: ::after create flow-root on table-caption in inline flex | distant sibling descendant
+PRESERVED: ::after create flow-root on table-caption in inline flex | DOM parent
+PRESERVED: ::after create flow-root on table-caption in inline flex | preceding sibling
+PRESERVED: ::after create flow-root on table-caption in inline flex | preceding sibling descendant
RECREATED: ::after create flow-root on table-caption in inline flex | target
RECREATED: ::after create flow-root on table-caption in inline flex | target descendant
-RECREATED: ::after create flow-root on table-caption in inline flex | following sibling
-RECREATED: ::after create flow-root on table-caption in inline flex | following sibling descendant
+PRESERVED: ::after create flow-root on table-caption in inline flex | following sibling
+PRESERVED: ::after create flow-root on table-caption in inline flex | following sibling descendant
STATS: ::after create flow-root on table-caption in inline flex | rebuilt subtree roots=1, escaped=false
PASS: ::after create flow-root on table-caption in inline flex | incremental tree matches full rebuild
PRESERVED: ::after create -webkit-box on table-caption in run-in | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-12.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-12.txt
index 8ed896e28e0..cf9be8606b6 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-12.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-12.txt
@@ -1933,14 +1933,14 @@ PASS: ::before change display inline flex on table-caption in table-footer-group
PRESERVED: ::after remove inline-block on table-caption in block grid | fixture ancestor
PRESERVED: ::after remove inline-block on table-caption in block grid | distant sibling
PRESERVED: ::after remove inline-block on table-caption in block grid | distant sibling descendant
-RECREATED: ::after remove inline-block on table-caption in block grid | DOM parent
-RECREATED: ::after remove inline-block on table-caption in block grid | preceding sibling
-RECREATED: ::after remove inline-block on table-caption in block grid | preceding sibling descendant
-RECREATED: ::after remove inline-block on table-caption in block grid | target
-RECREATED: ::after remove inline-block on table-caption in block grid | target descendant
-RECREATED: ::after remove inline-block on table-caption in block grid | following sibling
-RECREATED: ::after remove inline-block on table-caption in block grid | following sibling descendant
-STATS: ::after remove inline-block on table-caption in block grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::after remove inline-block on table-caption in block grid | DOM parent
+PRESERVED: ::after remove inline-block on table-caption in block grid | preceding sibling
+PRESERVED: ::after remove inline-block on table-caption in block grid | preceding sibling descendant
+PRESERVED: ::after remove inline-block on table-caption in block grid | target
+PRESERVED: ::after remove inline-block on table-caption in block grid | target descendant
+PRESERVED: ::after remove inline-block on table-caption in block grid | following sibling
+PRESERVED: ::after remove inline-block on table-caption in block grid | following sibling descendant
+STATS: ::after remove inline-block on table-caption in block grid | rebuilt subtree roots=0, escaped=false
PASS: ::after remove inline-block on table-caption in block grid | incremental tree matches full rebuild
PRESERVED: ::after remove -webkit-inline-box on table-caption in list-item | fixture ancestor
PRESERVED: ::after remove -webkit-inline-box on table-caption in list-item | distant sibling
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-2.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-2.txt
index a0b8395623c..26f6fc0a3a7 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-2.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-2.txt
@@ -1381,13 +1381,13 @@ PASS: ::before remove contents on table-row-group in table-footer-group | increm
PRESERVED: ::before remove table on table-row-group in block grid | fixture ancestor
PRESERVED: ::before remove table on table-row-group in block grid | distant sibling
PRESERVED: ::before remove table on table-row-group in block grid | distant sibling descendant
-RECREATED: ::before remove table on table-row-group in block grid | DOM parent
-RECREATED: ::before remove table on table-row-group in block grid | preceding sibling
-RECREATED: ::before remove table on table-row-group in block grid | preceding sibling descendant
+PRESERVED: ::before remove table on table-row-group in block grid | DOM parent
+PRESERVED: ::before remove table on table-row-group in block grid | preceding sibling
+PRESERVED: ::before remove table on table-row-group in block grid | preceding sibling descendant
RECREATED: ::before remove table on table-row-group in block grid | target
RECREATED: ::before remove table on table-row-group in block grid | target descendant
-RECREATED: ::before remove table on table-row-group in block grid | following sibling
-RECREATED: ::before remove table on table-row-group in block grid | following sibling descendant
+PRESERVED: ::before remove table on table-row-group in block grid | following sibling
+PRESERVED: ::before remove table on table-row-group in block grid | following sibling descendant
STATS: ::before remove table on table-row-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: ::before remove table on table-row-group in block grid | incremental tree matches full rebuild
PRESERVED: ::before remove table-caption on table-row-group in list-item | fixture ancestor
@@ -1414,16 +1414,16 @@ RECREATED: ::before remove inline flow list-item on table-row-group in table-hea
RECREATED: ::before remove inline flow list-item on table-row-group in table-header-group | following sibling descendant
STATS: ::before remove inline flow list-item on table-row-group in table-header-group | rebuilt subtree roots=1, escaped=false
PASS: ::before remove inline flow list-item on table-row-group in table-header-group | incremental tree matches full rebuild
-RECREATED: ::after create grid on table-row-group in inline flex | fixture ancestor
-RECREATED: ::after create grid on table-row-group in inline flex | distant sibling
-RECREATED: ::after create grid on table-row-group in inline flex | distant sibling descendant
-RECREATED: ::after create grid on table-row-group in inline flex | DOM parent
-RECREATED: ::after create grid on table-row-group in inline flex | preceding sibling
-RECREATED: ::after create grid on table-row-group in inline flex | preceding sibling descendant
+PRESERVED: ::after create grid on table-row-group in inline flex | fixture ancestor
+PRESERVED: ::after create grid on table-row-group in inline flex | distant sibling
+PRESERVED: ::after create grid on table-row-group in inline flex | distant sibling descendant
+PRESERVED: ::after create grid on table-row-group in inline flex | DOM parent
+PRESERVED: ::after create grid on table-row-group in inline flex | preceding sibling
+PRESERVED: ::after create grid on table-row-group in inline flex | preceding sibling descendant
RECREATED: ::after create grid on table-row-group in inline flex | target
RECREATED: ::after create grid on table-row-group in inline flex | target descendant
-RECREATED: ::after create grid on table-row-group in inline flex | following sibling
-RECREATED: ::after create grid on table-row-group in inline flex | following sibling descendant
+PRESERVED: ::after create grid on table-row-group in inline flex | following sibling
+PRESERVED: ::after create grid on table-row-group in inline flex | following sibling descendant
STATS: ::after create grid on table-row-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: ::after create grid on table-row-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::after create table-column-group on table-row-group in run-in | fixture ancestor
@@ -1582,17 +1582,17 @@ RECREATED: ::after create math on table-footer-group in inline flow list-item |
RECREATED: ::after create math on table-footer-group in inline flow list-item | following sibling descendant
STATS: ::after create math on table-footer-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::after create math on table-footer-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | fixture ancestor
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | distant sibling
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | distant sibling descendant
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | DOM parent
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | preceding sibling
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | preceding sibling descendant
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | target
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | target descendant
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | following sibling
-RECREATED: ::after create inline flow on table-footer-group in inline-grid | following sibling descendant
-STATS: ::after create inline flow on table-footer-group in inline-grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | fixture ancestor
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | distant sibling
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | distant sibling descendant
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | DOM parent
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | preceding sibling
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | preceding sibling descendant
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | target
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | target descendant
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | following sibling
+PRESERVED: ::after create inline flow on table-footer-group in inline-grid | following sibling descendant
+STATS: ::after create inline flow on table-footer-group in inline-grid | rebuilt subtree roots=0, escaped=false
PASS: ::after create inline flow on table-footer-group in inline-grid | incremental tree matches full rebuild
RECREATED: ::before change clear contents on table-row in table-column-group | fixture ancestor
RECREATED: ::before change clear contents on table-row in table-column-group | distant sibling
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-3.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-3.txt
index 4d2d721e6dc..b2eeded8b45 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-3.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-3.txt
@@ -1378,16 +1378,16 @@ RECREATED: ::before change display block on table-row-group in table-row | follo
RECREATED: ::before change display block on table-row-group in table-row | following sibling descendant
STATS: ::before change display block on table-row-group in table-row | rebuilt subtree roots=1, escaped=false
PASS: ::before change display block on table-row-group in table-row | incremental tree matches full rebuild
-RECREATED: ::before change display inline-table on table-row-group in inline grid | fixture ancestor
-RECREATED: ::before change display inline-table on table-row-group in inline grid | distant sibling
-RECREATED: ::before change display inline-table on table-row-group in inline grid | distant sibling descendant
-RECREATED: ::before change display inline-table on table-row-group in inline grid | DOM parent
-RECREATED: ::before change display inline-table on table-row-group in inline grid | preceding sibling
-RECREATED: ::before change display inline-table on table-row-group in inline grid | preceding sibling descendant
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | fixture ancestor
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | distant sibling
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | distant sibling descendant
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | DOM parent
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | preceding sibling
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | preceding sibling descendant
RECREATED: ::before change display inline-table on table-row-group in inline grid | target
RECREATED: ::before change display inline-table on table-row-group in inline grid | target descendant
-RECREATED: ::before change display inline-table on table-row-group in inline grid | following sibling
-RECREATED: ::before change display inline-table on table-row-group in inline grid | following sibling descendant
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | following sibling
+PRESERVED: ::before change display inline-table on table-row-group in inline grid | following sibling descendant
STATS: ::before change display inline-table on table-row-group in inline grid | rebuilt subtree roots=1, escaped=false
PASS: ::before change display inline-table on table-row-group in inline grid | incremental tree matches full rebuild
RECREATED: ::before change display block flow on table-row-group in inline list-item | fixture ancestor
@@ -1417,14 +1417,14 @@ PASS: ::after remove none on table-row-group in table-footer-group | incremental
PRESERVED: ::after remove inline-grid on table-row-group in block grid | fixture ancestor
PRESERVED: ::after remove inline-grid on table-row-group in block grid | distant sibling
PRESERVED: ::after remove inline-grid on table-row-group in block grid | distant sibling descendant
-RECREATED: ::after remove inline-grid on table-row-group in block grid | DOM parent
-RECREATED: ::after remove inline-grid on table-row-group in block grid | preceding sibling
-RECREATED: ::after remove inline-grid on table-row-group in block grid | preceding sibling descendant
-RECREATED: ::after remove inline-grid on table-row-group in block grid | target
-RECREATED: ::after remove inline-grid on table-row-group in block grid | target descendant
-RECREATED: ::after remove inline-grid on table-row-group in block grid | following sibling
-RECREATED: ::after remove inline-grid on table-row-group in block grid | following sibling descendant
-STATS: ::after remove inline-grid on table-row-group in block grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | DOM parent
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | preceding sibling
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | preceding sibling descendant
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | target
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | target descendant
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | following sibling
+PRESERVED: ::after remove inline-grid on table-row-group in block grid | following sibling descendant
+STATS: ::after remove inline-grid on table-row-group in block grid | rebuilt subtree roots=0, escaped=false
PASS: ::after remove inline-grid on table-row-group in block grid | incremental tree matches full rebuild
PRESERVED: ::after remove table-column on table-row-group in list-item | fixture ancestor
PRESERVED: ::after remove table-column on table-row-group in list-item | distant sibling
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-4.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-4.txt
index 2093920610c..7e8a1a3f893 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-4.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-4.txt
@@ -1450,16 +1450,16 @@ RECREATED: ::after change display inline flow list-item on table-row-group in ta
RECREATED: ::after change display inline flow list-item on table-row-group in table-footer-group | following sibling descendant
STATS: ::after change display inline flow list-item on table-row-group in table-footer-group | rebuilt subtree roots=1, escaped=false
PASS: ::after change display inline flow list-item on table-row-group in table-footer-group | incremental tree matches full rebuild
-RECREATED: ::before create grid on table-header-group in inline flex | fixture ancestor
-RECREATED: ::before create grid on table-header-group in inline flex | distant sibling
-RECREATED: ::before create grid on table-header-group in inline flex | distant sibling descendant
-RECREATED: ::before create grid on table-header-group in inline flex | DOM parent
-RECREATED: ::before create grid on table-header-group in inline flex | preceding sibling
-RECREATED: ::before create grid on table-header-group in inline flex | preceding sibling descendant
+PRESERVED: ::before create grid on table-header-group in inline flex | fixture ancestor
+PRESERVED: ::before create grid on table-header-group in inline flex | distant sibling
+PRESERVED: ::before create grid on table-header-group in inline flex | distant sibling descendant
+PRESERVED: ::before create grid on table-header-group in inline flex | DOM parent
+PRESERVED: ::before create grid on table-header-group in inline flex | preceding sibling
+PRESERVED: ::before create grid on table-header-group in inline flex | preceding sibling descendant
RECREATED: ::before create grid on table-header-group in inline flex | target
RECREATED: ::before create grid on table-header-group in inline flex | target descendant
-RECREATED: ::before create grid on table-header-group in inline flex | following sibling
-RECREATED: ::before create grid on table-header-group in inline flex | following sibling descendant
+PRESERVED: ::before create grid on table-header-group in inline flex | following sibling
+PRESERVED: ::before create grid on table-header-group in inline flex | following sibling descendant
STATS: ::before create grid on table-header-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: ::before create grid on table-header-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::before create table-column-group on table-header-group in run-in | fixture ancestor
@@ -1750,16 +1750,16 @@ RECREATED: ::after change display inline grid on table-cell in table-footer-grou
RECREATED: ::after change display inline grid on table-cell in table-footer-group | following sibling descendant
STATS: ::after change display inline grid on table-cell in table-footer-group | rebuilt subtree roots=1, escaped=false
PASS: ::after change display inline grid on table-cell in table-footer-group | incremental tree matches full rebuild
-RECREATED: ::before create list-item on table-column-group in inline flex | fixture ancestor
-RECREATED: ::before create list-item on table-column-group in inline flex | distant sibling
-RECREATED: ::before create list-item on table-column-group in inline flex | distant sibling descendant
-RECREATED: ::before create list-item on table-column-group in inline flex | DOM parent
-RECREATED: ::before create list-item on table-column-group in inline flex | preceding sibling
-RECREATED: ::before create list-item on table-column-group in inline flex | preceding sibling descendant
+PRESERVED: ::before create list-item on table-column-group in inline flex | fixture ancestor
+PRESERVED: ::before create list-item on table-column-group in inline flex | distant sibling
+PRESERVED: ::before create list-item on table-column-group in inline flex | distant sibling descendant
+PRESERVED: ::before create list-item on table-column-group in inline flex | DOM parent
+PRESERVED: ::before create list-item on table-column-group in inline flex | preceding sibling
+PRESERVED: ::before create list-item on table-column-group in inline flex | preceding sibling descendant
RECREATED: ::before create list-item on table-column-group in inline flex | target
RECREATED: ::before create list-item on table-column-group in inline flex | target descendant
-RECREATED: ::before create list-item on table-column-group in inline flex | following sibling
-RECREATED: ::before create list-item on table-column-group in inline flex | following sibling descendant
+PRESERVED: ::before create list-item on table-column-group in inline flex | following sibling
+PRESERVED: ::before create list-item on table-column-group in inline flex | following sibling descendant
STATS: ::before create list-item on table-column-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: ::before create list-item on table-column-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::before create table-header-group on table-column-group in run-in | fixture ancestor
@@ -1918,16 +1918,16 @@ RECREATED: ::before create grid on table-caption in inline flow list-item | foll
RECREATED: ::before create grid on table-caption in inline flow list-item | following sibling descendant
STATS: ::before create grid on table-caption in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::before create grid on table-caption in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::before create table-column-group on table-caption in inline-grid | fixture ancestor
-RECREATED: ::before create table-column-group on table-caption in inline-grid | distant sibling
-RECREATED: ::before create table-column-group on table-caption in inline-grid | distant sibling descendant
-RECREATED: ::before create table-column-group on table-caption in inline-grid | DOM parent
-RECREATED: ::before create table-column-group on table-caption in inline-grid | preceding sibling
-RECREATED: ::before create table-column-group on table-caption in inline-grid | preceding sibling descendant
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | fixture ancestor
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | distant sibling
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | distant sibling descendant
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | DOM parent
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | preceding sibling
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | preceding sibling descendant
RECREATED: ::before create table-column-group on table-caption in inline-grid | target
RECREATED: ::before create table-column-group on table-caption in inline-grid | target descendant
-RECREATED: ::before create table-column-group on table-caption in inline-grid | following sibling
-RECREATED: ::before create table-column-group on table-caption in inline-grid | following sibling descendant
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | following sibling
+PRESERVED: ::before create table-column-group on table-caption in inline-grid | following sibling descendant
STATS: ::before create table-column-group on table-caption in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::before create table-column-group on table-caption in inline-grid | incremental tree matches full rebuild
PRESERVED: ::before create inline table on table-caption in table-column | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-5.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-5.txt
index 12524d19d35..0b35c9d8a90 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-5.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-5.txt
@@ -1453,14 +1453,14 @@ PASS: ::before remove none on table-header-group in table-footer-group | increme
PRESERVED: ::before remove inline-grid on table-header-group in block grid | fixture ancestor
PRESERVED: ::before remove inline-grid on table-header-group in block grid | distant sibling
PRESERVED: ::before remove inline-grid on table-header-group in block grid | distant sibling descendant
-RECREATED: ::before remove inline-grid on table-header-group in block grid | DOM parent
-RECREATED: ::before remove inline-grid on table-header-group in block grid | preceding sibling
-RECREATED: ::before remove inline-grid on table-header-group in block grid | preceding sibling descendant
-RECREATED: ::before remove inline-grid on table-header-group in block grid | target
-RECREATED: ::before remove inline-grid on table-header-group in block grid | target descendant
-RECREATED: ::before remove inline-grid on table-header-group in block grid | following sibling
-RECREATED: ::before remove inline-grid on table-header-group in block grid | following sibling descendant
-STATS: ::before remove inline-grid on table-header-group in block grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | DOM parent
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | preceding sibling
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | preceding sibling descendant
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | target
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | target descendant
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | following sibling
+PRESERVED: ::before remove inline-grid on table-header-group in block grid | following sibling descendant
+STATS: ::before remove inline-grid on table-header-group in block grid | rebuilt subtree roots=0, escaped=false
PASS: ::before remove inline-grid on table-header-group in block grid | incremental tree matches full rebuild
PRESERVED: ::before remove table-column on table-header-group in list-item | fixture ancestor
PRESERVED: ::before remove table-column on table-header-group in list-item | distant sibling
@@ -1486,17 +1486,17 @@ RECREATED: ::before remove block flow list-item on table-header-group in table-h
RECREATED: ::before remove block flow list-item on table-header-group in table-header-group | following sibling descendant
STATS: ::before remove block flow list-item on table-header-group in table-header-group | rebuilt subtree roots=1, escaped=false
PASS: ::before remove block flow list-item on table-header-group in table-header-group | incremental tree matches full rebuild
-RECREATED: ::after create inline-flex on table-header-group in inline flex | fixture ancestor
-RECREATED: ::after create inline-flex on table-header-group in inline flex | distant sibling
-RECREATED: ::after create inline-flex on table-header-group in inline flex | distant sibling descendant
-RECREATED: ::after create inline-flex on table-header-group in inline flex | DOM parent
-RECREATED: ::after create inline-flex on table-header-group in inline flex | preceding sibling
-RECREATED: ::after create inline-flex on table-header-group in inline flex | preceding sibling descendant
-RECREATED: ::after create inline-flex on table-header-group in inline flex | target
-RECREATED: ::after create inline-flex on table-header-group in inline flex | target descendant
-RECREATED: ::after create inline-flex on table-header-group in inline flex | following sibling
-RECREATED: ::after create inline-flex on table-header-group in inline flex | following sibling descendant
-STATS: ::after create inline-flex on table-header-group in inline flex | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | fixture ancestor
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | distant sibling
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | distant sibling descendant
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | DOM parent
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | preceding sibling
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | preceding sibling descendant
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | target
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | target descendant
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | following sibling
+PRESERVED: ::after create inline-flex on table-header-group in inline flex | following sibling descendant
+STATS: ::after create inline-flex on table-header-group in inline flex | rebuilt subtree roots=0, escaped=false
PASS: ::after create inline-flex on table-header-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::after create table-cell on table-header-group in run-in | fixture ancestor
PRESERVED: ::after create table-cell on table-header-group in run-in | distant sibling
@@ -1753,13 +1753,13 @@ PASS: ::after change float block table on table-cell in table-row | incremental
PRESERVED: ::before remove inline list-item on table-column-group in block grid | fixture ancestor
PRESERVED: ::before remove inline list-item on table-column-group in block grid | distant sibling
PRESERVED: ::before remove inline list-item on table-column-group in block grid | distant sibling descendant
-RECREATED: ::before remove inline list-item on table-column-group in block grid | DOM parent
-RECREATED: ::before remove inline list-item on table-column-group in block grid | preceding sibling
-RECREATED: ::before remove inline list-item on table-column-group in block grid | preceding sibling descendant
+PRESERVED: ::before remove inline list-item on table-column-group in block grid | DOM parent
+PRESERVED: ::before remove inline list-item on table-column-group in block grid | preceding sibling
+PRESERVED: ::before remove inline list-item on table-column-group in block grid | preceding sibling descendant
RECREATED: ::before remove inline list-item on table-column-group in block grid | target
RECREATED: ::before remove inline list-item on table-column-group in block grid | target descendant
-RECREATED: ::before remove inline list-item on table-column-group in block grid | following sibling
-RECREATED: ::before remove inline list-item on table-column-group in block grid | following sibling descendant
+PRESERVED: ::before remove inline list-item on table-column-group in block grid | following sibling
+PRESERVED: ::before remove inline list-item on table-column-group in block grid | following sibling descendant
STATS: ::before remove inline list-item on table-column-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: ::before remove inline list-item on table-column-group in block grid | incremental tree matches full rebuild
PRESERVED: ::before remove table-footer-group on table-column-group in list-item | fixture ancestor
@@ -1786,16 +1786,16 @@ RECREATED: ::before remove block grid on table-column-group in table-header-grou
RECREATED: ::before remove block grid on table-column-group in table-header-group | following sibling descendant
STATS: ::before remove block grid on table-column-group in table-header-group | rebuilt subtree roots=1, escaped=false
PASS: ::before remove block grid on table-column-group in table-header-group | incremental tree matches full rebuild
-RECREATED: ::after create run-in on table-column-group in inline flex | fixture ancestor
-RECREATED: ::after create run-in on table-column-group in inline flex | distant sibling
-RECREATED: ::after create run-in on table-column-group in inline flex | distant sibling descendant
-RECREATED: ::after create run-in on table-column-group in inline flex | DOM parent
-RECREATED: ::after create run-in on table-column-group in inline flex | preceding sibling
-RECREATED: ::after create run-in on table-column-group in inline flex | preceding sibling descendant
+PRESERVED: ::after create run-in on table-column-group in inline flex | fixture ancestor
+PRESERVED: ::after create run-in on table-column-group in inline flex | distant sibling
+PRESERVED: ::after create run-in on table-column-group in inline flex | distant sibling descendant
+PRESERVED: ::after create run-in on table-column-group in inline flex | DOM parent
+PRESERVED: ::after create run-in on table-column-group in inline flex | preceding sibling
+PRESERVED: ::after create run-in on table-column-group in inline flex | preceding sibling descendant
RECREATED: ::after create run-in on table-column-group in inline flex | target
RECREATED: ::after create run-in on table-column-group in inline flex | target descendant
-RECREATED: ::after create run-in on table-column-group in inline flex | following sibling
-RECREATED: ::after create run-in on table-column-group in inline flex | following sibling descendant
+PRESERVED: ::after create run-in on table-column-group in inline flex | following sibling
+PRESERVED: ::after create run-in on table-column-group in inline flex | following sibling descendant
STATS: ::after create run-in on table-column-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: ::after create run-in on table-column-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::after create table-row-group on table-column-group in run-in | fixture ancestor
@@ -1954,16 +1954,16 @@ RECREATED: ::after create inline-flex on table-caption in inline flow list-item
RECREATED: ::after create inline-flex on table-caption in inline flow list-item | following sibling descendant
STATS: ::after create inline-flex on table-caption in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::after create inline-flex on table-caption in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::after create table-cell on table-caption in inline-grid | fixture ancestor
-RECREATED: ::after create table-cell on table-caption in inline-grid | distant sibling
-RECREATED: ::after create table-cell on table-caption in inline-grid | distant sibling descendant
-RECREATED: ::after create table-cell on table-caption in inline-grid | DOM parent
-RECREATED: ::after create table-cell on table-caption in inline-grid | preceding sibling
-RECREATED: ::after create table-cell on table-caption in inline-grid | preceding sibling descendant
+PRESERVED: ::after create table-cell on table-caption in inline-grid | fixture ancestor
+PRESERVED: ::after create table-cell on table-caption in inline-grid | distant sibling
+PRESERVED: ::after create table-cell on table-caption in inline-grid | distant sibling descendant
+PRESERVED: ::after create table-cell on table-caption in inline-grid | DOM parent
+PRESERVED: ::after create table-cell on table-caption in inline-grid | preceding sibling
+PRESERVED: ::after create table-cell on table-caption in inline-grid | preceding sibling descendant
RECREATED: ::after create table-cell on table-caption in inline-grid | target
RECREATED: ::after create table-cell on table-caption in inline-grid | target descendant
-RECREATED: ::after create table-cell on table-caption in inline-grid | following sibling
-RECREATED: ::after create table-cell on table-caption in inline-grid | following sibling descendant
+PRESERVED: ::after create table-cell on table-caption in inline-grid | following sibling
+PRESERVED: ::after create table-cell on table-caption in inline-grid | following sibling descendant
STATS: ::after create table-cell on table-caption in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::after create table-cell on table-caption in inline-grid | incremental tree matches full rebuild
PRESERVED: ::after create block table on table-caption in table-column | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-6.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-6.txt
index 4f0b77ca4ae..ecfe75e7113 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-6.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-6.txt
@@ -1489,13 +1489,13 @@ PASS: ::before change display inline flow list-item on table-header-group in tab
PRESERVED: ::after remove grid on table-header-group in block grid | fixture ancestor
PRESERVED: ::after remove grid on table-header-group in block grid | distant sibling
PRESERVED: ::after remove grid on table-header-group in block grid | distant sibling descendant
-RECREATED: ::after remove grid on table-header-group in block grid | DOM parent
-RECREATED: ::after remove grid on table-header-group in block grid | preceding sibling
-RECREATED: ::after remove grid on table-header-group in block grid | preceding sibling descendant
+PRESERVED: ::after remove grid on table-header-group in block grid | DOM parent
+PRESERVED: ::after remove grid on table-header-group in block grid | preceding sibling
+PRESERVED: ::after remove grid on table-header-group in block grid | preceding sibling descendant
RECREATED: ::after remove grid on table-header-group in block grid | target
RECREATED: ::after remove grid on table-header-group in block grid | target descendant
-RECREATED: ::after remove grid on table-header-group in block grid | following sibling
-RECREATED: ::after remove grid on table-header-group in block grid | following sibling descendant
+PRESERVED: ::after remove grid on table-header-group in block grid | following sibling
+PRESERVED: ::after remove grid on table-header-group in block grid | following sibling descendant
STATS: ::after remove grid on table-header-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: ::after remove grid on table-header-group in block grid | incremental tree matches full rebuild
PRESERVED: ::after remove table-column-group on table-header-group in list-item | fixture ancestor
@@ -1789,13 +1789,13 @@ PASS: ::before change display inline grid on table-column-group in table-footer-
PRESERVED: ::after remove list-item on table-column-group in block grid | fixture ancestor
PRESERVED: ::after remove list-item on table-column-group in block grid | distant sibling
PRESERVED: ::after remove list-item on table-column-group in block grid | distant sibling descendant
-RECREATED: ::after remove list-item on table-column-group in block grid | DOM parent
-RECREATED: ::after remove list-item on table-column-group in block grid | preceding sibling
-RECREATED: ::after remove list-item on table-column-group in block grid | preceding sibling descendant
+PRESERVED: ::after remove list-item on table-column-group in block grid | DOM parent
+PRESERVED: ::after remove list-item on table-column-group in block grid | preceding sibling
+PRESERVED: ::after remove list-item on table-column-group in block grid | preceding sibling descendant
RECREATED: ::after remove list-item on table-column-group in block grid | target
RECREATED: ::after remove list-item on table-column-group in block grid | target descendant
-RECREATED: ::after remove list-item on table-column-group in block grid | following sibling
-RECREATED: ::after remove list-item on table-column-group in block grid | following sibling descendant
+PRESERVED: ::after remove list-item on table-column-group in block grid | following sibling
+PRESERVED: ::after remove list-item on table-column-group in block grid | following sibling descendant
STATS: ::after remove list-item on table-column-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: ::after remove list-item on table-column-group in block grid | incremental tree matches full rebuild
PRESERVED: ::after remove table-header-group on table-column-group in list-item | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-7.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-7.txt
index 68e77ad145b..0b6bca6855d 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-7.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-7.txt
@@ -1390,16 +1390,16 @@ RECREATED: ::before create table-row-group on table-row-group in inline flow lis
RECREATED: ::before create table-row-group on table-row-group in inline flow list-item | following sibling descendant
STATS: ::before create table-row-group on table-row-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::before create table-row-group on table-row-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::before create block flex on table-row-group in inline-grid | fixture ancestor
-RECREATED: ::before create block flex on table-row-group in inline-grid | distant sibling
-RECREATED: ::before create block flex on table-row-group in inline-grid | distant sibling descendant
-RECREATED: ::before create block flex on table-row-group in inline-grid | DOM parent
-RECREATED: ::before create block flex on table-row-group in inline-grid | preceding sibling
-RECREATED: ::before create block flex on table-row-group in inline-grid | preceding sibling descendant
+PRESERVED: ::before create block flex on table-row-group in inline-grid | fixture ancestor
+PRESERVED: ::before create block flex on table-row-group in inline-grid | distant sibling
+PRESERVED: ::before create block flex on table-row-group in inline-grid | distant sibling descendant
+PRESERVED: ::before create block flex on table-row-group in inline-grid | DOM parent
+PRESERVED: ::before create block flex on table-row-group in inline-grid | preceding sibling
+PRESERVED: ::before create block flex on table-row-group in inline-grid | preceding sibling descendant
RECREATED: ::before create block flex on table-row-group in inline-grid | target
RECREATED: ::before create block flex on table-row-group in inline-grid | target descendant
-RECREATED: ::before create block flex on table-row-group in inline-grid | following sibling
-RECREATED: ::before create block flex on table-row-group in inline-grid | following sibling descendant
+PRESERVED: ::before create block flex on table-row-group in inline-grid | following sibling
+PRESERVED: ::before create block flex on table-row-group in inline-grid | following sibling descendant
STATS: ::before create block flex on table-row-group in inline-grid | rebuilt subtree roots=1, escaped=false
PASS: ::before create block flex on table-row-group in inline-grid | incremental tree matches full rebuild
RECREATED: ::after change position flow-root on table-row-group in table-column | fixture ancestor
@@ -1522,17 +1522,17 @@ RECREATED: ::after change display block flow list-item on table-header-group in
RECREATED: ::after change display block flow list-item on table-header-group in table-footer-group | following sibling descendant
STATS: ::after change display block flow list-item on table-header-group in table-footer-group | rebuilt subtree roots=1, escaped=false
PASS: ::after change display block flow list-item on table-header-group in table-footer-group | incremental tree matches full rebuild
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | fixture ancestor
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | distant sibling
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | distant sibling descendant
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | DOM parent
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | preceding sibling
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | preceding sibling descendant
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | target
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | target descendant
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | following sibling
-RECREATED: ::before create inline-flex on table-footer-group in inline flex | following sibling descendant
-STATS: ::before create inline-flex on table-footer-group in inline flex | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | fixture ancestor
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | distant sibling
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | distant sibling descendant
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | DOM parent
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | preceding sibling
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | preceding sibling descendant
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | target
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | target descendant
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | following sibling
+PRESERVED: ::before create inline-flex on table-footer-group in inline flex | following sibling descendant
+STATS: ::before create inline-flex on table-footer-group in inline flex | rebuilt subtree roots=0, escaped=false
PASS: ::before create inline-flex on table-footer-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::before create table-cell on table-footer-group in run-in | fixture ancestor
PRESERVED: ::before create table-cell on table-footer-group in run-in | distant sibling
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-8.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-8.txt
index ccdb7e3cc08..c44aff77437 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-8.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-8.txt
@@ -1426,17 +1426,17 @@ RECREATED: ::after create -webkit-inline-box on table-row-group in inline flow l
RECREATED: ::after create -webkit-inline-box on table-row-group in inline flow list-item | following sibling descendant
STATS: ::after create -webkit-inline-box on table-row-group in inline flow list-item | rebuilt subtree roots=1, escaped=false
PASS: ::after create -webkit-inline-box on table-row-group in inline flow list-item | incremental tree matches full rebuild
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | fixture ancestor
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | distant sibling
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | distant sibling descendant
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | DOM parent
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | preceding sibling
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | preceding sibling descendant
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | target
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | target descendant
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | following sibling
-RECREATED: ::after create inline flow-root on table-row-group in inline-grid | following sibling descendant
-STATS: ::after create inline flow-root on table-row-group in inline-grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | fixture ancestor
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | distant sibling
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | distant sibling descendant
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | DOM parent
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | preceding sibling
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | preceding sibling descendant
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | target
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | target descendant
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | following sibling
+PRESERVED: ::after create inline flow-root on table-row-group in inline-grid | following sibling descendant
+STATS: ::after create inline flow-root on table-row-group in inline-grid | rebuilt subtree roots=0, escaped=false
PASS: ::after create inline flow-root on table-row-group in inline-grid | incremental tree matches full rebuild
PRESERVED: ::before change clear inline on table-header-group in table-column-group | fixture ancestor
PRESERVED: ::before change clear inline on table-header-group in table-column-group | distant sibling
@@ -1525,13 +1525,13 @@ PASS: ::after change float inline flow list-item on table-header-group in table-
PRESERVED: ::before remove grid on table-footer-group in block grid | fixture ancestor
PRESERVED: ::before remove grid on table-footer-group in block grid | distant sibling
PRESERVED: ::before remove grid on table-footer-group in block grid | distant sibling descendant
-RECREATED: ::before remove grid on table-footer-group in block grid | DOM parent
-RECREATED: ::before remove grid on table-footer-group in block grid | preceding sibling
-RECREATED: ::before remove grid on table-footer-group in block grid | preceding sibling descendant
+PRESERVED: ::before remove grid on table-footer-group in block grid | DOM parent
+PRESERVED: ::before remove grid on table-footer-group in block grid | preceding sibling
+PRESERVED: ::before remove grid on table-footer-group in block grid | preceding sibling descendant
RECREATED: ::before remove grid on table-footer-group in block grid | target
RECREATED: ::before remove grid on table-footer-group in block grid | target descendant
-RECREATED: ::before remove grid on table-footer-group in block grid | following sibling
-RECREATED: ::before remove grid on table-footer-group in block grid | following sibling descendant
+PRESERVED: ::before remove grid on table-footer-group in block grid | following sibling
+PRESERVED: ::before remove grid on table-footer-group in block grid | following sibling descendant
STATS: ::before remove grid on table-footer-group in block grid | rebuilt subtree roots=1, escaped=false
PASS: ::before remove grid on table-footer-group in block grid | incremental tree matches full rebuild
PRESERVED: ::before remove table-column-group on table-footer-group in list-item | fixture ancestor
@@ -1558,16 +1558,16 @@ RECREATED: ::before remove inline table on table-footer-group in table-header-gr
RECREATED: ::before remove inline table on table-footer-group in table-header-group | following sibling descendant
STATS: ::before remove inline table on table-footer-group in table-header-group | rebuilt subtree roots=1, escaped=false
PASS: ::before remove inline table on table-footer-group in table-header-group | incremental tree matches full rebuild
-RECREATED: ::after create flex on table-footer-group in inline flex | fixture ancestor
-RECREATED: ::after create flex on table-footer-group in inline flex | distant sibling
-RECREATED: ::after create flex on table-footer-group in inline flex | distant sibling descendant
-RECREATED: ::after create flex on table-footer-group in inline flex | DOM parent
-RECREATED: ::after create flex on table-footer-group in inline flex | preceding sibling
-RECREATED: ::after create flex on table-footer-group in inline flex | preceding sibling descendant
+PRESERVED: ::after create flex on table-footer-group in inline flex | fixture ancestor
+PRESERVED: ::after create flex on table-footer-group in inline flex | distant sibling
+PRESERVED: ::after create flex on table-footer-group in inline flex | distant sibling descendant
+PRESERVED: ::after create flex on table-footer-group in inline flex | DOM parent
+PRESERVED: ::after create flex on table-footer-group in inline flex | preceding sibling
+PRESERVED: ::after create flex on table-footer-group in inline flex | preceding sibling descendant
RECREATED: ::after create flex on table-footer-group in inline flex | target
RECREATED: ::after create flex on table-footer-group in inline flex | target descendant
-RECREATED: ::after create flex on table-footer-group in inline flex | following sibling
-RECREATED: ::after create flex on table-footer-group in inline flex | following sibling descendant
+PRESERVED: ::after create flex on table-footer-group in inline flex | following sibling
+PRESERVED: ::after create flex on table-footer-group in inline flex | following sibling descendant
STATS: ::after create flex on table-footer-group in inline flex | rebuilt subtree roots=1, escaped=false
PASS: ::after create flex on table-footer-group in inline flex | incremental tree matches full rebuild
PRESERVED: ::after create table-row on table-footer-group in run-in | fixture ancestor
diff --git a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-9.txt b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-9.txt
index 3a9b9799008..b4153522ea7 100644
--- a/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-9.txt
+++ b/Tests/LibWeb/Text/expected/layout-tree-update/style-invalidation-scope-pseudo-elements-9.txt
@@ -1561,14 +1561,14 @@ PASS: ::before change display block flow list-item on table-footer-group in tabl
PRESERVED: ::after remove inline-flex on table-footer-group in block grid | fixture ancestor
PRESERVED: ::after remove inline-flex on table-footer-group in block grid | distant sibling
PRESERVED: ::after remove inline-flex on table-footer-group in block grid | distant sibling descendant
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | DOM parent
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | preceding sibling
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | preceding sibling descendant
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | target
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | target descendant
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | following sibling
-RECREATED: ::after remove inline-flex on table-footer-group in block grid | following sibling descendant
-STATS: ::after remove inline-flex on table-footer-group in block grid | rebuilt subtree roots=1, escaped=false
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | DOM parent
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | preceding sibling
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | preceding sibling descendant
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | target
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | target descendant
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | following sibling
+PRESERVED: ::after remove inline-flex on table-footer-group in block grid | following sibling descendant
+STATS: ::after remove inline-flex on table-footer-group in block grid | rebuilt subtree roots=0, escaped=false
PASS: ::after remove inline-flex on table-footer-group in block grid | incremental tree matches full rebuild
PRESERVED: ::after remove table-cell on table-footer-group in list-item | fixture ancestor
PRESERVED: ::after remove table-cell on table-footer-group in list-item | distant sibling