Truly independent web browser
LibWeb: Use a 13.333px system font for form controls
Andreas Kling7716b55f7711
diff --git a/Libraries/LibWeb/CSS/Default.css b/Libraries/LibWeb/CSS/Default.cssindex 16f10c43522..e2b78309373 100644--- a/Libraries/LibWeb/CSS/Default.css+++ b/Libraries/LibWeb/CSS/Default.css@@ -28,11 +28,15 @@ label {cursor: default;}+/* Form controls use a fixed system font size instead of inheriting the page font. */+input, textarea, select, button {+ font: 13.333333px system-ui;+}+/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */input:not([type=submit], input[type=button], input[type=image], input[type=reset], input[type=color], input[type=checkbox], input[type=file], input[type=radio], input[type=range]), textarea {border: 1px solid ButtonBorder;padding: 2px 4px;- min-height: 16px;cursor: text;background-color: Field;@@ -44,6 +48,7 @@ textarea {display: inline-block;overflow: auto;font-family: monospace;+ font-size: 13.333333px;resize: both;/* This matches the behavior of other engines.* Spec issue: https://github.com/whatwg/html/issues/953 */diff --git a/Tests/LibWeb/Accessibility/expected/form-controls.txt b/Tests/LibWeb/Accessibility/expected/form-controls.txtindex d396ed087d4..29f797c2fe2 100644--- a/Tests/LibWeb/Accessibility/expected/form-controls.txt+++ b/Tests/LibWeb/Accessibility/expected/form-controls.txt@@ -26,9 +26,9 @@ documenttext leaf name=""radio name="Pro plan" unchecked- text leaf name="Pro"text leaf name=""+ text leaf name="Pro"combobox name="Country"option name="United States" selectedoption name="Canada"diff --git a/Tests/LibWeb/Accessibility/expected/text-values.txt b/Tests/LibWeb/Accessibility/expected/text-values.txtindex c6582bacd00..63019ea4585 100644--- a/Tests/LibWeb/Accessibility/expected/text-values.txt+++ b/Tests/LibWeb/Accessibility/expected/text-values.txt@@ -7,5 +7,7 @@ documenttext leaf name=""name="Password field" value="●●●●●●●●●●●●●" editable password+ text leaf name="+"textbox name="Notes" value="note text" editable multilinetext leaf name="note text"diff --git a/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt b/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txtindex 77a16f463fc..5a87a9ba9d3 100644--- a/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt+++ b/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt@@ -1,29 +1,29 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 81.640625x16] baseline: 15.796875- BlockContainer <select#select> at [17,11] inline-block [0+1+8 81.640625 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [17,11] positioned flex-container(row) [0+0+0 81.640625 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [17,11] flex-item [0+0+0 61.640625 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [17,11] [0+0+0 61.640625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [17,11 58.390625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 71.359375x14] baseline: 13.984375+ BlockContainer <select#select> at [17,11] inline-block [0+1+8 71.359375 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [17,11] positioned flex-container(row) [0+0+0 71.359375 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [17,11] flex-item [0+0+0 51.359375 0+0+20] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [17,11] [0+0+0 51.359375 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [17,11 48.65625x14] baseline: 10.984375"Value 1"TextNode <#text> (not painted)- BlockContainer <div> at [17,27] floating [0+0+0 61.640625 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [17,27] [0+0+0 61.640625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [17,27 61.640625x16] baseline: 12.796875+ BlockContainer <div> at [17,25] floating [0+0+0 51.359375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [17,25] [0+0+0 51.359375 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [17,25 51.359375x14] baseline: 10.984375"Value 0"TextNode <#text> (not painted)- BlockContainer <div> at [17,43] [0+0+0 61.640625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [17,43 58.390625x16] baseline: 12.796875+ BlockContainer <div> at [17,39] [0+0+0 51.359375 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [17,39 48.65625x14] baseline: 10.984375"Value 1"TextNode <#text> (not painted)- BlockContainer <div> at [82.640625,11] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [82.640625,11 16x16] baseline: 16- SVGSVGBox <svg> at [82.640625,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <div> at [72.359375,10] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [72.359375,10 16x16] baseline: 16+ SVGSVGBox <svg> at [72.359375,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txtindex e5f3edec044..cf7a88d6f98 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt@@ -1,24 +1,24 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inlineBlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 216 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 200 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [26,20 48.6875x176] baseline: 80.796875+ frag 0 from BlockContainer start: 0, length: 0, rect: [26,20 43.890625x176] baseline: 77.984375TextNode <#text> (not painted)- BlockContainer <button.button.border-black> at [26,20] inline-block [0+10+8 48.6875 8+10+0] [0+10+2 176 2+10+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [26,20] flex-container(column) [0+0+0 48.6875 0+0+0] [0+0+0 176 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [26,30] flex-item [0+0+0 48.6875 0+0+0] [0+0+0 156 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [26,30] [0+0+0 48.6875 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <button.button.border-black> at [26,20] inline-block [0+10+8 43.890625 8+10+0] [0+10+2 176 2+10+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [26,20] flex-container(column) [0+0+0 43.890625 0+0+0] [0+0+0 176 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [26,31] flex-item [0+0+0 43.890625 0+0+0] [0+0+0 154 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [26,31] [0+0+0 43.890625 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <div.border-black> at [36,40] [0+10+0 28.6875 0+10+0] [0+10+0 16 0+10+0] children: inline- frag 0 from TextNode start: 13, length: 3, rect: [36,40 28.6875x16] baseline: 12.796875+ BlockContainer <div.border-black> at [36,41] [0+10+0 23.890625 0+10+0] [0+10+0 14 0+10+0] children: inline+ frag 0 from TextNode start: 13, length: 3, rect: [36,41 23.890625x14] baseline: 10.984375"one"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [26,66] [0+0+0 48.6875 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [26,65] [0+0+0 43.890625 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <div.border-black> at [36,76] [0+10+0 28.6875 0+10+0] [0+10+0 100 0+10+0] children: inline- frag 0 from TextNode start: 13, length: 3, rect: [36.125,76 28.4375x16] baseline: 12.796875+ BlockContainer <div.border-black> at [36,75] [0+10+0 23.890625 0+10+0] [0+10+0 100 0+10+0] children: inline+ frag 0 from TextNode start: 13, length: 3, rect: [36.09375,75 23.6875x14] baseline: 10.984375"two"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [26,186] [0+0+0 48.6875 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [26,185] [0+0+0 43.890625 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txtindex 59a06495b75..cdc46b93615 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-width.txt@@ -1,18 +1,18 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 44 0+0+8] children: not-inline- BlockContainer <button.btn.fixed-width> at [17,11] [0+1+8 182 8+1+584] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 182 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 182 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [60.53125,11 94.921875x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 56 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 40 0+0+8] children: not-inline+ BlockContainer <button.btn.fixed-width> at [17,11] [0+1+8 182 8+1+584] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 182 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 182 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 11, rect: [68.46875,11 79.0625x14] baseline: 10.984375"200px width"TextNode <#text> (not painted)- BlockContainer <button.btn> at [17,33] [0+1+8 324.671875 8+1+441.328125] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,33] flex-container(column) [0+0+0 324.671875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,33] flex-item [0+0+0 324.671875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 39, rect: [17,33 324.671875x16] baseline: 12.796875+ BlockContainer <button.btn> at [17,31] [0+1+8 270.515625 8+1+495.484375] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,31] flex-container(column) [0+0+0 270.515625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,31] flex-item [0+0+0 270.515625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 39, rect: [17,31 270.515625x14] baseline: 10.984375"auto width should behave as fit-content"TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x56] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-min-height.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-min-height.txtindex ee729a4af0b..fd155fff2a0 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-min-height.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-min-height.txt@@ -1,11 +1,11 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inlineBlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 116 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 100 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 143.515625x94] baseline: 54.796875- BlockContainer <button> at [17,11] inline-block [0+1+8 143.515625 8+1+0] [0+1+2 94 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 143.515625 0+0+0] [0+0+0 94 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,50] flex-item [0+0+0 143.515625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 19, rect: [17,50 143.515625x16] baseline: 12.796875+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 119.5625x94] baseline: 53.984375+ BlockContainer <button> at [17,11] inline-block [0+1+8 119.5625 8+1+0] [0+1+2 94 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 119.5625 0+0+0] [0+0+0 94 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,51] flex-item [0+0+0 119.5625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 19, rect: [17,51 119.5625x14] baseline: 10.984375"Middle-aligned text"TextNode <#text> (not painted)TextNode <#text> (not painted)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-multiple-words-text-node-label.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-multiple-words-text-node-label.txtindex cc6723cff01..6662dc195f3 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-multiple-words-text-node-label.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-multiple-words-text-node-label.txt@@ -1,13 +1,13 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 49.921875x16] baseline: 15.796875- BlockContainer <button> at [17,11] inline-block [0+1+8 49.921875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 49.921875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 49.921875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [17,11 49.921875x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 41.609375x14] baseline: 13.984375+ BlockContainer <button> at [17,11] inline-block [0+1+8 41.609375 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 41.609375 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 41.609375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 5, rect: [17,11 41.609375x14] baseline: 10.984375"A B C"TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label.txtindex 99a27adddcd..41fba284181 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label.txt@@ -1,13 +1,13 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 37.21875x16] baseline: 15.796875- BlockContainer <button> at [17,11] inline-block [0+1+8 37.21875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 4, rect: [17,11 37.21875x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 31.015625x14] baseline: 13.984375+ BlockContainer <button> at [17,11] inline-block [0+1+8 31.015625 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 31.015625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 31.015625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 4, rect: [17,11 31.015625x14] baseline: 10.984375"Test"TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt b/Tests/LibWeb/Layout/expected/block-button-margin-auto.txtindex 14e21410615..ae4e8fd0c13 100644--- a/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt+++ b/Tests/LibWeb/Layout/expected/block-button-margin-auto.txt@@ -1,19 +1,19 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: not-inline- BlockContainer <div.container> at [8,8] [0+0+0 400 0+0+384] [0+0+0 22 0+0+0] children: not-inline+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline+ BlockContainer <div.container> at [8,8] [0+0+0 400 0+0+384] [0+0+0 20 0+0+0] children: not-inlineBlockContainer <(anonymous)> at [8,8] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <button> at [189.390625,11] [172.390625+1+8 37.21875 8+1+172.390625] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [189.390625,11] flex-container(column) [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [189.390625,11] flex-item [0+0+0 37.21875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 4, rect: [189.390625,11 37.21875x16] baseline: 12.796875+ BlockContainer <button> at [192.484375,11] [175.484375+1+8 31.015625 8+1+175.484375] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [192.484375,11] flex-container(column) [0+0+0 31.015625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [192.484375,11] flex-item [0+0+0 31.015625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 4, rect: [192.484375,11 31.015625x14] baseline: 10.984375"Test"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,30] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,28] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt b/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txtindex ebd7fd5ac73..20209e0f019 100644--- a/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt+++ b/Tests/LibWeb/Layout/expected/block-in-inline-in-floated-fieldset.txt@@ -1,39 +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 42 0+0+0] [BFC] children: not-inline+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,16] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: not-inlineBlockContainer <ul> at [48,16] [0+0+40 744 0+0+0] [16+0+0 0 0+0+16] children: inlineTextNode <#text> (not painted)- ListItemBox <li> at [720.265625,16] floating [0+0+0 71.734375 0+0+0] [0+0+0 26 0+0+0] [BFC] children: not-inline- ListItemMarkerBox <(anonymous)> at [706.265625,21] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from GeneratedTextNode start: 0, length: 2, rect: [706.265625,21 13.84375x16] baseline: 12.796875+ ListItemBox <li> at [728.5625,16] floating [0+0+0 63.4375 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline+ ListItemMarkerBox <(anonymous)> at [714.5625,19.1875] [0+0+0 13.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline+ frag 0 from GeneratedTextNode start: 0, length: 2, rect: [714.5625,19.1875 13.84375x16] baseline: 12.796875"• "GeneratedTextNode <(anonymous)> (not painted)- BlockContainer <(anonymous)> at [720.265625,16] [0+0+0 71.734375 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [728.5625,16] [0+0+0 63.4375 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <form> at [720.265625,16] [0+0+0 71.734375 0+0+0] [0+0+0 26 0+0+0] children: inline- frag 0 from FieldSetBox start: 0, length: 0, rect: [722.265625,18 67.734375x22] baseline: 17.796875+ BlockContainer <form> at [728.5625,16] [0+0+0 63.4375 0+0+0] [0+0+0 24 0+0+0] children: inline+ frag 0 from FieldSetBox start: 0, length: 0, rect: [730.5625,18 59.4375x20] baseline: 15.984375TextNode <#text> (not painted)- FieldSetBox <fieldset> at [722.265625,18] inline-block [0+2+0 67.734375 0+2+0] [0+2+0 22 0+2+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [722.265625,18] [0+0+0 67.734375 0+0+0] [0+0+0 22 0+0+0] children: inline+ FieldSetBox <fieldset> at [730.5625,18] inline-block [0+2+0 59.4375 0+2+0] [0+2+0 20 0+2+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [730.5625,18] [0+0+0 59.4375 0+0+0] [0+0+0 20 0+0+0] children: inlineTextNode <#text> (not painted)- InlineNode <p> at [722.265625,21] [0+0+0 67.734375 0+0+0] [0+0+0 16 0+0+0]- InlineNode <span.actions> at [722.265625,21] [0+0+0 67.734375 0+0+0] [0+0+0 16 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [731.265625,21 49.734375x16] baseline: 15.796875- BlockContainer <input> at [731.265625,21] [0+1+8 49.734375 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [731.265625,21] flex-container(column) [0+0+0 49.734375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [731.265625,21] flex-item [0+0+0 49.734375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [731.265625,21 49.734375x16] baseline: 12.796875- BlockContainer <span> at [731.265625,21] inline-block [0+0+0 49.734375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 4, rect: [731.265625,21 49.734375x16] baseline: 12.796875+ InlineNode <p> at [730.5625,21] [0+0+0 59.4375 0+0+0] [0+0+0 16 0+0+0]+ InlineNode <span.actions> at [730.5625,21] [0+0+0 59.4375 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from BlockContainer start: 0, length: 0, rect: [739.5625,21 41.4375x14] baseline: 13.984375+ BlockContainer <input> at [739.5625,21] [0+1+8 41.4375 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [739.5625,21] flex-container(column) [0+0+0 41.4375 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [739.5625,21] flex-item [0+0+0 41.4375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [739.5625,21 41.4375x14] baseline: 10.984375+ BlockContainer <span> at [739.5625,21] inline-block [0+0+0 41.4375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 4, rect: [739.5625,21 41.4375x14] baseline: 10.984375"PASS"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [720.265625,42] [0+0+0 71.734375 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [728.5625,40] [0+0+0 63.4375 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,16] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/button-with-before-and-after-pseudo-elements.txt b/Tests/LibWeb/Layout/expected/button-with-before-and-after-pseudo-elements.txtindex dfcbb4f5de6..d52d3c03c53 100644--- a/Tests/LibWeb/Layout/expected/button-with-before-and-after-pseudo-elements.txt+++ b/Tests/LibWeb/Layout/expected/button-with-before-and-after-pseudo-elements.txt@@ -1,22 +1,22 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 82x16] baseline: 15.796875- BlockContainer <button> at [17,11] inline-block [0+1+8 82 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 82 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 82 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [44.15625,11 27.640625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 68.296875x14] baseline: 13.984375+ BlockContainer <button> at [17,11] inline-block [0+1+8 68.296875 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 68.296875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 68.296875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 3, rect: [39.609375,11 23.03125x14] baseline: 10.984375"bar"- InlineNode <(anonymous)> at [17,11] [0+0+0 27.15625 0+0+0] [0+0+0 16 0+0+0]- frag 0 from GeneratedTextNode start: 0, length: 3, rect: [17,11 27.15625x16] baseline: 12.796875+ InlineNode <(anonymous)> at [17,11] [0+0+0 22.609375 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from GeneratedTextNode start: 0, length: 3, rect: [17,11 22.609375x14] baseline: 10.984375"foo"GeneratedTextNode <(anonymous)> (not painted)TextNode <#text> (not painted)- InlineNode <(anonymous)> at [71.796875,11] [0+0+0 27.203125 0+0+0] [0+0+0 16 0+0+0]- frag 0 from GeneratedTextNode start: 0, length: 3, rect: [71.796875,11 27.203125x16] baseline: 12.796875+ InlineNode <(anonymous)> at [62.640625,11] [0+0+0 22.65625 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from GeneratedTextNode start: 0, length: 3, rect: [62.640625,11 22.65625x14] baseline: 10.984375"baz"GeneratedTextNode <(anonymous)> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/css-appearance-none.txt b/Tests/LibWeb/Layout/expected/css-appearance-none.txtindex 263fcddf8a0..32fedc1f1ba 100644--- a/Tests/LibWeb/Layout/expected/css-appearance-none.txt+++ b/Tests/LibWeb/Layout/expected/css-appearance-none.txt@@ -1,60 +1,60 @@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 124.40625 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 108.40625 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 0x16] baseline: 15.796875- frag 1 from TextNode start: 0, length: 13, rect: [26,11 116.171875x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120.40625 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104.40625 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 0x14] baseline: 13.984375+ frag 1 from TextNode start: 0, length: 13, rect: [26,9 116.171875x16] baseline: 12.796875"Normal button"- frag 2 from BlockContainer start: 0, length: 0, rect: [17,33 0x16] baseline: 15.796875- frag 3 from TextNode start: 0, length: 20, rect: [26,33 181.203125x16] baseline: 12.796875+ frag 2 from BlockContainer start: 0, length: 0, rect: [17,31 0x14] baseline: 13.984375+ frag 3 from TextNode start: 0, length: 20, rect: [26,29 181.203125x16] baseline: 12.796875"No appearance button"- frag 4 from CheckBox start: 0, length: 0, rect: [8,52 13x13] baseline: 13- frag 5 from TextNode start: 0, length: 15, rect: [21,52 136.296875x16] baseline: 12.796875+ frag 4 from CheckBox start: 0, length: 0, rect: [8,48 13x13] baseline: 13+ frag 5 from TextNode start: 0, length: 15, rect: [21,48 136.296875x16] baseline: 12.796875"Normal checkbox"- frag 6 from BlockContainer start: 0, length: 0, rect: [8,81 0x0] baseline: 0- frag 7 from TextNode start: 0, length: 22, rect: [8,68 201.328125x16] baseline: 12.796875+ frag 6 from BlockContainer start: 0, length: 0, rect: [8,77 0x0] baseline: 0+ frag 7 from TextNode start: 0, length: 22, rect: [8,64 201.328125x16] baseline: 12.796875"No appearance checkbox"- frag 8 from RadioButton start: 0, length: 0, rect: [8,85 12x12] baseline: 12- frag 9 from TextNode start: 0, length: 12, rect: [20,84 104.203125x16] baseline: 12.796875+ frag 8 from RadioButton start: 0, length: 0, rect: [8,81 12x12] baseline: 12+ frag 9 from TextNode start: 0, length: 12, rect: [20,80 104.203125x16] baseline: 12.796875"Normal radio"- frag 10 from BlockContainer start: 0, length: 0, rect: [8,113 0x0] baseline: 0- frag 11 from TextNode start: 0, length: 19, rect: [8,100 169.234375x16] baseline: 12.796875+ frag 10 from BlockContainer start: 0, length: 0, rect: [8,109 0x0] baseline: 0+ frag 11 from TextNode start: 0, length: 19, rect: [8,96 169.234375x16] baseline: 12.796875"No appearance radio"- BlockContainer <input> at [17,11] inline-block [0+1+8 0 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 0x16] baseline: 12.796875- BlockContainer <span> at [17,11] inline-block [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [17,11 0x16] baseline: 12.796875+ BlockContainer <input> at [17,11] inline-block [0+1+8 0 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 0x14] baseline: 10.984375+ BlockContainer <span> at [17,11] inline-block [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [17,11 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- BlockContainer <input> at [17,33] inline-block [0+1+8 0 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,33] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,33] flex-item [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,33 0x16] baseline: 12.796875- BlockContainer <span> at [17,33] inline-block [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [17,33 0x16] baseline: 12.796875+ BlockContainer <input> at [17,31] inline-block [0+1+8 0 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,31] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,31] flex-item [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,31 0x14] baseline: 10.984375+ BlockContainer <span> at [17,31] inline-block [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [17,31 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- CheckBox <input> at [8,52] inline-block [0+0+0 13 0+0+0] [0+0+0 13 0+0+0] children: not-inline+ CheckBox <input> at [8,48] inline-block [0+0+0 13 0+0+0] [0+0+0 13 0+0+0] children: not-inlineTextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- BlockContainer <input> at [8,81] inline-block [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <input> at [8,77] inline-block [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inlineTextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- RadioButton <input> at [8,85] inline-block [0+0+0 12 0+0+0] [0+0+0 12 0+0+0] children: not-inline+ RadioButton <input> at [8,81] inline-block [0+0+0 12 0+0+0] [0+0+0 12 0+0+0] children: not-inlineTextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- BlockContainer <input> at [8,113] inline-block [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <input> at [8,109] inline-block [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inlineTextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x124.40625] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x120.40625] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/css-line-height-zero.txt b/Tests/LibWeb/Layout/expected/css-line-height-zero.txtindex ee8cc6ca74c..aeb1f7ea813 100644--- a/Tests/LibWeb/Layout/expected/css-line-height-zero.txt+++ b/Tests/LibWeb/Layout/expected/css-line-height-zero.txt@@ -1,30 +1,30 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 90 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 74 0+0+8] children: not-inline- TextInputBox <input#a> at [13,11] [0+1+4 191.875 4+1+582.125] [0+1+2 16 2+1+0] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [13,11 91.953125x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 68 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 52 0+0+8] children: not-inline+ TextInputBox <input#a> at [13,11] [0+1+4 159.6875 4+1+614.3125] [0+1+2 14 2+1+0] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 11, rect: [13,11 76.609375x14] baseline: 10.984375"Hello World"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- TextInputBox <input#b> at [13,33] [0+1+4 191.875 4+1+582.125] [0+1+2 16 2+1+0] children: not-inline- Box <div> at [13,33] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,33] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [13,33 91.953125x16] baseline: 12.796875+ TextInputBox <input#b> at [13,31] [0+1+4 159.6875 4+1+614.3125] [0+1+2 0 2+1+0] children: not-inline+ Box <div> at [13,31] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,24] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 11, rect: [13,24 76.609375x14] baseline: 10.984375"Hello World"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- TextInputBox <input#c> at [13,55] [0+1+4 191.875 4+1+582.125] [0+1+2 24 2+1+0] children: not-inline- Box <div> at [13,55] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 24 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,55] flex-item [0+0+0 191.875 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [13,59 91.953125x16] baseline: 12.796875+ TextInputBox <input#c> at [13,37] [0+1+4 159.6875 4+1+614.3125] [0+1+2 20 2+1+0] children: not-inline+ Box <div> at [13,37] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,37] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 11, rect: [13,40 76.609375x14] baseline: 10.984375"Hello World"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,82] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,60] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x90] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt b/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txtindex 96af2e7d42a..d743dedc885 100644--- a/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt+++ b/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt@@ -1,55 +1,55 @@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 70 0+0+0] [BFC] children: not-inline+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 72 0+0+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 54 0+0+8] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 56 0+0+8] children: not-inlineBlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 38 0+0+0] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,43 191.875x16] baseline: 15.796875- frag 1 from TextNode start: 0, length: 1, rect: [209.875,43 8x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 40 0+0+0] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,47 159.6875x14] baseline: 13.984375+ frag 1 from TextNode start: 0, length: 1, rect: [177.6875,45 8x16] baseline: 12.796875" "- frag 2 from TextAreaBox start: 0, length: 0, rect: [220.875,27 155.9375x26] baseline: 32- frag 3 from TextNode start: 0, length: 1, rect: [379.8125,43 8x16] baseline: 12.796875+ frag 2 from TextAreaBox start: 0, length: 0, rect: [188.6875,27 159.6875x28] baseline: 34+ frag 3 from TextNode start: 0, length: 1, rect: [351.375,45 8x16] baseline: 12.796875" "- frag 4 from TextInputBox start: 0, length: 0, rect: [392.8125,43 191.875x16] baseline: 15.796875- frag 5 from TextNode start: 0, length: 1, rect: [589.6875,43 8x16] baseline: 12.796875+ frag 4 from TextInputBox start: 0, length: 0, rect: [364.375,47 159.6875x14] baseline: 13.984375+ frag 5 from TextNode start: 0, length: 1, rect: [529.0625,45 8x16] baseline: 12.796875" "- frag 6 from TextAreaBox start: 0, length: 0, rect: [600.6875,27 155.9375x26] baseline: 32+ frag 6 from TextAreaBox start: 0, length: 0, rect: [540.0625,27 159.6875x28] baseline: 34TextNode <#text> (not painted)- TextInputBox <input> at [13,43] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,43] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,43] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,43 0x16] baseline: 12.796875+ TextInputBox <input> at [13,47] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,47] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,47] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,47 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [13,43] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [13,43 36.84375x16] baseline: 12.796875+ BlockContainer <div> at [13,47] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 5, rect: [13,47 30.703125x14] baseline: 10.984375"hello"TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea> at [220.875,27] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [220.875,27] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [220.875,27] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [220.875,27 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [188.6875,27] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [188.6875,27] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [188.6875,27] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [188.6875,27 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [220.875,27] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [220.875,27 29.921875x13] baseline: 10.390625+ BlockContainer <div> at [188.6875,27] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 5, rect: [188.6875,27 30.703125x14] baseline: 10.984375"hello"TextNode <#text> (not painted)TextNode <#text> (not painted)- TextInputBox <input> at [392.8125,43] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [392.8125,43] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [392.8125,43] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [392.8125,43 0x16] baseline: 12.796875+ TextInputBox <input> at [364.375,47] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [364.375,47] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [364.375,47] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [364.375,47 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea> at [600.6875,27] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [600.6875,27] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [600.6875,27] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [600.6875,27 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [540.0625,27] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [540.0625,27] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [540.0625,27] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [540.0625,27 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x72] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt b/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txtindex e488566e019..5bd80b473f5 100644--- a/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt+++ b/Tests/LibWeb/Layout/expected/flex-item-baseline-ignores-vertical-align.txt@@ -1,22 +1,22 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 48 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 32 0+0+8] children: not-inline- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 32 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [8,11 15.765625x26] baseline: 20.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 26 0+0+8] children: not-inline+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 26 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [8,8 15.765625x26] baseline: 20.796875"x"- frag 1 from Box start: 0, length: 0, rect: [32.765625,11 14.78125x26] baseline: 23.796875- frag 2 from TextNode start: 0, length: 1, rect: [56.546875,11 11.65625x26] baseline: 20.796875+ frag 1 from Box start: 0, length: 0, rect: [32.765625,17 7.578125x14] baseline: 13.984375+ frag 2 from TextNode start: 0, length: 1, rect: [49.34375,8 11.65625x26] baseline: 20.796875"y"TextNode <#text> (not painted)- Box <button> at [32.765625,11] flex-container(row) [0+1+8 14.78125 8+1+0] [0+1+2 26 2+1+0] [FFC] children: not-inline- Box <span> at [32.765625,11] flex-container(row) flex-item [0+0+0 14.78125 0+0+0] [0+0+0 26 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [32.765625,11] flex-item [0+0+0 14.78125 0+0+0] [0+0+0 26 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [32.765625,11 14.78125x26] baseline: 20.796875+ Box <button> at [32.765625,17] flex-container(row) [0+1+8 7.578125 8+1+0] [0+1+2 14 2+1+0] [FFC] children: not-inline+ Box <span> at [32.765625,17] flex-container(row) flex-item [0+0+0 7.578125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [32.765625,17] flex-item [0+0+0 7.578125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [32.765625,17 7.578125x14] baseline: 10.984375"3"TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,40] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,34] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt b/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txtindex 384c965e60d..3560296db2f 100644--- a/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt+++ b/Tests/LibWeb/Layout/expected/flex-item-flex-button-percentage-height-child.txt@@ -3,16 +3,16 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 280 0+0+8] children: not-inlineBox <div.c> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inlineBox <button#b1> at [8,8] flex-container(row) flex-item [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline- BlockContainer <div.b> at [8,8] flex-item [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [13.140625,8 9.703125x16] baseline: 12.796875+ BlockContainer <div.b> at [8,8] flex-item [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [13.953125,8 8.078125x14] baseline: 10.984375"x"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)Box <div.ca> at [8,208] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inlineBox <button#b2> at [8,208] flex-container(row) flex-item [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline- BlockContainer <div.b> at [8,208] flex-item [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [13.140625,208 9.703125x16] baseline: 12.796875+ BlockContainer <div.b> at [8,208] flex-item [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [13.953125,208 8.078125x14] baseline: 10.984375"x"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlinediff --git a/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt b/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txtindex f75efada579..4a15d829c63 100644--- a/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt+++ b/Tests/LibWeb/Layout/expected/flex-item-max-content-button-percentage-height-child.txt@@ -4,9 +4,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBox <div.c> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inlineBlockContainer <button#b1> at [8,8] flex-item [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [8,8] flex-container(column) [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,40] flex-item [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div.b> at [8,40] [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [13.140625,40 9.703125x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [8,41] flex-item [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div.b> at [8,41] [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [13.953125,41 8.078125x14] baseline: 10.984375"x"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline@@ -14,9 +14,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBox <div.ca> at [8,208] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inlineBlockContainer <button#b2> at [8,208] flex-item [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [8,208] flex-container(column) [0+0+0 20 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,240] flex-item [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div.b> at [8,240] [0+0+0 20 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [13.140625,240 9.703125x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [8,241] flex-item [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div.b> at [8,241] [0+0+0 20 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [13.953125,241 8.078125x14] baseline: 10.984375"x"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,288] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlinediff --git a/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt b/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txtindex f3a6e8ba8ff..d067ad3a9fa 100644--- a/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt+++ b/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt@@ -1,22 +1,22 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 54 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 38 0+0+8] children: not-inline- Box <div> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- BlockContainer <button> at [17,11] flex-item [0+1+8 766 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 766 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 766 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [386.421875,11 27.15625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 52 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 36 0+0+8] children: not-inline+ Box <div> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ BlockContainer <button> at [17,11] flex-item [0+1+8 766 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 766 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 766 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 3, rect: [388.6875,11 22.609375x14] baseline: 10.984375"foo"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- Box <div> at [8,30] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <span> at [8,30] flex-item [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [8,30 27.640625x16] baseline: 12.796875+ Box <div> at [8,28] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline+ BlockContainer <span> at [8,28] flex-item [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 3, rect: [8,28 27.640625x16] baseline: 12.796875"bar"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,46] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x54] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x52] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt b/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txtindex 5ff031e8e89..c51591ada08 100644--- a/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt+++ b/Tests/LibWeb/Layout/expected/flex/flex-item-with-percentage-width-in-flex-container-with-definite-max-width.txt@@ -1,13 +1,13 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- Box <body> at [8,8] flex-container(row) [8+0+0 50 0+0+742] [8+0+0 22 0+0+8] [FFC] children: not-inline- BlockContainer <div> at [8,8] flex-item [0+0+0 293.546875 0+0+0] [0+0+0 22 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 275.546875x16] baseline: 15.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ Box <body> at [8,8] flex-container(row) [8+0+0 50 0+0+742] [8+0+0 20 0+0+8] [FFC] children: not-inline+ BlockContainer <div> at [8,8] flex-item [0+0+0 247.453125 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 229.453125x14] baseline: 13.984375TextNode <#text> (not painted)- BlockContainer <button> at [17,11] inline-block [0+1+8 275.546875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 275.546875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 275.546875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 5, length: 24, rect: [17,11 275.546875x16] baseline: 12.796875+ BlockContainer <button> at [17,11] inline-block [0+1+8 229.453125 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 229.453125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 229.453125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 5, length: 24, rect: [17,11 229.453125x14] baseline: 10.984375"LOOOOOOOOOOOOOOOOOOOOONG"TextNode <#text> (not painted)TextNode <#text> (not painted)@@ -15,4 +15,4 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt b/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txtindex af8313b6b06..d7a2f68c78d 100644--- a/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt+++ b/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt@@ -1,15 +1,15 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: not-inline- Box <div.layout-container> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- Box <div.cpd-form-field> at [8,8] flex-container(column) flex-item [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- TextInputBox <input> at [13,11] flex-item [0+1+4 774 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,11 0x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline+ Box <div.layout-container> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ Box <div.cpd-form-field> at [8,8] flex-container(column) flex-item [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ TextInputBox <input> at [13,11] flex-item [0+1+4 774 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 774 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 774 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,11 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt b/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txtindex 43deec969a0..1905273f60b 100644--- a/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt+++ b/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt@@ -1,54 +1,54 @@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 89.203125 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 73.203125 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,27 191.875x16] baseline: 15.796875- frag 1 from TextAreaBox start: 0, length: 0, rect: [243.0625,11 155.9375x26] baseline: 32- frag 2 from TextInputBox start: 0, length: 0, rect: [437.1875,27 191.875x16] baseline: 15.796875- frag 3 from TextNode start: 0, length: 1, rect: [634.0625,27 8x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 56 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 40 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,31 159.6875x14] baseline: 13.984375+ frag 1 from TextAreaBox start: 0, length: 0, rect: [210.875,11 159.6875x28] baseline: 34+ frag 2 from TextInputBox start: 0, length: 0, rect: [408.75,31 159.6875x14] baseline: 13.984375+ frag 3 from TextNode start: 0, length: 1, rect: [573.4375,29 8x16] baseline: 12.796875" "- frag 4 from TextAreaBox start: 0, length: 0, rect: [11,49 155.9375x26] baseline: 32- TextInputBox <input> at [13,27] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,27] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,27] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,27 0x16] baseline: 12.796875+ frag 4 from TextAreaBox start: 0, length: 0, rect: [614.625,11 159.6875x28] baseline: 34+ TextInputBox <input> at [13,31] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,31] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,31] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,31 0x14] baseline: 10.984375TextNode <#text> (not painted)- InlineNode <span> at [209.875,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 3, rect: [209.875,27 30.1875x16] baseline: 12.796875+ InlineNode <span> at [177.6875,29] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]+ frag 0 from TextNode start: 0, length: 3, rect: [177.6875,29 30.1875x16] baseline: 12.796875"boo"TextNode <#text> (not painted)- TextAreaBox <textarea> at [243.0625,11] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [243.0625,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [243.0625,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [243.0625,11 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [210.875,11] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [210.875,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [210.875,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [210.875,11 0x14] baseline: 10.984375TextNode <#text> (not painted)- InlineNode <span> at [402,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 3, rect: [402,27 30.1875x16] baseline: 12.796875+ InlineNode <span> at [373.5625,29] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]+ frag 0 from TextNode start: 0, length: 3, rect: [373.5625,29 30.1875x16] baseline: 12.796875"boo"TextNode <#text> (not painted)- TextInputBox <input> at [437.1875,27] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [437.1875,27] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [437.1875,27] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [437.1875,27 0x16] baseline: 12.796875+ TextInputBox <input> at [408.75,31] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [408.75,31] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [408.75,31] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [408.75,31 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [437.1875,27] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [437.1875,27 36.84375x16] baseline: 12.796875+ BlockContainer <div> at [408.75,31] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 5, rect: [408.75,31 30.703125x14] baseline: 10.984375"hello"TextNode <#text> (not painted)TextNode <#text> (not painted)- InlineNode <span> at [642.0625,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 3, rect: [642.0625,27 30.1875x16] baseline: 12.796875+ InlineNode <span> at [581.4375,29] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]+ frag 0 from TextNode start: 0, length: 3, rect: [581.4375,29 30.1875x16] baseline: 12.796875"boo"TextNode <#text> (not painted)- TextAreaBox <textarea> at [11,49] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [11,49] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,49] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [11,49 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [614.625,11] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [614.625,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [614.625,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [614.625,11 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [11,49] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [11,49 29.921875x13] baseline: 10.390625+ BlockContainer <div> at [614.625,11] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 5, rect: [614.625,11 30.703125x14] baseline: 10.984375"hello"TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x89.203125] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x56] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt b/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txtindex 56c5d01c177..d4cf3174a93 100644--- a/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt+++ b/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt@@ -1,44 +1,44 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 128 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 112 0+0+8] children: inline- frag 0 from TextAreaBox start: 0, length: 0, rect: [11,36 233.90625x52] baseline: 58- frag 1 from TextNode start: 0, length: 1, rect: [247.90625,79 8x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 127 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 111 0+0+8] children: inline+ frag 0 from TextAreaBox start: 0, length: 0, rect: [11,34 239.53125x56] baseline: 62+ frag 1 from TextNode start: 0, length: 1, rect: [253.53125,81 8x16] baseline: 12.796875" "- frag 2 from TextInputBox start: 0, length: 0, rect: [260.90625,79 239.84375x16] baseline: 15.796875- frag 3 from TextNode start: 0, length: 1, rect: [505.75,79 8x16] baseline: 12.796875+ frag 2 from TextInputBox start: 0, length: 0, rect: [266.53125,82 199.609375x14] baseline: 13.984375+ frag 3 from TextNode start: 0, length: 1, rect: [471.140625,81 8x16] baseline: 12.796875" "- frag 4 from TextAreaBox start: 0, length: 0, rect: [516.75,11 65x77.96875] baseline: 83.96875- frag 5 from TextNode start: 0, length: 1, rect: [584.75,79 8x16] baseline: 12.796875+ frag 4 from TextAreaBox start: 0, length: 0, rect: [482.140625,11 70x79.84375] baseline: 85.84375+ frag 5 from TextNode start: 0, length: 1, rect: [555.140625,81 8x16] baseline: 12.796875" "- frag 6 from CanvasBox start: 0, length: 0, rect: [592.75,71 120x20] baseline: 20- frag 7 from BlockContainer start: 0, length: 0, rect: [13,101 143.90625x16] baseline: 15.796875- TextAreaBox <textarea#textarea> at [11,36] inline-block [0+1+2 233.90625 2+1+0] [0+1+2 52 2+1+0] [BFC] children: not-inline- Box <div> at [11,36] flex-container(row) [0+0+0 233.90625 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,36] flex-item [0+0+0 233.90625 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [11,36 0x13] baseline: 10.390625+ frag 6 from CanvasBox start: 0, length: 0, rect: [563.140625,73 120x20] baseline: 20+ frag 7 from BlockContainer start: 0, length: 0, rect: [13,102 119.765625x14] baseline: 13.984375+ TextAreaBox <textarea#textarea> at [11,34] inline-block [0+1+2 239.53125 2+1+0] [0+1+2 56 2+1+0] [BFC] children: not-inline+ Box <div> at [11,34] flex-container(row) [0+0+0 239.53125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,34] flex-item [0+0+0 239.53125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [11,34 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextInputBox <input#input> at [260.90625,79] inline-block [0+1+4 239.84375 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [260.90625,79] flex-container(row) [0+0+0 239.84375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [260.90625,79] flex-item [0+0+0 239.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [260.90625,79 0x16] baseline: 12.796875+ TextInputBox <input#input> at [266.53125,82] inline-block [0+1+4 199.609375 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [266.53125,82] flex-container(row) [0+0+0 199.609375 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [266.53125,82] flex-item [0+0+0 199.609375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [266.53125,82 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea#vertical-textarea> at [516.75,11] inline-block [0+1+2 65 2+1+0] [0+1+2 77.96875 2+1+0] [BFC] children: not-inline- Box <div> at [568.75,11] flex-container(row) [0+0+0 13 0+0+0] [0+0+0 77.96875 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [568.75,11] flex-item [0+0+0 13 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [568.75,11 13x0] baseline: 10.390625+ TextAreaBox <textarea#vertical-textarea> at [482.140625,11] inline-block [0+1+2 70 2+1+0] [0+1+2 79.84375 2+1+0] [BFC] children: not-inline+ Box <div> at [538.140625,11] flex-container(row) [0+0+0 14 0+0+0] [0+0+0 79.84375 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [538.140625,11] flex-item [0+0+0 14 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [538.140625,11 14x0] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- CanvasBox <canvas#canvas> at [592.75,71] [0+0+0 120 0+0+0] [0+0+0 20 0+0+0] children: not-inline+ CanvasBox <canvas#canvas> at [563.140625,73] [0+0+0 120 0+0+0] [0+0+0 20 0+0+0] children: not-inlineTextNode <#text> (not painted)- BlockContainer <input#becomes-text> at [13,101] inline-block [0+1+4 143.90625 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,101] flex-container(row) [0+0+0 143.90625 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,101] flex-item [0+0+0 143.90625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,101 0x16] baseline: 12.796875+ BlockContainer <input#becomes-text> at [13,102] inline-block [0+1+4 119.765625 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,102] flex-container(row) [0+0+0 119.765625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,102] flex-item [0+0+0 119.765625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,102 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x128] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x127] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/inline-button-line-height.txt b/Tests/LibWeb/Layout/expected/inline-button-line-height.txtindex d967c7e9ccc..1b132a7c317 100644--- a/Tests/LibWeb/Layout/expected/inline-button-line-height.txt+++ b/Tests/LibWeb/Layout/expected/inline-button-line-height.txt@@ -64,63 +64,63 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBlockContainer <(anonymous)> (not painted) [BFC] children: inlineTextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,197] [0+0+0 300 0+0+0] [0+0+0 154 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [119,259 20x20] baseline: 16+ frag 0 from TextNode start: 0, length: 1, rect: [119,256 20x20] baseline: 16" "- frag 1 from TextNode start: 0, length: 1, rect: [128,317 20x20] baseline: 16+ frag 1 from TextNode start: 0, length: 1, rect: [128,314 20x20] baseline: 16" "TextNode <#text> (not painted)InlineNode <a> at [8,199] [0+0+0 171 0+0+0] [0+0+0 44 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [15,199 157x44] baseline: 30+ frag 0 from BlockContainer start: 0, length: 0, rect: [15,199 157x44] baseline: 27.984375BlockContainer <input.radios--input> at [15,199] inline-block [0+2+5 157 5+2+0] [0+2+0 44 0+2+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [15,199] flex-container(column) [0+0+0 157 0+0+0] [0+0+0 44 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [15,211] flex-item [0+0+0 157 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [15,211 420x20] baseline: 16- BlockContainer <span> at [15,211] inline-block [0+0+0 420 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 21, rect: [15,211 420x20] baseline: 16+ BlockContainer <(anonymous)> at [15,214] flex-item [0+0+0 157 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [23,214 141x14] baseline: 10.984375+ BlockContainer <span> at [23,214] inline-block [0+0+0 141 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 21, rect: [23,214 141x14] baseline: 10.984375"100ml Limited Edition"TextNode <#text> (not painted)TextNode <#text> (not painted)InlineNode <a> at [8,247] [0+0+0 111 0+0+0] [0+0+0 44 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [15,247 97x44] baseline: 30+ frag 0 from BlockContainer start: 0, length: 0, rect: [15,247 97x44] baseline: 27.984375BlockContainer <input.radios--input> at [15,247] inline-block [0+2+5 97 5+2+0] [0+2+0 44 0+2+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [15,247] flex-container(column) [0+0+0 97 0+0+0] [0+0+0 44 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [15,259] flex-item [0+0+0 97 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [15,259 240x20] baseline: 16- BlockContainer <span> at [15,259] inline-block [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 12, rect: [15,259 240x20] baseline: 16+ BlockContainer <(anonymous)> at [15,262] flex-item [0+0+0 97 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [21.390625,262 84.21875x14] baseline: 10.984375+ BlockContainer <span> at [21.390625,262] inline-block [0+0+0 84.21875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 12, rect: [21.390625,262 84.21875x14] baseline: 10.984375"Coffret 30ml"TextNode <#text> (not painted)TextNode <#text> (not painted)InlineNode <a> at [139,247] [0+0+0 111 0+0+0] [0+0+0 44 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [146,247 97x44] baseline: 30+ frag 0 from BlockContainer start: 0, length: 0, rect: [146,247 97x44] baseline: 27.984375BlockContainer <input.radios--input> at [146,247] inline-block [0+2+5 97 5+2+0] [0+2+0 44 0+2+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [146,247] flex-container(column) [0+0+0 97 0+0+0] [0+0+0 44 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [146,259] flex-item [0+0+0 97 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [146,259 240x20] baseline: 16- BlockContainer <span> at [146,259] inline-block [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 12, rect: [146,259 240x20] baseline: 16+ BlockContainer <(anonymous)> at [146,262] flex-item [0+0+0 97 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [152.65625,262 83.6875x14] baseline: 10.984375+ BlockContainer <span> at [152.65625,262] inline-block [0+0+0 83.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 12, rect: [152.65625,262 83.6875x14] baseline: 10.984375"Coffret 50ml"TextNode <#text> (not painted)TextNode <#text> (not painted)InlineNode <a> at [8,305] [0+0+0 120 0+0+0] [0+0+0 44 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [15,305 106x44] baseline: 40+ frag 0 from BlockContainer start: 0, length: 0, rect: [15,305 106x44] baseline: 37.984375BlockContainer <input.radios--input> at [15,305] inline-block [0+2+5 106 5+2+0] [10+2+0 44 0+2+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [15,305] flex-container(column) [0+0+0 106 0+0+0] [0+0+0 44 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [15,317] flex-item [0+0+0 106 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [15,317 260x20] baseline: 16- BlockContainer <span> at [15,317] inline-block [0+0+0 260 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 13, rect: [15,317 260x20] baseline: 16+ BlockContainer <(anonymous)> at [15,320] flex-item [0+0+0 106 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [23.046875,320 89.90625x14] baseline: 10.984375+ BlockContainer <span> at [23.046875,320] inline-block [0+0+0 89.90625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 13, rect: [23.046875,320 89.90625x14] baseline: 10.984375"Coffret 100ml"TextNode <#text> (not painted)TextNode <#text> (not painted)InlineNode <a> at [148,305] [0+0+0 149 0+0+0] [0+0+0 44 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [155,305 135x44] baseline: 40+ frag 0 from BlockContainer start: 0, length: 0, rect: [155,305 135x44] baseline: 37.984375BlockContainer <input.radios--input> at [155,305] inline-block [0+2+5 135 5+2+0] [10+2+0 44 0+2+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [155,305] flex-container(column) [0+0+0 135 0+0+0] [0+0+0 44 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [155,317] flex-item [0+0+0 135 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [155,317 320x20] baseline: 16- BlockContainer <span> at [155,317] inline-block [0+0+0 320 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 16, rect: [155,317 320x20] baseline: 16+ BlockContainer <(anonymous)> at [155,320] flex-item [0+0+0 135 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [164.640625,320 115.71875x14] baseline: 10.984375+ BlockContainer <span> at [164.640625,320] inline-block [0+0+0 115.71875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 16, rect: [164.640625,320 115.71875x14] baseline: 10.984375"Lait corps 200ml"TextNode <#text> (not painted)TextNode <#text> (not painted)diff --git a/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt b/Tests/LibWeb/Layout/expected/input-file-after-type-change.txtindex 969948c4a3f..b5cbb6d6cbf 100644--- a/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt+++ b/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt@@ -1,23 +1,23 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 244.65625x22] baseline: 15.796875- BlockContainer <input#target> at [8,8] inline-block [0+0+0 244.65625 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [8,8] flex-container(column) [0+0+0 244.65625 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 244.65625 0+0+0] [0+0+0 22 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 94.375x16] baseline: 15.796875- BlockContainer <button> at [17,11] inline-block [0+1+8 94.375 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 94.375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 94.375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [17,11 94.375x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 207.546875x20] baseline: 13.984375+ BlockContainer <input#target> at [8,8] inline-block [0+0+0 207.546875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [8,8] flex-container(column) [0+0+0 207.546875 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 207.546875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 78.65625x14] baseline: 13.984375+ BlockContainer <button> at [17,11] inline-block [0+1+8 78.65625 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 78.65625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 78.65625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [17,11 78.65625x14] baseline: 10.984375"Select file..."TextNode <#text> (not painted)- InlineNode <label> at [124.375,11] [0+0+4 128.28125 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 17, rect: [124.375,11 128.28125x16] baseline: 12.796875+ InlineNode <label> at [108.65625,11] [0+0+4 106.890625 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from TextNode start: 0, length: 17, rect: [108.65625,11 106.890625x14] baseline: 10.984375"No file selected."TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-file.txt b/Tests/LibWeb/Layout/expected/input-file.txtindex de03a4c97b5..6030ab90b25 100644--- a/Tests/LibWeb/Layout/expected/input-file.txt+++ b/Tests/LibWeb/Layout/expected/input-file.txt@@ -1,57 +1,59 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 44 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 244.65625x22] baseline: 15.796875- frag 1 from TextNode start: 0, length: 1, rect: [252.65625,11 8x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 207.546875x20] baseline: 13.984375+ frag 1 from TextNode start: 0, length: 1, rect: [215.546875,9 8x16] baseline: 12.796875" "- frag 2 from BlockContainer start: 0, length: 0, rect: [260.65625,8 263.34375x22] baseline: 15.796875- frag 3 from BlockContainer start: 0, length: 0, rect: [8,30 263.34375x22] baseline: 15.796875- BlockContainer <input> at [8,8] inline-block [0+0+0 244.65625 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [8,8] flex-container(column) [0+0+0 244.65625 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 244.65625 0+0+0] [0+0+0 22 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 94.375x16] baseline: 15.796875- BlockContainer <button> at [17,11] inline-block [0+1+8 94.375 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 94.375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 94.375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [17,11 94.375x16] baseline: 12.796875+ frag 2 from BlockContainer start: 0, length: 0, rect: [223.546875,8 223.109375x20] baseline: 13.984375+ frag 3 from TextNode start: 0, length: 1, rect: [446.65625,9 8x16] baseline: 12.796875+ " "+ frag 4 from BlockContainer start: 0, length: 0, rect: [454.65625,8 223.109375x20] baseline: 13.984375+ BlockContainer <input> at [8,8] inline-block [0+0+0 207.546875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [8,8] flex-container(column) [0+0+0 207.546875 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 207.546875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 78.65625x14] baseline: 13.984375+ BlockContainer <button> at [17,11] inline-block [0+1+8 78.65625 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 78.65625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 78.65625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [17,11 78.65625x14] baseline: 10.984375"Select file..."TextNode <#text> (not painted)- InlineNode <label> at [124.375,11] [0+0+4 128.28125 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 17, rect: [124.375,11 128.28125x16] baseline: 12.796875+ InlineNode <label> at [108.65625,11] [0+0+4 106.890625 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from TextNode start: 0, length: 17, rect: [108.65625,11 106.890625x14] baseline: 10.984375"No file selected."TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <input> at [260.65625,8] inline-block [0+0+0 263.34375 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [260.65625,8] flex-container(column) [0+0+0 263.34375 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [260.65625,8] flex-item [0+0+0 263.34375 0+0+0] [0+0+0 22 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [269.65625,11 103.71875x16] baseline: 15.796875- BlockContainer <button> at [269.65625,11] inline-block [0+1+8 103.71875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [269.65625,11] flex-container(column) [0+0+0 103.71875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [269.65625,11] flex-item [0+0+0 103.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 15, rect: [269.65625,11 103.71875x16] baseline: 12.796875+ BlockContainer <input> at [223.546875,8] inline-block [0+0+0 223.109375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [223.546875,8] flex-container(column) [0+0+0 223.109375 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [223.546875,8] flex-item [0+0+0 223.109375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [232.546875,11 86.4375x14] baseline: 13.984375+ BlockContainer <button> at [232.546875,11] inline-block [0+1+8 86.4375 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [232.546875,11] flex-container(column) [0+0+0 86.4375 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [232.546875,11] flex-item [0+0+0 86.4375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 15, rect: [232.546875,11 86.4375x14] baseline: 10.984375"Select files..."TextNode <#text> (not painted)- InlineNode <label> at [386.375,11] [0+0+4 137.625 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 18, rect: [386.375,11 137.625x16] baseline: 12.796875+ InlineNode <label> at [331.984375,11] [0+0+4 114.671875 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from TextNode start: 0, length: 18, rect: [331.984375,11 114.671875x14] baseline: 10.984375"No files selected."TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <input#multiple> at [8,30] inline-block [0+0+0 263.34375 0+0+0] [0+0+0 22 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [8,30] flex-container(column) [0+0+0 263.34375 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,30] flex-item [0+0+0 263.34375 0+0+0] [0+0+0 22 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,33 103.71875x16] baseline: 15.796875- BlockContainer <button> at [17,33] inline-block [0+1+8 103.71875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [17,33] flex-container(column) [0+0+0 103.71875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,33] flex-item [0+0+0 103.71875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 15, rect: [17,33 103.71875x16] baseline: 12.796875+ BlockContainer <input#multiple> at [454.65625,8] inline-block [0+0+0 223.109375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [454.65625,8] flex-container(column) [0+0+0 223.109375 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [454.65625,8] flex-item [0+0+0 223.109375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [463.65625,11 86.4375x14] baseline: 13.984375+ BlockContainer <button> at [463.65625,11] inline-block [0+1+8 86.4375 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [463.65625,11] flex-container(column) [0+0+0 86.4375 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [463.65625,11] flex-item [0+0+0 86.4375 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 15, rect: [463.65625,11 86.4375x14] baseline: 10.984375"Select files..."TextNode <#text> (not painted)- InlineNode <label> at [133.71875,33] [0+0+4 137.625 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 18, rect: [133.71875,33 137.625x16] baseline: 12.796875+ InlineNode <label> at [563.09375,11] [0+0+4 114.671875 0+0+0] [0+0+0 14 0+0+0]+ frag 0 from TextNode start: 0, length: 18, rect: [563.09375,11 114.671875x14] baseline: 10.984375"No files selected."TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt b/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txtindex ccd55ca617c..b149c94f481 100644--- a/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt+++ b/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt@@ -1,15 +1,15 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [13,11 55.6875x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 46.375x14] baseline: 10.984375"120.png"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-image-to-text.txt b/Tests/LibWeb/Layout/expected/input-image-to-text.txtindex ccd55ca617c..b149c94f481 100644--- a/Tests/LibWeb/Layout/expected/input-image-to-text.txt+++ b/Tests/LibWeb/Layout/expected/input-image-to-text.txt@@ -1,15 +1,15 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [13,11 55.6875x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 46.375x14] baseline: 10.984375"120.png"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-max-width-border-box.txt b/Tests/LibWeb/Layout/expected/input-max-width-border-box.txtindex aee2197ac46..cf7402c43c7 100644--- a/Tests/LibWeb/Layout/expected/input-max-width-border-box.txt+++ b/Tests/LibWeb/Layout/expected/input-max-width-border-box.txt@@ -1,13 +1,13 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 35 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 19 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [23,16 20x6] baseline: 9.5- TextInputBox <input> at [23,16] inline-block [0+5+10 20 10+5+0] [0+5+0 6 0+5+0] [BFC] children: not-inline- Box <div> at [23,16] flex-container(row) [0+0+0 20 0+0+0] [0+0+0 6 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [23,16.5] flex-item [0+0+0 20 0+0+0] [0+0+0 5 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [23,16.5 0x5] baseline: 4+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 34 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 18 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [23,16 20x5] baseline: 9+ TextInputBox <input> at [23,16] inline-block [0+5+10 20 10+5+0] [0+5+0 5 0+5+0] [BFC] children: not-inline+ Box <div> at [23,16] flex-container(row) [0+0+0 20 0+0+0] [0+0+0 5 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [23,16] flex-item [0+0+0 20 0+0+0] [0+0+0 5 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [23,16 0x5] baseline: 4TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x35] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x34] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-number-placeholder.txt b/Tests/LibWeb/Layout/expected/input-number-placeholder.txtindex 2f373268807..1e64b16a50b 100644--- a/Tests/LibWeb/Layout/expected/input-number-placeholder.txt+++ b/Tests/LibWeb/Layout/expected/input-number-placeholder.txt@@ -1,30 +1,30 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 16.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline- Box <div> at [13,12] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,12] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,12 0x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 14.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline+ Box <div> at [13,12] flex-container(row) flex-item [0+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,12] flex-item [0+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,12 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [13,12] flex-item [-155.875+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 6, rect: [13,12 63.0625x16] baseline: 12.796875+ BlockContainer <div> at [13,12] flex-item [-129.03125+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 6, rect: [13,12 52.546875x14] baseline: 10.984375"Amount"TextNode <#text> (not painted)- BlockContainer <button> at [169.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [169.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [169.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [169.875,12 16x16] baseline: 16- SVGSVGBox <svg> at [169.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <button> at [143.03125,12] flex-item [0+1+0 13.328125 0+1+0] [0+1+0 14 0+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [143.03125,12] flex-container(column) [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [143.03125,12] flex-item [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [143.03125,12 13.328125x13.328125] baseline: 13.328125+ SVGSVGBox <svg> at [143.03125,12] [0+0+0 13.328125 0+0+0] [0+0+0 13.328125 0+0+0] viewport-transform=[0.55533856 0 0 0.55533856 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8] [0+0+0 12 0+0+0] [0+0+0 7.40625 0+0+0] children: not-inline- BlockContainer <button> at [187.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [187.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [187.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [187.875,12 16x16] baseline: 16- SVGSVGBox <svg> at [187.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <button> at [158.359375,12] flex-item [0+1+0 13.328125 0+1+0] [0+1+0 14 0+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [158.359375,12] flex-container(column) [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [158.359375,12] flex-item [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [158.359375,12 13.328125x13.328125] baseline: 13.328125+ SVGSVGBox <svg> at [158.359375,12] [0+0+0 13.328125 0+0+0] [0+0+0 13.328125 0+0+0] viewport-transform=[0.55533856 0 0 0.55533856 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-password-to-text.txt b/Tests/LibWeb/Layout/expected/input-password-to-text.txtindex df2f263b1ae..244834711f1 100644--- a/Tests/LibWeb/Layout/expected/input-password-to-text.txt+++ b/Tests/LibWeb/Layout/expected/input-password-to-text.txt@@ -1,15 +1,15 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [13,11 61.890625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 51.578125x14] baseline: 10.984375"hunter2"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt b/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txtindex 034da21a775..7e67815bb68 100644--- a/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt+++ b/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt@@ -1,19 +1,19 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 102 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 86 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x80] baseline: 47.296875- frag 1 from TextNode start: 0, length: 4, rect: [209.875,42 32.140625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 88.640625 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 72.640625 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x66.640625] baseline: 40.609375+ frag 1 from TextNode start: 0, length: 4, rect: [177.6875,35 32.140625x16] baseline: 12.796875"text"- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 80 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,43 0x16] baseline: 12.796875+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 66.640625 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 66.640625 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 66.640625 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,37.328125 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [13,11] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [13,43 89.90625x16] baseline: 12.796875+ BlockContainer <div> at [13,11] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 66.640625 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 11, rect: [13,37.328125 74.90625x14] baseline: 10.984375"placeholder"TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x102] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x88.640625] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt b/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txtindex d77c1b7ea5f..f22b1b6e305 100644--- a/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt+++ b/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt@@ -1,14 +1,14 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inlineBlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 122 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 106 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 400x100] baseline: 57.796875+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 400x100] baseline: 56.984375TextInputBox <input> at [13,11] inline-block [0+1+4 400 4+1+0] [0+1+2 100 2+1+0] [BFC] children: not-inlineBox <div> at [13,11] flex-container(row) [0+0+0 400 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,53] flex-item [0+0+0 400 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [213,53 0x16] baseline: 12.796875+ BlockContainer <div> at [13,54] flex-item [0+0+0 400 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [213,54 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [13,53] flex-item [-400+0+0 400 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [199.140625,53 27.703125x16] baseline: 12.796875+ BlockContainer <div> at [13,54] flex-item [-400+0+0 400 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 3, rect: [201.453125,54 23.078125x14] baseline: 10.984375"abc"TextNode <#text> (not painted)TextNode <#text> (not painted)diff --git a/Tests/LibWeb/Layout/expected/input-text-to-password.txt b/Tests/LibWeb/Layout/expected/input-text-to-password.txtindex 0215d346e32..59595e4aaf8 100644--- a/Tests/LibWeb/Layout/expected/input-text-to-password.txt+++ b/Tests/LibWeb/Layout/expected/input-text-to-password.txt@@ -1,15 +1,15 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [13,11 40.90625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 34.125x14] baseline: 10.984375"●●●●●●●"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txtindex 65dbac156c5..b1f71040e4e 100644--- a/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt@@ -3,15 +3,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inlineTextNode <#text> (not painted)BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <dialog#d> at [299.0625,289] positioned [280.0625+3+16 201.875 16+3+280.0625] [270+3+16 22 16+3+270] [BFC] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [304.0625,292 191.875x16] baseline: 15.796875- TextInputBox <input> at [304.0625,292] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [304.0625,292] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [304.0625,292] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [304.0625,292 0x16] baseline: 12.796875+ BlockContainer <dialog#d> at [315.15625,290] positioned [296.15625+3+16 169.6875 16+3+296.15625] [271+3+16 20 16+3+271] [BFC] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [320.15625,293 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [320.15625,293] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [320.15625,293] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [320.15625,293] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [320.15625,293 0x14] baseline: 10.984375TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)SC for BlockContainer(anonymous) [0,0 800x600] (z-index: auto)- SC for BlockContainer<DIALOG>#d [299.0625,289 201.875x22] (z-index: auto)+ SC for BlockContainer<DIALOG>#d [315.15625,290 169.6875x20] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/number-input-appearance.txt b/Tests/LibWeb/Layout/expected/number-input-appearance.txtindex 6923a96d2d4..84d6151e4d8 100644--- a/Tests/LibWeb/Layout/expected/number-input-appearance.txt+++ b/Tests/LibWeb/Layout/expected/number-input-appearance.txt@@ -1,61 +1,61 @@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 39 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 23 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 16.796875- frag 1 from TextNode start: 0, length: 1, rect: [209.875,12 8x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 37 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 21 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 14.984375+ frag 1 from TextNode start: 0, length: 1, rect: [177.6875,10 8x16] baseline: 12.796875" "- frag 2 from TextInputBox start: 0, length: 0, rect: [222.875,11 191.875x16] baseline: 16.796875- frag 3 from TextNode start: 0, length: 1, rect: [419.75,12 8x16] baseline: 12.796875+ frag 2 from TextInputBox start: 0, length: 0, rect: [190.6875,11 159.6875x14] baseline: 14.984375+ frag 3 from TextNode start: 0, length: 1, rect: [355.375,10 8x16] baseline: 12.796875" "- frag 4 from TextInputBox start: 0, length: 0, rect: [432.75,12 191.875x16] baseline: 15.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline- Box <div> at [13,12] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,12] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [13,12 6.34375x16] baseline: 12.796875+ frag 4 from TextInputBox start: 0, length: 0, rect: [368.375,12 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline+ Box <div> at [13,12] flex-container(row) flex-item [0+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,12] flex-item [0+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [13,12 5.28125x14] baseline: 10.984375"1"TextNode <#text> (not painted)- BlockContainer <button> at [169.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [169.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [169.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [169.875,12 16x16] baseline: 16- SVGSVGBox <svg> at [169.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <button> at [143.03125,12] flex-item [0+1+0 13.328125 0+1+0] [0+1+0 14 0+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [143.03125,12] flex-container(column) [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [143.03125,12] flex-item [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [143.03125,12 13.328125x13.328125] baseline: 13.328125+ SVGSVGBox <svg> at [143.03125,12] [0+0+0 13.328125 0+0+0] [0+0+0 13.328125 0+0+0] viewport-transform=[0.55533856 0 0 0.55533856 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8] [0+0+0 12 0+0+0] [0+0+0 7.40625 0+0+0] children: not-inline- BlockContainer <button> at [187.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [187.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [187.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [187.875,12 16x16] baseline: 16- SVGSVGBox <svg> at [187.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <button> at [158.359375,12] flex-item [0+1+0 13.328125 0+1+0] [0+1+0 14 0+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [158.359375,12] flex-container(column) [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [158.359375,12] flex-item [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [158.359375,12 13.328125x13.328125] baseline: 13.328125+ SVGSVGBox <svg> at [158.359375,12] [0+0+0 13.328125 0+0+0] [0+0+0 13.328125 0+0+0] viewport-transform=[0.55533856 0 0 0.55533856 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)- TextInputBox <input> at [222.875,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [222.875,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline- Box <div> at [222.875,12] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [222.875,12] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [222.875,12 8.8125x16] baseline: 12.796875+ TextInputBox <input> at [190.6875,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [190.6875,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline+ Box <div> at [190.6875,12] flex-container(row) flex-item [0+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [190.6875,12] flex-item [0+0+0 129.03125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [190.6875,12 7.34375x14] baseline: 10.984375"2"TextNode <#text> (not painted)- BlockContainer <button> at [379.75,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [379.75,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [379.75,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [379.75,12 16x16] baseline: 16- SVGSVGBox <svg> at [379.75,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <button> at [320.71875,12] flex-item [0+1+0 13.328125 0+1+0] [0+1+0 14 0+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [320.71875,12] flex-container(column) [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [320.71875,12] flex-item [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [320.71875,12 13.328125x13.328125] baseline: 13.328125+ SVGSVGBox <svg> at [320.71875,12] [0+0+0 13.328125 0+0+0] [0+0+0 13.328125 0+0+0] viewport-transform=[0.55533856 0 0 0.55533856 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8] [0+0+0 12 0+0+0] [0+0+0 7.40625 0+0+0] children: not-inline- BlockContainer <button> at [397.75,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [397.75,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [397.75,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [397.75,12 16x16] baseline: 16- SVGSVGBox <svg> at [397.75,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <button> at [336.046875,12] flex-item [0+1+0 13.328125 0+1+0] [0+1+0 14 0+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [336.046875,12] flex-container(column) [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [336.046875,12] flex-item [0+0+0 13.328125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [336.046875,12 13.328125x13.328125] baseline: 13.328125+ SVGSVGBox <svg> at [336.046875,12] [0+0+0 13.328125 0+0+0] [0+0+0 13.328125 0+0+0] viewport-transform=[0.55533856 0 0 0.55533856 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)- TextInputBox <input> at [432.75,12] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [432.75,12] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- Box <div> at [432.75,12] flex-container(row) flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [432.75,12] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [432.75,12 9.09375x16] baseline: 12.796875+ TextInputBox <input> at [368.375,12] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [368.375,12] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ Box <div> at [368.375,12] flex-container(row) flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [368.375,12] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [368.375,12 7.578125x14] baseline: 10.984375"3"TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x39] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x37] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/pdf-viewer.txt b/Tests/LibWeb/Layout/expected/pdf-viewer.txtindex 91a6e233f6b..9869a73cf77 100644--- a/Tests/LibWeb/Layout/expected/pdf-viewer.txt+++ b/Tests/LibWeb/Layout/expected/pdf-viewer.txt@@ -101,8 +101,8 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBox <span.loadingInput.start.toolbarHorizontalGroup> at [158,2] positioned flex-container(row) flex-item [0+0+0 56 0+0+0] [0+0+0 28 0+0+0] [FFC] children: not-inlineBlockContainer <(anonymous)> (not painted) [BFC] children: inlineTextNode <#text> (not painted)- TextInputBox <input#pageNumber.toolbarField> at [166,8] flex-item [0+1+7 40 7+1+0] [3+1+4 16 4+1+3] [BFC] children: not-inline- Box <div> at [166,8] flex-container(row) [0+0+0 40 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline+ TextInputBox <input#pageNumber.toolbarField> at [166,9.5] flex-item [0+1+7 40 7+1+0] [3+1+4 13 4+1+3] [BFC] children: not-inline+ Box <div> at [166,9.5] flex-container(row) [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inlineBox <div> at [166,9.5] flex-container(row) flex-item [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inlineBlockContainer <div> at [166,9.5] flex-item [0+0+0 40 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inlinefrag 0 from TextNode start: 0, length: 1, rect: [200.84375,9.5 5.15625x13] baseline: 10.390625diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txtindex a002a018632..e8a4d61d18d 100644--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt@@ -5,36 +5,34 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenTextNode <#text> (not painted)Box <button.flex-container.single-image> at [17,11] flex-container(row) [0+1+8 182 8+1+584] [0+1+2 42 2+1+0] [FFC] children: not-inlineImageBox <(anonymous)> at [17,11] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [57,11] flex-item [0+0+0 127.859375 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [57,11 127.859375x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [57,11] flex-item [0+0+0 106.515625 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [57,11 106.515625x14] baseline: 10.984375"Ratio-only SVG"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,56] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)Box <button.flex-container.single-image.intrinsic-size> at [17,59] flex-container(row) [0+1+8 182 8+1+584] [0+1+2 42 2+1+0] [FFC] children: not-inlineImageBox <(anonymous)> at [17,59] flex-item [0+0+0 40 0+0+0] [0+0+0 32 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [65,59] flex-item [0+0+0 134 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [79.8125,59 104.359375x16] baseline: 12.796875- "Intrinsic-size"- frag 1 from TextNode start: 15, length: 3, rect: [113.40625,75 37.1875x16] baseline: 12.796875- "SVG"+ BlockContainer <(anonymous)> at [65,59] flex-item [0+0+0 124.578125 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 18, rect: [65,59 124.578125x14] baseline: 10.984375+ "Intrinsic-size SVG"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,104] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)Box <button.flex-container.single-image.with-alt-text> at [17,107] flex-container(row) [0+1+8 182 8+1+584] [0+1+2 42 2+1+0] [FFC] children: not-inlineImageBox <(anonymous)> at [17,107] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [57,107] flex-item [0+0+0 65.5 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [57,107 65.5x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [57,107] flex-item [0+0+0 54.59375 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [57,107 54.59375x14] baseline: 10.984375"Alt text"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,152] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)Box <button.flex-container.after-only> at [17,155] flex-container(row) [0+1+8 182 8+1+584] [0+1+2 42 2+1+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [17,155] flex-item [0+0+0 45.109375 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [17,155 45.109375x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [17,155] flex-item [0+0+0 37.59375 0+0+0] [0+0+0 42 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 5, rect: [17,155 37.59375x14] baseline: 10.984375"After"TextNode <#text> (not painted)- ImageBox <(anonymous)> at [70.109375,155] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline+ ImageBox <(anonymous)> at [62.59375,155] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inlineBlockContainer <(anonymous)> at [8,200] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)Box <div.flex-container> at [8,200] flex-container(row) [0+0+0 200 0+0+584] [0+0+0 48 0+0+0] [FFC] children: not-inlinediff --git a/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txtindex d0fb7c420f9..0b324edd3e4 100644--- a/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt+++ b/Tests/LibWeb/Layout/expected/quirks/button-height-in-quirks-mode.txt@@ -1,12 +1,12 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inlineBlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [9,3 98.015625x16] baseline: 15.796875+ frag 0 from BlockContainer start: 0, length: 0, rect: [9,3 81.671875x14] baseline: 13.984375TextNode <#text> (not painted)- BlockContainer <button> at [9,3] inline-block [0+1+8 98.015625 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [9,3] flex-container(column) [0+0+0 98.015625 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [9,3] flex-item [0+0+0 98.015625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [9,3 98.015625x16] baseline: 12.796875+ BlockContainer <button> at [9,3] inline-block [0+1+8 81.671875 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [9,3] flex-container(column) [0+0+0 81.671875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [9,3] flex-item [0+0+0 81.671875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 11, rect: [9,3 81.671875x14] baseline: 10.984375"Test Button"TextNode <#text> (not painted)TextNode <#text> (not painted)diff --git a/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txtindex 28fa7ca3309..8fc4e2e05f9 100644--- a/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt+++ b/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt@@ -3,14 +3,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] childrenBlockContainer <body> at [8,13] [8+0+0 784 0+0+8] [8+0+0 584 0+0+8] children: not-inlineBlockContainer <(anonymous)> at [8,13] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 19 0+0+13] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,16 155.9375x13] baseline: 13.390625- TextInputBox <input> at [13,16] inline-block [0+1+4 155.9375 4+1+0] [0+1+2 13 2+1+0] [BFC] children: not-inline- Box <div> at [13,16] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,16] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [13,16 0x13] baseline: 10.390625+ BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 20 0+0+13] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,16 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,16] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,16] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,16] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [13,16 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,45] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,46] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt b/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txtindex 2e5c68c3cf6..deba6e8e828 100644--- a/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt+++ b/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt@@ -1,60 +1,60 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 60 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 44 0+0+8] children: not-inline- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [8,11 29.265625x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 56 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 40 0+0+8] children: not-inline+ BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 3, rect: [8,9 29.265625x16] baseline: 12.796875"Xx "- frag 1 from BlockContainer start: 0, length: 0, rect: [46.265625,11 76.46875x16] baseline: 15.796875- frag 2 from TextNode start: 0, length: 1, rect: [131.734375,11 8x16] baseline: 12.796875+ frag 1 from BlockContainer start: 0, length: 0, rect: [46.265625,11 67.03125x14] baseline: 13.984375+ frag 2 from TextNode start: 0, length: 1, rect: [122.296875,9 8x16] baseline: 12.796875" "- frag 3 from BlockContainer start: 0, length: 0, rect: [148.734375,11 23.59375x16] baseline: 15.296875+ frag 3 from BlockContainer start: 0, length: 0, rect: [139.296875,11 19.65625x14] baseline: 14.296875TextNode <#text> (not painted)- BlockContainer <select> at [46.265625,11] inline-block [0+1+8 76.46875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [46.265625,11] positioned flex-container(row) [0+0+0 76.46875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [46.265625,11] flex-item [0+0+0 56.46875 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [46.265625,11] [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [46.265625,11 56.46875x16] baseline: 12.796875+ BlockContainer <select> at [46.265625,11] inline-block [0+1+8 67.03125 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [46.265625,11] positioned flex-container(row) [0+0+0 67.03125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [46.265625,11] flex-item [0+0+0 47.03125 0+0+20] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [46.265625,11] [0+0+0 47.03125 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [46.265625,11 47.03125x14] baseline: 10.984375"English"TextNode <#text> (not painted)- BlockContainer <div> at [46.265625,27] floating [0+0+0 56.46875 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [46.265625,27] [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [46.265625,27 56.46875x16] baseline: 12.796875+ BlockContainer <div> at [46.265625,25] floating [0+0+0 47.03125 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [46.265625,25] [0+0+0 47.03125 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [46.265625,25 47.03125x14] baseline: 10.984375"English"TextNode <#text> (not painted)- BlockContainer <div> at [106.734375,11] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [106.734375,11 16x16] baseline: 16- SVGSVGBox <svg> at [106.734375,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <div> at [97.296875,10] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [97.296875,10 16x16] baseline: 16+ SVGSVGBox <svg> at [97.296875,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)- BlockContainer <input> at [148.734375,11] inline-block [0+1+8 23.59375 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [148.734375,11] flex-container(column) [0+0+0 23.59375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [148.734375,11] flex-item [0+0+0 23.59375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [148.734375,11 23.59375x16] baseline: 12.796875- BlockContainer <span> at [148.734375,11] inline-block [0+0+0 23.59375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 2, rect: [148.734375,11 23.59375x16] baseline: 12.796875+ BlockContainer <input> at [139.296875,11] inline-block [0+1+8 19.65625 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [139.296875,11] flex-container(column) [0+0+0 19.65625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [139.296875,11] flex-item [0+0+0 19.65625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [139.296875,11 19.65625x14] baseline: 10.984375+ BlockContainer <span> at [139.296875,11] inline-block [0+0+0 19.65625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 2, rect: [139.296875,11 19.65625x14] baseline: 10.984375"Go"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <div> at [8,30] [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [8,33 29.265625x16] baseline: 12.796875+ BlockContainer <div> at [8,28] [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 3, rect: [8,29 29.265625x16] baseline: 12.796875"Xx "- frag 1 from BlockContainer start: 0, length: 0, rect: [46.265625,33 56.46875x16] baseline: 15.796875+ frag 1 from BlockContainer start: 0, length: 0, rect: [46.265625,31 47.03125x14] baseline: 13.984375TextNode <#text> (not painted)- BlockContainer <select> at [46.265625,33] inline-block [0+1+8 56.46875 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [46.265625,33] positioned flex-container(row) [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [46.265625,33] flex-item [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [46.265625,33] [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [46.265625,33 56.46875x16] baseline: 12.796875+ BlockContainer <select> at [46.265625,31] inline-block [0+1+8 47.03125 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [46.265625,31] positioned flex-container(row) [0+0+0 47.03125 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [46.265625,31] flex-item [0+0+0 47.03125 0+0+0] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [46.265625,31] [0+0+0 47.03125 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [46.265625,31 47.03125x14] baseline: 10.984375"English"TextNode <#text> (not painted)- BlockContainer <div> at [46.265625,49] floating [0+0+0 56.46875 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [46.265625,49] [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 7, rect: [46.265625,49 56.46875x16] baseline: 12.796875+ BlockContainer <div> at [46.265625,45] floating [0+0+0 47.03125 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [46.265625,45] [0+0+0 47.03125 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 7, rect: [46.265625,45 47.03125x14] baseline: 10.984375"English"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,52] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x56] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt b/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txtindex 3e521ba0bb4..e3299f7dec9 100644--- a/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt+++ b/Tests/LibWeb/Layout/expected/select-innerhtml-optgroup-selected-option.txt@@ -1,33 +1,33 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 89.390625x16] baseline: 15.796875- BlockContainer <select#s> at [17,11] inline-block [0+1+8 89.390625 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [17,11] positioned flex-container(row) [0+0+0 89.390625 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [17,11] flex-item [0+0+0 69.390625 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [17,11] [0+0+0 69.390625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,11 69.109375x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 77.796875x14] baseline: 13.984375+ BlockContainer <select#s> at [17,11] inline-block [0+1+8 77.796875 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [17,11] positioned flex-container(row) [0+0+0 77.796875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [17,11] flex-item [0+0+0 57.796875 0+0+20] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [17,11] [0+0+0 57.796875 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,11 57.5625x14] baseline: 10.984375"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [17,27] floating [0+0+0 69.390625 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [17,27] [0+0+0 69.390625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,27 66.640625x16] baseline: 12.796875+ BlockContainer <div> at [17,25] floating [0+0+0 57.796875 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [17,25] [0+0+0 57.796875 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,25 55.5x14] baseline: 10.984375"Option 1"TextNode <#text> (not painted)- BlockContainer <div> at [17,43] [0+0+0 69.390625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,43 69.109375x16] baseline: 12.796875+ BlockContainer <div> at [17,39] [0+0+0 57.796875 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,39 57.5625x14] baseline: 10.984375"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [17,59] [0+0+0 69.390625 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,59 69.390625x16] baseline: 12.796875+ BlockContainer <div> at [17,53] [0+0+0 57.796875 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,53 57.796875x14] baseline: 10.984375"Option 3"TextNode <#text> (not painted)- BlockContainer <div> at [90.390625,11] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [90.390625,11 16x16] baseline: 16- SVGSVGBox <svg> at [90.390625,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <div> at [78.796875,10] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [78.796875,10 16x16] baseline: 16+ SVGSVGBox <svg> at [78.796875,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/select-with-option-selected.txt b/Tests/LibWeb/Layout/expected/select-with-option-selected.txtindex cf4c87ab758..e9a2f953f5a 100644--- a/Tests/LibWeb/Layout/expected/select-with-option-selected.txt+++ b/Tests/LibWeb/Layout/expected/select-with-option-selected.txt@@ -1,28 +1,28 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 89.109375x16] baseline: 15.796875- BlockContainer <select> at [17,11] inline-block [0+1+8 89.109375 8+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [17,11] positioned flex-container(row) [0+0+0 89.109375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [17,11] flex-item [0+0+0 69.109375 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [17,11] [0+0+0 69.109375 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,11 69.109375x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 77.5625x14] baseline: 13.984375+ BlockContainer <select> at [17,11] inline-block [0+1+8 77.5625 8+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [17,11] positioned flex-container(row) [0+0+0 77.5625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [17,11] flex-item [0+0+0 57.5625 0+0+20] [0+0+0 14 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [17,11] [0+0+0 57.5625 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,11 57.5625x14] baseline: 10.984375"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [17,27] floating [0+0+0 69.109375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [17,27] [0+0+0 69.109375 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,27 66.640625x16] baseline: 12.796875+ BlockContainer <div> at [17,25] floating [0+0+0 57.5625 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <div> at [17,25] [0+0+0 57.5625 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,25 55.5x14] baseline: 10.984375"Option 1"TextNode <#text> (not painted)- BlockContainer <div> at [17,43] [0+0+0 69.109375 0+0+0] [0+0+0 16 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [17,43 69.109375x16] baseline: 12.796875+ BlockContainer <div> at [17,39] [0+0+0 57.5625 0+0+0] [0+0+0 14 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 8, rect: [17,39 57.5625x14] baseline: 10.984375"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [90.109375,11] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from SVGSVGBox start: 0, length: 0, rect: [90.109375,11 16x16] baseline: 16- SVGSVGBox <svg> at [90.109375,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ BlockContainer <div> at [78.5625,10] positioned [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [78.5625,10 16x16] baseline: 16+ SVGSVGBox <svg> at [78.5625,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inlineSVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inlineTextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt b/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txtindex 7177ecd25c1..f4f3f4ca73d 100644--- a/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt+++ b/Tests/LibWeb/Layout/expected/textarea-box-writing-modes.txt@@ -1,43 +1,43 @@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 181.140625 0+0+0] [BFC] children: not-inline+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 184.890625 0+0+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 165.140625 0+0+8] children: inline- frag 0 from TextAreaBox start: 0, length: 0, rect: [11,140 155.9375x26] baseline: 32- frag 1 from TextNode start: 0, length: 1, rect: [169.9375,157 8x16] baseline: 12.796875+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 168.890625 0+0+8] children: inline+ frag 0 from TextAreaBox start: 0, length: 0, rect: [11,142 159.6875x28] baseline: 34+ frag 1 from TextNode start: 0, length: 1, rect: [173.6875,160 8x16] baseline: 12.796875" "- frag 2 from TextAreaBox start: 0, length: 0, rect: [180.9375,11 260x155.9375] baseline: 161.9375- frag 3 from TextNode start: 0, length: 1, rect: [443.9375,157 8x16] baseline: 12.796875+ frag 2 from TextAreaBox start: 0, length: 0, rect: [184.6875,11 280x159.6875] baseline: 165.6875+ frag 3 from TextNode start: 0, length: 1, rect: [467.6875,160 8x16] baseline: 12.796875" "- frag 4 from TextAreaBox start: 0, length: 0, rect: [454.9375,140 38.984375x26] baseline: 32- frag 5 from TextNode start: 0, length: 1, rect: [496.921875,157 8x16] baseline: 12.796875+ frag 4 from TextAreaBox start: 0, length: 0, rect: [478.6875,142 39.921875x28] baseline: 34+ frag 5 from TextNode start: 0, length: 1, rect: [521.609375,160 8x16] baseline: 12.796875" "- frag 6 from TextAreaBox start: 0, length: 0, rect: [507.921875,127 26x38.984375] baseline: 44.984375+ frag 6 from TextAreaBox start: 0, length: 0, rect: [532.609375,130 28x39.921875] baseline: 45.921875TextNode <#text> (not painted)- TextAreaBox <textarea> at [11,140] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [11,140] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,140] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [11,140 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [11,142] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [11,142] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,142] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [11,142 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea> at [180.9375,11] inline-block [0+1+2 260 2+1+0] [0+1+2 155.9375 2+1+0] [BFC] children: not-inline- Box <div> at [427.9375,11] flex-container(row) [0+0+0 13 0+0+0] [0+0+0 155.9375 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [427.9375,11] flex-item [0+0+0 13 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [427.9375,11 13x0] baseline: 10.390625+ TextAreaBox <textarea> at [184.6875,11] inline-block [0+1+2 280 2+1+0] [0+1+2 159.6875 2+1+0] [BFC] children: not-inline+ Box <div> at [450.6875,11] flex-container(row) [0+0+0 14 0+0+0] [0+0+0 159.6875 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [450.6875,11] flex-item [0+0+0 14 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [450.6875,11 14x0] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea> at [454.9375,140] inline-block [0+1+2 38.984375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [454.9375,140] flex-container(row) [0+0+0 38.984375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [454.9375,140] flex-item [0+0+0 38.984375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [454.9375,140 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [478.6875,142] inline-block [0+1+2 39.921875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [478.6875,142] flex-container(row) [0+0+0 39.921875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [478.6875,142] flex-item [0+0+0 39.921875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [478.6875,142 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea> at [507.921875,127] inline-block [0+1+2 26 2+1+0] [0+1+2 38.984375 2+1+0] [BFC] children: not-inline- Box <div> at [520.921875,127] flex-container(row) [0+0+0 13 0+0+0] [0+0+0 38.984375 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [520.921875,127] flex-item [0+0+0 13 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [520.921875,127 13x0] baseline: 10.390625+ TextAreaBox <textarea> at [532.609375,130] inline-block [0+1+2 28 2+1+0] [0+1+2 39.921875 2+1+0] [BFC] children: not-inline+ Box <div> at [546.609375,130] flex-container(row) [0+0+0 14 0+0+0] [0+0+0 39.921875 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [546.609375,130] flex-item [0+0+0 14 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [546.609375,130 14x0] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x181.140625] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x184.890625] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt b/Tests/LibWeb/Layout/expected/textarea-height-stretch.txtindex 1cb7ac6ad54..577be954718 100644--- a/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt+++ b/Tests/LibWeb/Layout/expected/textarea-height-stretch.txt@@ -1,34 +1,34 @@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 355.203125 0+0+0] [BFC] children: not-inline+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 365.203125 0+0+0] [BFC] children: not-inlineBlockContainer <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 339.203125 0+0+8] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 349.203125 0+0+8] children: not-inlineBlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)Box <div.stretch> at [8,8] flex-container(row) [0+0+0 784 0+0+0] [0+0+0 200 0+0+0] [FFC] children: not-inline- TextAreaBox <textarea> at [11,11] flex-item [0+1+2 155.9375 2+1+0] [0+1+2 194 2+1+0] [BFC] children: not-inline- Box <div> at [11,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [11,11 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [11,11] flex-item [0+1+2 159.6875 2+1+0] [0+1+2 194 2+1+0] [BFC] children: not-inline+ Box <div> at [11,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [11,11 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 139.203125 0+0+0] children: inline- frag 0 from TextAreaBox start: 0, length: 0, rect: [11,211 155.9375x130] baseline: 136- frag 1 from TextNode start: 0, length: 1, rect: [169.9375,331 8x16] baseline: 12.796875+ BlockContainer <(anonymous)> at [8,208] [0+0+0 784 0+0+0] [0+0+0 149.203125 0+0+0] children: inline+ frag 0 from TextAreaBox start: 0, length: 0, rect: [11,211 159.6875x140] baseline: 146+ frag 1 from TextNode start: 0, length: 1, rect: [173.6875,341 8x16] baseline: 12.796875" "- frag 2 from TextAreaBox start: 0, length: 0, rect: [180.9375,315 467.8125x26] baseline: 32+ frag 2 from TextAreaBox start: 0, length: 0, rect: [184.6875,323 479.0625x28] baseline: 34TextNode <#text> (not painted)- TextAreaBox <textarea> at [11,211] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 130 2+1+0] [BFC] children: not-inline- Box <div> at [11,211] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,211] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [11,211 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [11,211] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 140 2+1+0] [BFC] children: not-inline+ Box <div> at [11,211] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,211] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [11,211 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)- TextAreaBox <textarea> at [180.9375,315] inline-block [0+1+2 467.8125 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [180.9375,315] flex-container(row) [0+0+0 467.8125 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [180.9375,315] flex-item [0+0+0 467.8125 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [180.9375,315 0x13] baseline: 10.390625+ TextAreaBox <textarea> at [184.6875,323] inline-block [0+1+2 479.0625 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [184.6875,323] flex-container(row) [0+0+0 479.0625 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [184.6875,323] flex-item [0+0+0 479.0625 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [184.6875,323 0x14] baseline: 10.984375TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x355.203125] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x365.203125] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt b/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txtindex 0d1f68bdbd9..92ace1bf869 100644--- a/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt+++ b/Tests/LibWeb/Layout/expected/textarea-placeholder-after-restyle.txt@@ -1,18 +1,18 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 51.203125 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 35.203125 0+0+8] children: inline- frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 155.9375x26] baseline: 32- TextAreaBox <textarea#textarea> at [11,11] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [11,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [11,11 0x13] baseline: 10.390625+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 53.203125 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 37.203125 0+0+8] children: inline+ frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 159.6875x28] baseline: 34+ TextAreaBox <textarea#textarea> at [11,11] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [11,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [11,11 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [11,11] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 6, rect: [11,11 51.265625x13] baseline: 10.390625+ BlockContainer <div> at [11,11] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 6, rect: [11,11 52.546875x14] baseline: 10.984375"Amount"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x51.203125] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x53.203125] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/textarea-placeholder-with-text-align.txt b/Tests/LibWeb/Layout/expected/textarea-placeholder-with-text-align.txtindex 34f0b325e65..bca57215fbd 100644--- a/Tests/LibWeb/Layout/expected/textarea-placeholder-with-text-align.txt+++ b/Tests/LibWeb/Layout/expected/textarea-placeholder-with-text-align.txt@@ -1,17 +1,17 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 51.203125 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 35.203125 0+0+8] children: inline- frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 155.9375x26] baseline: 32- TextAreaBox <textarea> at [11,11] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [11,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 0, rect: [88.96875,11 0x13] baseline: 10.390625+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 53.203125 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 37.203125 0+0+8] children: inline+ frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 159.6875x28] baseline: 34+ TextAreaBox <textarea> at [11,11] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [11,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 0, rect: [90.84375,11 0x14] baseline: 10.984375TextNode <#text> (not painted)- BlockContainer <div> at [11,11] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 6, rect: [63.328125,11 51.265625x13] baseline: 10.390625+ BlockContainer <div> at [11,11] flex-item [-159.6875+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 6, rect: [64.5625,11 52.546875x14] baseline: 10.984375"Amount"TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x51.203125] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x53.203125] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/textarea-reset.txt b/Tests/LibWeb/Layout/expected/textarea-reset.txtindex 08a4d83674b..7fb02c4dec6 100644--- a/Tests/LibWeb/Layout/expected/textarea-reset.txt+++ b/Tests/LibWeb/Layout/expected/textarea-reset.txt@@ -1,19 +1,19 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 51.203125 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 35.203125 0+0+8] children: not-inline- BlockContainer <form#form> at [8,8] [0+0+0 784 0+0+0] [0+0+0 35.203125 0+0+0] children: inline- frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 155.9375x26] baseline: 32+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 53.203125 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 37.203125 0+0+8] children: not-inline+ BlockContainer <form#form> at [8,8] [0+0+0 784 0+0+0] [0+0+0 37.203125 0+0+0] children: inline+ frag 0 from TextAreaBox start: 0, length: 0, rect: [11,11 159.6875x28] baseline: 34TextNode <#text> (not painted)- TextAreaBox <textarea#textarea> at [11,11] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline- Box <div> at [11,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [11,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [11,11 88.109375x13] baseline: 10.390625+ TextAreaBox <textarea#textarea> at [11,11] inline-block [0+1+2 159.6875 2+1+0] [0+1+2 28 2+1+0] [BFC] children: not-inline+ Box <div> at [11,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [11,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [11,11 90.34375x14] baseline: 10.984375"Original value"TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,43.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,45.203125] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x51.203125] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x53.203125] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/unicode-password-input.txt b/Tests/LibWeb/Layout/expected/unicode-password-input.txtindex 5e735ab1d66..529613e8897 100644--- a/Tests/LibWeb/Layout/expected/unicode-password-input.txt+++ b/Tests/LibWeb/Layout/expected/unicode-password-input.txt@@ -1,14 +1,14 @@Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 38 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline- frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875- TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline- Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [13,11 81.8125x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 159.6875x14] baseline: 13.984375+ TextInputBox <input> at [13,11] inline-block [0+1+4 159.6875 4+1+0] [0+1+2 14 2+1+0] [BFC] children: not-inline+ Box <div> at [13,11] flex-container(row) [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline+ BlockContainer <div> at [13,11] flex-item [0+0+0 159.6875 0+0+0] [0+0+0 14 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [13,11 68.25x14] baseline: 10.984375"●●●●●●●●●●●●●●"TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)diff --git a/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png b/Tests/LibWeb/Screenshot/expected-macos/color-scheme.pngindex a89af3de972..844d61344c3 100644Binary files a/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png and b/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png differdiff --git a/Tests/LibWeb/Text/expected/CSSOMView/click-focused-element-in-scroller-should-not-scroll.txt b/Tests/LibWeb/Text/expected/CSSOMView/click-focused-element-in-scroller-should-not-scroll.txtindex 44246e93c10..326408df6f7 100644--- a/Tests/LibWeb/Text/expected/CSSOMView/click-focused-element-in-scroller-should-not-scroll.txt+++ b/Tests/LibWeb/Text/expected/CSSOMView/click-focused-element-in-scroller-should-not-scroll.txt@@ -1,2 +1,2 @@-scrollTop before click: 342-scrollTop after click: 342+scrollTop before click: 340+scrollTop after click: 340diff --git a/Tests/LibWeb/Text/expected/css/attr-element-reference-pseudo-invalidation.txt b/Tests/LibWeb/Text/expected/css/attr-element-reference-pseudo-invalidation.txtindex 3d9d68010b6..f8686751883 100644--- a/Tests/LibWeb/Text/expected/css/attr-element-reference-pseudo-invalidation.txt+++ b/Tests/LibWeb/Text/expected/css/attr-element-reference-pseudo-invalidation.txt@@ -1,6 +1,6 @@-::placeholder-before=24px-::placeholder-after=48px-::file-selector-button-before=24px-::file-selector-button-after=48px+::placeholder-before=19.992188px+::placeholder-after=39.984375px+::file-selector-button-before=19.992188px+::file-selector-button-after=39.984375px::details-content-before=24px::details-content-after=48pxdiff --git a/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt b/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txtindex 05b155b3b02..3933ca29c3d 100644--- a/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt+++ b/Tests/LibWeb/Text/expected/display_list/button-with-text-decoration.txt@@ -6,8 +6,8 @@ AccumulatedVisualContext Tree:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[8,8 114x22] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[8,8 114x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[17,11 96x16] translation=[17,23.796875] color=rgb(0, 0, 0)-DrawLine@s1/e0 from=[17,27] to=[113,27] color=rgb(0, 0, 0) thickness=2 style=Solid+FillRectWithRoundedCorners@s1/e0 rect=[8,8 98x20] color=rgb(239, 239, 239)+FillRoundedRectRing@s1/e0 rect=[8,8 98x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/e0 rect=[17,11 80x14] translation=[17,21.984375] color=rgb(0, 0, 0)+DrawLine@s1/e0 from=[17,25] to=[97,25] color=rgb(0, 0, 0) thickness=1 style=Soliddiff --git a/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt b/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txtindex 2796c7d226a..4a2e0df180b 100644--- a/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt+++ b/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt@@ -3,36 +3,36 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,181 200x20] radii=(3,3,3,3) (TextInputBox<INPUT>)- [c1 in s1] clip=[5,183 192x16] (BlockContainer<DIV>)- [c2 in s1] clip=[3,213 200x20] (TextInputBox<INPUT>)- [c3 in s1] clip=[7,215 192x16] (BlockContainer<DIV>)+ [c0 in s1] clip=[1,181 168x18] radii=(3,3,3,3) (TextInputBox<INPUT>)+ [c1 in s1] clip=[5,183 160x14] (BlockContainer<DIV>)+ [c2 in s1] clip=[3,213 168x18] (TextInputBox<INPUT>)+ [c3 in s1] clip=[7,215 160x14] (BlockContainer<DIV>)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 66x22] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,0 66x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[9,3 48x16] translation=[9,15.796875] color=rgb(0, 0, 0)-FillRectWithRoundedCorners@s1/e0 rect=[0,30 152x24] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,30 152x24] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[4,34 144x16] translation=[4,46.796875] color=rgb(0, 128, 0)-FillRectWithRoundedCorners@s1/e0 rect=[0,60 152x22] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,60 152x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[9,63 134x16] translation=[9,75.796875] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,90 107x22] color=rgb(0, 255, 0)-FillRoundedRectRing@s1/e0 rect=[0,90 107x22] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[9,93 90x16] translation=[9,105.796875] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,120 72x22] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,120 72x22] widths=[1,1,1,1] color=rgb(255, 0, 0)-DrawGlyphRun@s1/e0 rect=[9,123 54x16] translation=[9,135.79688] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,150 161x22] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,150 161x22] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[9,153 143x16] translation=[9,165.79688] color=rgb(0, 0, 0)-FillRectWithRoundedCorners@s1/e0 rect=[0,180 202x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,180 202x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c1/e0 rect=[5,183 38x16] translation=[5,195.79688] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,210 206x26] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,210 206x26] widths=[3,3,3,3] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c3/e0 rect=[7,215 71x16] translation=[7,227.79688] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 58x20] color=rgb(239, 239, 239)+FillRoundedRectRing@s1/e0 rect=[0,0 58x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/e0 rect=[9,3 40x14] translation=[9,13.984375] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,30 128x22] color=rgb(239, 239, 239)+FillRoundedRectRing@s1/e0 rect=[0,30 128x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/e0 rect=[4,34 120x14] translation=[4,44.984375] color=rgb(0, 128, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,60 129x20] color=rgb(239, 239, 239)+FillRoundedRectRing@s1/e0 rect=[0,60 129x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/e0 rect=[9,63 112x14] translation=[9,73.984375] color=rgb(0, 0, 0)+FillRect@s1/e0 rect=[0,90 92x20] color=rgb(0, 255, 0)+FillRoundedRectRing@s1/e0 rect=[0,90 92x20] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/e0 rect=[9,93 75x14] translation=[9,103.984375] color=rgb(0, 0, 0)+FillRect@s1/e0 rect=[0,120 63x20] color=rgb(239, 239, 239)+FillRoundedRectRing@s1/e0 rect=[0,120 63x20] widths=[1,1,1,1] color=rgb(255, 0, 0)+DrawGlyphRun@s1/e0 rect=[9,123 45x14] translation=[9,133.98438] color=rgb(0, 0, 0)+FillRect@s1/e0 rect=[0,150 137x20] color=rgb(239, 239, 239)+FillRoundedRectRing@s1/e0 rect=[0,150 137x20] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/e0 rect=[9,153 119x14] translation=[9,163.98438] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,180 170x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,180 170x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c1/e0 rect=[5,183 32x14] translation=[5,193.98438] color=rgb(0, 0, 0)+FillRect@s1/e0 rect=[0,210 174x24] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,210 174x24] widths=[3,3,3,3] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c3/e0 rect=[7,215 59x14] translation=[7,225.98438] color=rgb(0, 0, 0)diff --git a/Tests/LibWeb/Text/expected/display_list/input-caret.txt b/Tests/LibWeb/Text/expected/display_list/input-caret.txtindex 4b36eaad025..8878d846a13 100644--- a/Tests/LibWeb/Text/expected/display_list/input-caret.txt+++ b/Tests/LibWeb/Text/expected/display_list/input-caret.txt@@ -3,15 +3,15 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[9,9 108x20] radii=(3,3,3,3) (TextInputBox<INPUT>)- [c1 in s1] clip=[13,11 100x16] (BlockContainer<DIV>)+ [c0 in s1] clip=[9,9 108x18] radii=(3,3,3,3) (TextInputBox<INPUT>)+ [c1 in s1] clip=[13,11 100x14] (BlockContainer<DIV>)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[8,8 110x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[8,8 110x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c1/e0 rect=[13,11 37x16] translation=[13,23.796875] color=rgb(0, 0, 0)-PaintCaret@s1/c1/e0 rect=[13,11 1x16] color=rgb(0, 0, 0) should_blink=false-FillRoundedRectRing@s1/e0 rect=[6,6 114x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+FillRectWithRoundedCorners@s1/e0 rect=[8,8 110x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[8,8 110x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c1/e0 rect=[13,11 31x14] translation=[13,21.984375] color=rgb(0, 0, 0)+PaintCaret@s1/c1/e0 rect=[13,11 1x14] color=rgb(0, 0, 0) should_blink=false+FillRoundedRectRing@s1/e0 rect=[6,6 114x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)diff --git a/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt b/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txtindex 9896a72baef..41440ea4aee 100644--- a/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt+++ b/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt@@ -3,21 +3,21 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[9,9 200x20] radii=(3,3,3,3) (TextInputBox<INPUT>#foo)- [c1 in s1] clip=[13,11 192x16] (BlockContainer<DIV>)- [c2 in s1] clip=[219,9 200x20] radii=(3,3,3,3) (TextInputBox<INPUT>#bar)- [c3 in s1] clip=[223,11 192x16] (BlockContainer<DIV>)+ [c0 in s1] clip=[9,9 168x18] radii=(3,3,3,3) (TextInputBox<INPUT>#foo)+ [c1 in s1] clip=[13,11 160x14] (BlockContainer<DIV>)+ [c2 in s1] clip=[187,9 167x18] radii=(3,3,3,3) (TextInputBox<INPUT>#bar)+ [c3 in s1] clip=[191,11 159x14] (BlockContainer<DIV>)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[8,8 202x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[8,8 202x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c1/e0 rect=[13,11 28x16] translation=[13,23.796875] color=rgb(0, 0, 0)-DrawGlyphRun@s1/e0 rect=[209,11 8x16] translation=[209.875,23.796875] color=rgb(0, 0, 0)-FillRectWithRoundedCorners@s1/e0 rect=[218,8 202x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[218,8 202x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c3/e0 rect=[222,11 28x16] translation=[222.875,23.796875] color=rgb(0, 0, 0)-PaintCaret@s1/c3/e0 rect=[223,11 1x16] color=rgb(0, 0, 0) should_blink=false-FillRoundedRectRing@s1/e0 rect=[216,6 206x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+FillRectWithRoundedCorners@s1/e0 rect=[8,8 170x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[8,8 170x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c1/e0 rect=[13,11 23x14] translation=[13,21.984375] color=rgb(0, 0, 0)+DrawGlyphRun@s1/e0 rect=[177,9 8x16] translation=[177.6875,21.796875] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[186,8 169x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[186,8 169x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c3/e0 rect=[190,11 24x14] translation=[190.6875,21.984375] color=rgb(0, 0, 0)+PaintCaret@s1/c3/e0 rect=[191,11 1x14] color=rgb(0, 0, 0) should_blink=false+FillRoundedRectRing@s1/e0 rect=[184,6 173x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)diff --git a/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt b/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txtindex d3437f1166b..9715f0c9a7d 100644--- a/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt+++ b/Tests/LibWeb/Text/expected/display_list/page-focus-rendering.txt@@ -4,25 +4,25 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,1 81x20] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)+ [c0 in s1] clip=[1,1 68x18] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 83x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,0 83x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0) inline_clips=[clip=[3,3 9x15]]-FillRect@s1/c0/e0 rect=[12,3 19x16] color=rgba(101, 2, 0, 0.8)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0) inline_clips=[clip=[12,3 19x15]]-FillRoundedRectRing@s1/e0 rect=[-2,-2 87x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)-DrawLine@s1/e0 from=[78,19] to=[80,17] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[77,19] to=[80,16] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[75,19] to=[80,14] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[74,19] to=[80,13] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[72,19] to=[80,11] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[71,19] to=[80,10] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-FillRect@s1/e0 rect=[0,25 23x16] color=rgba(101, 2, 0, 0.8)-DrawGlyphRun@s1/e0 rect=[0,25 24x16] translation=[0,38] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]]+FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(101, 2, 0, 0.8)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]]+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+DrawLine@s1/e0 from=[65,17] to=[67,15] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[64,17] to=[67,14] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[62,17] to=[67,12] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[61,17] to=[67,11] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[59,17] to=[67,9] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[58,17] to=[67,8] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+FillRect@s1/e0 rect=[0,23 23x16] color=rgba(101, 2, 0, 0.8)+DrawGlyphRun@s1/e0 rect=[0,23 24x16] translation=[0,36] color=rgb(0, 0, 0)-- unfocused --AccumulatedVisualContext Tree:@@ -30,24 +30,24 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,1 81x20] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)+ [c0 in s1] clip=[1,1 68x18] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 83x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,0 83x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0) inline_clips=[clip=[3,3 9x15]]-FillRect@s1/c0/e0 rect=[12,3 19x16] color=rgba(16, 16, 16, 0.667)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0) inline_clips=[clip=[12,3 19x15]]-DrawLine@s1/e0 from=[78,19] to=[80,17] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[77,19] to=[80,16] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[75,19] to=[80,14] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[74,19] to=[80,13] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[72,19] to=[80,11] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[71,19] to=[80,10] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-FillRect@s1/e0 rect=[0,25 23x16] color=rgba(16, 16, 16, 0.667)-DrawGlyphRun@s1/e0 rect=[0,25 24x16] translation=[0,38] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]]+FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(16, 16, 16, 0.667)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]]+DrawLine@s1/e0 from=[65,17] to=[67,15] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[64,17] to=[67,14] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[62,17] to=[67,12] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[61,17] to=[67,11] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[59,17] to=[67,9] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[58,17] to=[67,8] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+FillRect@s1/e0 rect=[0,23 23x16] color=rgba(16, 16, 16, 0.667)+DrawGlyphRun@s1/e0 rect=[0,23 24x16] translation=[0,36] color=rgb(0, 0, 0)-- focused again --AccumulatedVisualContext Tree:@@ -55,25 +55,25 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,1 81x20] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)+ [c0 in s1] clip=[1,1 68x18] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 83x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,0 83x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0) inline_clips=[clip=[3,3 9x15]]-FillRect@s1/c0/e0 rect=[12,3 19x16] color=rgba(101, 2, 0, 0.8)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0) inline_clips=[clip=[12,3 19x15]]-FillRoundedRectRing@s1/e0 rect=[-2,-2 87x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)-DrawLine@s1/e0 from=[78,19] to=[80,17] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[77,19] to=[80,16] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[75,19] to=[80,14] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[74,19] to=[80,13] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[72,19] to=[80,11] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[71,19] to=[80,10] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-FillRect@s1/e0 rect=[0,25 23x16] color=rgba(101, 2, 0, 0.8)-DrawGlyphRun@s1/e0 rect=[0,25 24x16] translation=[0,38] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0) inline_clips=[clip=[3,4 8x12]]+FillRect@s1/c0/e0 rect=[11,3 15x14] color=rgba(101, 2, 0, 0.8)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0) inline_clips=[clip=[11,4 15x12]]+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+DrawLine@s1/e0 from=[65,17] to=[67,15] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[64,17] to=[67,14] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[62,17] to=[67,12] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[61,17] to=[67,11] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[59,17] to=[67,9] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[58,17] to=[67,8] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+FillRect@s1/e0 rect=[0,23 23x16] color=rgba(101, 2, 0, 0.8)+DrawGlyphRun@s1/e0 rect=[0,23 24x16] translation=[0,36] color=rgb(0, 0, 0)-- caret, focused --AccumulatedVisualContext Tree:@@ -81,23 +81,23 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,1 81x20] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)+ [c0 in s1] clip=[1,1 68x18] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 83x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,0 83x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0)-PaintCaret@s1/c0/e0 rect=[22,3 1x16] color=rgb(0, 0, 0) should_blink=false-FillRoundedRectRing@s1/e0 rect=[-2,-2 87x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)-DrawLine@s1/e0 from=[78,19] to=[80,17] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[77,19] to=[80,16] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[75,19] to=[80,14] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[74,19] to=[80,13] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[72,19] to=[80,11] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[71,19] to=[80,10] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawGlyphRun@s1/e0 rect=[0,25 24x16] translation=[0,38] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0)+PaintCaret@s1/c0/e0 rect=[19,3 1x14] color=rgb(0, 0, 0) should_blink=false+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+DrawLine@s1/e0 from=[65,17] to=[67,15] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[64,17] to=[67,14] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[62,17] to=[67,12] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[61,17] to=[67,11] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[59,17] to=[67,9] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[58,17] to=[67,8] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawGlyphRun@s1/e0 rect=[0,23 24x16] translation=[0,36] color=rgb(0, 0, 0)-- caret, unfocused --AccumulatedVisualContext Tree:@@ -105,21 +105,21 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,1 81x20] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)+ [c0 in s1] clip=[1,1 68x18] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 83x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,0 83x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0)-DrawLine@s1/e0 from=[78,19] to=[80,17] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[77,19] to=[80,16] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[75,19] to=[80,14] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[74,19] to=[80,13] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[72,19] to=[80,11] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[71,19] to=[80,10] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawGlyphRun@s1/e0 rect=[0,25 24x16] translation=[0,38] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0)+DrawLine@s1/e0 from=[65,17] to=[67,15] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[64,17] to=[67,14] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[62,17] to=[67,12] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[61,17] to=[67,11] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[59,17] to=[67,9] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[58,17] to=[67,8] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawGlyphRun@s1/e0 rect=[0,23 24x16] translation=[0,36] color=rgb(0, 0, 0)-- caret, focused again --AccumulatedVisualContext Tree:@@ -127,21 +127,21 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[1,1 81x20] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)+ [c0 in s1] clip=[1,1 68x18] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>#ta)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[0,0 83x22] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[0,0 83x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[3,3 28x16] translation=[3,15.796875] color=rgb(0, 0, 0)-PaintCaret@s1/c0/e0 rect=[22,3 1x16] color=rgb(0, 0, 0) should_blink=false-FillRoundedRectRing@s1/e0 rect=[-2,-2 87x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)-DrawLine@s1/e0 from=[78,19] to=[80,17] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[77,19] to=[80,16] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[75,19] to=[80,14] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[74,19] to=[80,13] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[72,19] to=[80,11] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[71,19] to=[80,10] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawGlyphRun@s1/e0 rect=[0,25 24x16] translation=[0,38] color=rgb(0, 0, 0)+FillRectWithRoundedCorners@s1/e0 rect=[0,0 70x20] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[0,0 70x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[3,3 24x14] translation=[3,13.984375] color=rgb(0, 0, 0)+PaintCaret@s1/c0/e0 rect=[19,3 1x14] color=rgb(0, 0, 0) should_blink=false+FillRoundedRectRing@s1/e0 rect=[-2,-2 74x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+DrawLine@s1/e0 from=[65,17] to=[67,15] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[64,17] to=[67,14] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[62,17] to=[67,12] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[61,17] to=[67,11] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[59,17] to=[67,9] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[58,17] to=[67,8] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawGlyphRun@s1/e0 rect=[0,23 24x16] translation=[0,36] color=rgb(0, 0, 0)diff --git a/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt b/Tests/LibWeb/Text/expected/display_list/textarea-caret.txtindex 7993b1c8243..912b93e623d 100644--- a/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt+++ b/Tests/LibWeb/Text/expected/display_list/textarea-caret.txt@@ -3,20 +3,20 @@ AccumulatedVisualContext Tree:[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)[s1] scroll (Viewport<#document>)clips:- [c0 in s1] clip=[9,9 104x30] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>)+ [c0 in s1] clip=[9,9 104x32] radii=(3,3,3,3) (TextAreaBox<TEXTAREA>)effects:[e0 in s0] effects=[]DisplayList:-FillRectWithRoundedCorners@s1/e0 rect=[8,8 106x32] color=rgb(255, 255, 255)-FillRoundedRectRing@s1/e0 rect=[8,8 106x32] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/c0/e0 rect=[11,11 30x13] translation=[11,21.390625] color=rgb(0, 0, 0)-PaintCaret@s1/c0/e0 rect=[11,11 1x13] color=rgb(0, 0, 0) should_blink=false-FillRoundedRectRing@s1/e0 rect=[6,6 110x36] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)-DrawLine@s1/e0 from=[109,37] to=[111,35] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[108,37] to=[111,34] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[106,37] to=[111,32] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[105,37] to=[111,31] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[103,37] to=[111,29] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid-DrawLine@s1/e0 from=[102,37] to=[111,28] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+FillRectWithRoundedCorners@s1/e0 rect=[8,8 106x34] color=rgb(255, 255, 255)+FillRoundedRectRing@s1/e0 rect=[8,8 106x34] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)+DrawGlyphRun@s1/c0/e0 rect=[11,11 31x14] translation=[11,21.984375] color=rgb(0, 0, 0)+PaintCaret@s1/c0/e0 rect=[11,11 1x14] color=rgb(0, 0, 0) should_blink=false+FillRoundedRectRing@s1/e0 rect=[6,6 110x38] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)+DrawLine@s1/e0 from=[109,39] to=[111,37] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[108,39] to=[111,36] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[106,39] to=[111,34] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[105,39] to=[111,33] color=rgba(0, 0, 0, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[103,39] to=[111,31] color=rgba(255, 255, 255, 0.392) thickness=1 style=Solid+DrawLine@s1/e0 from=[102,39] to=[111,30] color=rgba(0, 0, 0, 0.392) thickness=1 style=Soliddiff --git a/Tests/LibWeb/Text/expected/ruby-display-boxes-lay-out-like-flow-boxes.txt b/Tests/LibWeb/Text/expected/ruby-display-boxes-lay-out-like-flow-boxes.txtindex 8365560cc27..60c82689ce0 100644--- a/Tests/LibWeb/Text/expected/ruby-display-boxes-lay-out-like-flow-boxes.txt+++ b/Tests/LibWeb/Text/expected/ruby-display-boxes-lay-out-like-flow-boxes.txt@@ -3,4 +3,4 @@ vertical-block-ruby: 70x100 at 0,0, child 50x20 at 20,0, same as its flow twininline-ruby-legend-with-block-child: 50x20 at 0,0, child 50x20 at 0,0, same as its flow twininline-ruby-legend-with-text: 40.1875x20 at 0,0, same as its flow twinruby-text-legend: 300x40 at 0,0, child 50x20 at 0,0, same as its flow twin-inline-ruby-input: 242x22 at 0,0, same as its flow twin+inline-ruby-input: 161.6875x16 at 0,4, same as its flow twindiff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox/flex-item-compressible-002.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox/flex-item-compressible-002.txtindex fd4baefadf0..69ba51fa39f 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox/flex-item-compressible-002.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-flexbox/flex-item-compressible-002.txt@@ -2,8 +2,8 @@ Harness status: OKFound 15 tests-13 Pass-2 Fail+14 Pass+1 FailPass .flexbox 1Pass .flexbox 2Pass .flexbox 3@@ -14,7 +14,7 @@ Pass .flexbox 7Pass .flexbox 8Pass .flexbox 9Pass .flexbox 10-Fail .flexbox 11+Pass .flexbox 11Fail .flexbox 12Pass .flexbox 13Pass .flexbox 14diff --git a/Tests/LibWeb/Text/input/hit_testing/grapheme.html b/Tests/LibWeb/Text/input/hit_testing/grapheme.htmlindex 842464477c8..82c421e7078 100644--- a/Tests/LibWeb/Text/input/hit_testing/grapheme.html+++ b/Tests/LibWeb/Text/input/hit_testing/grapheme.html@@ -1,6 +1,11 @@<!doctype html><meta charset="utf-8"><script src="../include.js"></script>+<style>+ textarea {+ font: 13px monospace;+ }+</style><textarea id="text">hello 👩🏼❤️👨🏻👩🏼❤️👨🏻👩🏼❤️👨🏻👩🏼❤️👨🏻</textarea>