Truly independent web browser
LibWeb: Give buttons and selects more padding
Andreas Kling50fef2c26daa
diff --git a/Libraries/LibWeb/CSS/Default.css b/Libraries/LibWeb/CSS/Default.cssindex f02dda1df26..618b97a60ed 100644--- a/Libraries/LibWeb/CSS/Default.css+++ b/Libraries/LibWeb/CSS/Default.css@@ -60,7 +60,7 @@ input::placeholder, textarea::placeholder {}button, input[type=submit], input[type=button], input[type=reset], select, ::file-selector-button {- padding: 1px 4px;+ padding: 2px 8px;background-color: ButtonFace;border: 1px solid ButtonBorder;color: ButtonText;diff --git a/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txt b/Tests/LibWeb/Layout/expected/HTMLSelectElement-selected-index.txtindex 017cc35f7f3..77a16f463fc 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 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: [13,10 81.640625x16] baseline: 14.796875- BlockContainer <select#select> at [13,10] inline-block [0+1+4 81.640625 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- Box <div> at [13,10] 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 [13,10] flex-item [0+0+0 61.640625 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [13,10] [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: [13,10 58.390625x16] baseline: 12.796875+ 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"Value 1"TextNode <#text> (not painted)- BlockContainer <div> at [13,26] floating [0+0+0 61.640625 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [13,26] [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: [13,26 61.640625x16] baseline: 12.796875+ 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"Value 0"TextNode <#text> (not painted)- BlockContainer <div> at [13,42] [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: [13,42 58.390625x16] baseline: 12.796875+ 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"Value 1"TextNode <#text> (not painted)- BlockContainer <div> at [78.640625,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.640625,10 16x16] baseline: 16- SVGSVGBox <svg> at [78.640625,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ 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-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 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txtindex 60263795ef4..e67c2c29606 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-baseline-align.txt@@ -1,25 +1,25 @@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 61.1875x44] baseline: 33.796875- BlockContainer <div.ib> at [8,8] inline-block [0+0+0 61.1875 0+0+0] [0+0+0 44 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [9,26 17.828125x20] baseline: 17- frag 1 from TextNode start: 0, length: 1, rect: [27.828125,29 8x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 62 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 46 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 69.1875x46] baseline: 34.796875+ BlockContainer <div.ib> at [8,8] inline-block [0+0+0 69.1875 0+0+0] [0+0+0 46 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [9,27 17.828125x20] baseline: 17+ frag 1 from TextNode start: 0, length: 1, rect: [27.828125,30 8x16] baseline: 12.796875" "- frag 2 from BlockContainer start: 0, length: 0, rect: [40.828125,10 23.359375x40] baseline: 34+ frag 2 from BlockContainer start: 0, length: 0, rect: [44.828125,11 23.359375x40] baseline: 35TextNode <#text> (not painted)- BlockContainer <div.label> at [9,26] inline-block [0+1+0 17.828125 0+1+0] [0+1+0 20 0+1+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [9,26 17.828125x20] baseline: 16+ BlockContainer <div.label> at [9,27] inline-block [0+1+0 17.828125 0+1+0] [0+1+0 20 0+1+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [9,27 17.828125x20] baseline: 16"A"TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <button> at [40.828125,10] inline-block [0+1+4 23.359375 4+1+0] [0+1+1 40 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [40.828125,10] flex-container(column) [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [40.828125,10] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [40.828125,10 23.359375x40] baseline: 32+ BlockContainer <button> at [44.828125,11] inline-block [0+1+8 23.359375 8+1+0] [0+1+2 40 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [44.828125,11] flex-container(column) [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [44.828125,11] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [44.828125,11 23.359375x40] baseline: 32"B"TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x62] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-empty.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-empty.txtindex c9478d5cbde..f586e77b893 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-empty.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-empty.txt@@ -1,9 +1,9 @@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 32 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,20 0x0] baseline: 2- BlockContainer <button> at [13,20] inline-block [0+1+4 0 4+1+0] [0+1+1 0 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,20] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,20 0x0] baseline: 3+ BlockContainer <button> at [17,20] inline-block [0+1+8 0 8+1+0] [0+1+2 0 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,20] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inlineBlockContainer <(anonymous)> (not painted) [BFC] children: not-inlineSC for Viewport<#document> [0,0 800x600] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txtindex 619564aabfe..9ca1863ac4f 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-image-only.txt@@ -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 441.203125 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 425.203125 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 420x420] baseline: 422- BlockContainer <button> at [13,10] inline-block [0+1+4 420 4+1+0] [0+1+1 420 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-item [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] [BFC] children: inline- frag 0 from ImageBox start: 0, length: 0, rect: [13,10 420x420] baseline: 420+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 442.203125 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 426.203125 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 420x420] baseline: 423+ BlockContainer <button> at [17,11] inline-block [0+1+8 420 8+1+0] [0+1+2 420 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] [BFC] children: inline+ frag 0 from ImageBox start: 0, length: 0, rect: [17,11 420x420] baseline: 420TextNode <#text> (not painted)- ImageBox <img> at [13,10] [0+0+0 420 0+0+0] [0+0+0 420 0+0+0] children: not-inline+ ImageBox <img> at [17,11] [0+0+0 420 0+0+0] [0+0+0 420 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 800x441.203125] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x442.203125] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-should-have-vertically-aligned-content.txtindex a99264e558a..e5f3edec044 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: [22,19 48.6875x178] baseline: 80.796875+ frag 0 from BlockContainer start: 0, length: 0, rect: [26,20 48.6875x176] baseline: 80.796875TextNode <#text> (not painted)- BlockContainer <button.button.border-black> at [22,19] inline-block [0+10+4 48.6875 4+10+0] [0+10+1 178 1+10+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [22,19] flex-container(column) [0+0+0 48.6875 0+0+0] [0+0+0 178 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [22,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 [22,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 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: inlineTextNode <#text> (not painted)- BlockContainer <div.border-black> at [32,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: [32,40 28.6875x16] baseline: 12.796875+ 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"one"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [22,66] [0+0+0 48.6875 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [26,66] [0+0+0 48.6875 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <div.border-black> at [32,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: [32.125,76 28.4375x16] baseline: 12.796875+ 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"two"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [22,186] [0+0+0 48.6875 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [26,186] [0+0+0 48.6875 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 1cfab73bbb0..59a06495b75 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 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 [13,10] [0+1+4 190 4+1+584] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 190 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-item [0+0+0 190 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 11, rect: [60.53125,10 94.921875x16] baseline: 12.796875+ 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"200px width"TextNode <#text> (not painted)- BlockContainer <button.btn> at [13,30] [0+1+4 324.671875 4+1+449.328125] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,30] 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 [13,30] 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: [13,30 324.671875x16] baseline: 12.796875+ 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"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 800x56] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-after-pseudo.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-after-pseudo.txtindex 774c77698e3..8e41b66a7e0 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-after-pseudo.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-after-pseudo.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 70 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 54 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 414.703125x50] baseline: 41.984375- BlockContainer <button.button_button___eDCW> at [13,10] positioned inline-block [0+1+4 414.703125 4+1+0] [0+1+1 50 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-item [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [13,10 414.703125x50] baseline: 39.984375+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 72 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 56 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 414.703125x50] baseline: 42.984375+ BlockContainer <button.button_button___eDCW> at [17,11] positioned inline-block [0+1+8 414.703125 8+1+0] [0+1+2 50 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [17,11 414.703125x50] baseline: 39.984375"See more games"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [9,9] positioned [0+0+0 422.703125 0+0+0] [0+0+0 52 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [9,9] positioned [0+0+0 430.703125 0+0+0] [0+0+0 54 0+0+0] [BFC] children: not-inlineSC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)- SC for BlockContainer(anonymous) [9,9 422.703125x52] (z-index: -1)+ SC for BlockContainer<HTML> [0,0 800x72] (z-index: auto)+ SC for BlockContainer(anonymous) [9,9 430.703125x54] (z-index: -1)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-before-pseudo.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-before-pseudo.txtindex c17cb6a321a..b32e3c035ed 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-before-pseudo.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-before-pseudo.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 70 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 54 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 414.703125x50] baseline: 41.984375- BlockContainer <button.button_button___eDCW> at [13,10] positioned inline-block [0+1+4 414.703125 4+1+0] [0+1+1 50 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-item [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [13,10 414.703125x50] baseline: 39.984375+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 72 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 56 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 414.703125x50] baseline: 42.984375+ BlockContainer <button.button_button___eDCW> at [17,11] positioned inline-block [0+1+8 414.703125 8+1+0] [0+1+2 50 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 414.703125 0+0+0] [0+0+0 50 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 14, rect: [17,11 414.703125x50] baseline: 39.984375"See more games"- BlockContainer <(anonymous)> at [9,9] positioned [0+0+0 422.703125 0+0+0] [0+0+0 52 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [9,9] positioned [0+0+0 430.703125 0+0+0] [0+0+0 54 0+0+0] [BFC] children: not-inlineTextNode <#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(anonymous) [9,9 422.703125x52] (z-index: -1)+ SC for BlockContainer<HTML> [0,0 800x72] (z-index: auto)+ SC for BlockContainer(anonymous) [9,9 430.703125x54] (z-index: -1)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txtindex a24c007065c..ec9be9161b3 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-block-content-baseline-align.txt@@ -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 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 61.1875x44] baseline: 33.796875- BlockContainer <div.ib> at [8,8] inline-block [0+0+0 61.1875 0+0+0] [0+0+0 44 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [9,26 17.828125x20] baseline: 17- frag 1 from TextNode start: 0, length: 1, rect: [27.828125,29 8x16] baseline: 12.796875+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 62 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 46 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 69.1875x46] baseline: 34.796875+ BlockContainer <div.ib> at [8,8] inline-block [0+0+0 69.1875 0+0+0] [0+0+0 46 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [9,27 17.828125x20] baseline: 17+ frag 1 from TextNode start: 0, length: 1, rect: [27.828125,30 8x16] baseline: 12.796875" "- frag 2 from BlockContainer start: 0, length: 0, rect: [40.828125,10 23.359375x40] baseline: 34+ frag 2 from BlockContainer start: 0, length: 0, rect: [44.828125,11 23.359375x40] baseline: 35TextNode <#text> (not painted)- BlockContainer <div.label> at [9,26] inline-block [0+1+0 17.828125 0+1+0] [0+1+0 20 0+1+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [9,26 17.828125x20] baseline: 16+ BlockContainer <div.label> at [9,27] inline-block [0+1+0 17.828125 0+1+0] [0+1+0 20 0+1+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [9,27 17.828125x20] baseline: 16"A"TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <button> at [40.828125,10] inline-block [0+1+4 23.359375 4+1+0] [0+1+1 40 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [40.828125,10] flex-container(column) [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [40.828125,10] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [40.828125,10] [0+0+0 23.359375 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <button> at [44.828125,11] inline-block [0+1+8 23.359375 8+1+0] [0+1+2 40 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [44.828125,11] flex-container(column) [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [44.828125,11] flex-item [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [44.828125,11] [0+0+0 23.359375 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <div> at [40.828125,10] [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [40.828125,10 23.359375x40] baseline: 32+ BlockContainer <div> at [44.828125,11] [0+0+0 23.359375 0+0+0] [0+0+0 40 0+0+0] children: inline+ frag 0 from TextNode start: 0, length: 1, rect: [44.828125,11 23.359375x40] baseline: 32"B"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [40.828125,50] [0+0+0 23.359375 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [44.828125,51] [0+0+0 23.359375 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 800x60] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x62] (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 cea0157245d..ee729a4af0b 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: [13,10 143.515625x96] baseline: 54.796875- BlockContainer <button> at [13,10] inline-block [0+1+4 143.515625 4+1+0] [0+1+1 96 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 143.515625 0+0+0] [0+0+0 96 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,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: [13,50 143.515625x16] baseline: 12.796875+ 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"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 30296d7b8ad..cc6723cff01 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 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: [13,10 49.921875x16] baseline: 14.796875- BlockContainer <button> at [13,10] inline-block [0+1+4 49.921875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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 [13,10] 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: [13,10 49.921875x16] baseline: 12.796875+ 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"A B C"TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label-and-font-size.txt b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label-and-font-size.txtindex 28f41986531..5653c7b251f 100644--- a/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label-and-font-size.txt+++ b/Tests/LibWeb/Layout/expected/block-and-inline/button-with-text-node-label-and-font-size.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 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: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 111.65625x48] baseline: 40.390625- BlockContainer <button> at [13,10] inline-block [0+1+4 111.65625 4+1+0] [0+1+1 48 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 111.65625 0+0+0] [0+0+0 48 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-item [0+0+0 111.65625 0+0+0] [0+0+0 48 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 4, rect: [13,10 111.65625x48] baseline: 38.390625+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 70 0+0+0] [BFC] children: not-inline+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 54 0+0+8] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 111.65625x48] baseline: 41.390625+ BlockContainer <button> at [17,11] inline-block [0+1+8 111.65625 8+1+0] [0+1+2 48 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 111.65625 0+0+0] [0+0+0 48 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-item [0+0+0 111.65625 0+0+0] [0+0+0 48 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 4, rect: [17,11 111.65625x48] baseline: 38.390625"Test"TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x70] (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 51dfdb313ef..99a27adddcd 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 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: [13,10 37.21875x16] baseline: 14.796875- BlockContainer <button> at [13,10] inline-block [0+1+4 37.21875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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 [13,10] 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: [13,10 37.21875x16] baseline: 12.796875+ 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"Test"TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (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 568d149e868..14e21410615 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 36 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline- BlockContainer <div.container> at [8,8] [0+0+0 400 0+0+384] [0+0+0 20 0+0+0] children: not-inline+ BlockContainer <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-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,10] [176.390625+1+4 37.21875 4+1+176.390625] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [189.390625,10] 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,10] 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,10 37.21875x16] baseline: 12.796875+ 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"Test"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,28] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,30] [0+0+0 400 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,30] [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 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (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 c841152a162..ebd7fd5ac73 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 40 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-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 [728.265625,16] floating [0+0+0 63.734375 0+0+0] [0+0+0 24 0+0+0] [BFC] children: not-inline- ListItemMarkerBox <(anonymous)> at [714.265625,20] [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.265625,20 13.84375x16] baseline: 12.796875+ 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"• "GeneratedTextNode <(anonymous)> (not painted)- BlockContainer <(anonymous)> at [728.265625,16] [0+0+0 63.734375 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [720.265625,16] [0+0+0 71.734375 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <form> at [728.265625,16] [0+0+0 63.734375 0+0+0] [0+0+0 24 0+0+0] children: inline- frag 0 from FieldSetBox start: 0, length: 0, rect: [730.265625,18 59.734375x20] baseline: 16.796875+ 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.796875TextNode <#text> (not painted)- FieldSetBox <fieldset> at [730.265625,18] inline-block [0+2+0 59.734375 0+2+0] [0+2+0 20 0+2+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [730.265625,18] [0+0+0 59.734375 0+0+0] [0+0+0 20 0+0+0] children: inline+ 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: inlineTextNode <#text> (not painted)- InlineNode <p> at [730.265625,20] [0+0+0 59.734375 0+0+0] [0+0+0 16 0+0+0]- InlineNode <span.actions> at [730.265625,20] [0+0+0 59.734375 0+0+0] [0+0+0 16 0+0+0]- frag 0 from BlockContainer start: 0, length: 0, rect: [735.265625,20 49.734375x16] baseline: 14.796875- BlockContainer <input> at [735.265625,20] [0+1+4 49.734375 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [735.265625,20] 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 [735.265625,20] 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: [735.265625,20 49.734375x16] baseline: 12.796875- BlockContainer <span> at [735.265625,20] 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: [735.265625,20 49.734375x16] baseline: 12.796875+ 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"PASS"TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [728.265625,40] [0+0+0 63.734375 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [720.265625,42] [0+0+0 71.734375 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 800x40] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x42] (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 3bace3cd22e..dfcbb4f5de6 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 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: [13,10 82x16] baseline: 14.796875- BlockContainer <button> at [13,10] inline-block [0+1+4 82 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 82 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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: [40.15625,10 27.640625x16] baseline: 12.796875+ 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"bar"- InlineNode <(anonymous)> at [13,10] [0+0+0 27.15625 0+0+0] [0+0+0 16 0+0+0]- frag 0 from GeneratedTextNode start: 0, length: 3, rect: [13,10 27.15625x16] baseline: 12.796875+ 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"foo"GeneratedTextNode <(anonymous)> (not painted)TextNode <#text> (not painted)- InlineNode <(anonymous)> at [67.796875,10] [0+0+0 27.203125 0+0+0] [0+0+0 16 0+0+0]- frag 0 from GeneratedTextNode start: 0, length: 3, rect: [67.796875,10 27.203125x16] baseline: 12.796875+ 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"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 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/css-appearance-none.txt b/Tests/LibWeb/Layout/expected/css-appearance-none.txtindex 574acd14030..263fcddf8a0 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 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: [13,10 0x16] baseline: 14.796875- frag 1 from TextNode start: 0, length: 13, rect: [18,10 116.171875x16] baseline: 12.796875+ 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"Normal button"- frag 2 from BlockContainer start: 0, length: 0, rect: [13,30 0x16] baseline: 14.796875- frag 3 from TextNode start: 0, length: 20, rect: [18,30 181.203125x16] baseline: 12.796875+ 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"No appearance button"- 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+ 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"Normal checkbox"- 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+ 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"No appearance checkbox"- 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+ 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"Normal radio"- 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+ 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"No appearance radio"- BlockContainer <input> at [13,10] inline-block [0+1+4 0 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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: [13,10 0x16] baseline: 12.796875- BlockContainer <span> at [13,10] 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: [13,10 0x16] baseline: 12.796875+ 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.796875TextNode <#text> (not painted)TextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- BlockContainer <input> at [13,30] inline-block [0+1+4 0 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,30] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,30] 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: [13,30 0x16] baseline: 12.796875- BlockContainer <span> at [13,30] 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: [13,30 0x16] baseline: 12.796875+ 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.796875TextNode <#text> (not painted)TextNode <#text> (not painted)BreakNode <br> (not painted)TextNode <#text> (not painted)- CheckBox <input> at [8,48] inline-block [0+0+0 13 0+0+0] [0+0+0 13 0+0+0] children: not-inline+ CheckBox <input> at [8,52] 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,77] inline-block [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <input> at [8,81] 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,81] inline-block [0+0+0 12 0+0+0] [0+0+0 12 0+0+0] children: not-inline+ RadioButton <input> at [8,85] 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,109] inline-block [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline+ BlockContainer <input> at [8,113] 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 800x120.40625] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x124.40625] (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 74e3e4a50ad..e488566e019 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 46 0+0+0] [BFC] children: not-inline- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 30 0+0+8] children: not-inline- BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 30 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 1, rect: [8,10 15.765625x26] baseline: 20.796875+ 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"x"- frag 1 from Box start: 0, length: 0, rect: [28.765625,10 14.78125x26] baseline: 22.796875- frag 2 from TextNode start: 0, length: 1, rect: [48.546875,10 11.65625x26] baseline: 20.796875+ 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"y"TextNode <#text> (not painted)- Box <button> at [28.765625,10] flex-container(row) [0+1+4 14.78125 4+1+0] [0+1+1 26 1+1+0] [FFC] children: not-inline- Box <span> at [28.765625,10] 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 [28.765625,10] 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: [28.765625,10 14.78125x26] baseline: 20.796875+ 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"3"TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,38] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,40] [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 800x46] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x48] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txt b/Tests/LibWeb/Layout/expected/flex/button-layout-inside-flex.txtindex 941e55c5892..f3a6e8ba8ff 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 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 [13,10] flex-item [0+1+4 774 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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: 3, rect: [386.421875,10 27.15625x16] baseline: 12.796875+ 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"foo"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- Box <div> at [8,28] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline- BlockContainer <span> at [8,28] flex-item [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [8,28 27.640625x16] baseline: 12.796875+ 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"bar"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ 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)- SC for BlockContainer<HTML> [0,0 800x52] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x54] (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 ebc7c958373..5ff031e8e89 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 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 285.546875 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 275.546875x16] baseline: 14.796875+ 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.796875TextNode <#text> (not painted)- BlockContainer <button> at [13,10] inline-block [0+1+4 275.546875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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 [13,10] 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: [13,10 275.546875x16] baseline: 12.796875+ 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"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 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt b/Tests/LibWeb/Layout/expected/input-as-button-align-center.txtindex 7230e1482cf..a0473473f1c 100644--- a/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt+++ b/Tests/LibWeb/Layout/expected/input-as-button-align-center.txt@@ -1,9 +1,9 @@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 316 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 300 0+0+8] children: not-inline- BlockContainer <input.btn> at [13,10] [0+1+4 290 4+1+484] [0+1+1 296 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 290 0+0+0] [0+0+0 296 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,150.5] flex-item [0+0+0 290 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inline+ BlockContainer <input.btn> at [17,11] [0+1+8 282 8+1+484] [0+1+2 294 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 282 0+0+0] [0+0+0 294 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,150.5] flex-item [0+0+0 282 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inlinefrag 0 from BlockContainer start: 0, length: 0, rect: [36.75,150.5 242.5x15] baseline: 12BlockContainer <span> at [36.75,150.5] inline-block [0+0+0 242.5 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inlinefrag 0 from TextNode start: 0, length: 31, rect: [36.75,150.5 242.5x15] baseline: 12diff --git a/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt b/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txtindex 66bd2d4c966..3845d3b7f6f 100644--- a/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt+++ b/Tests/LibWeb/Layout/expected/input-as-button-shrink-to-fit.txt@@ -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 52 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 36 0+0+8] children: not-inline- BlockContainer <input.btn> at [13,10] [0+1+4 195.796875 4+1+578.203125] [0+1+1 32 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] flex-container(column) [0+0+0 195.796875 0+0+0] [0+0+0 32 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,18.5] flex-item [0+0+0 195.796875 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,18.5 195.796875x15] baseline: 12- BlockContainer <span> at [13,18.5] inline-block [0+0+0 195.796875 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 26, rect: [13,18.5 195.796875x15] baseline: 12+ BlockContainer <input.btn> at [17,11] [0+1+8 195.796875 8+1+570.203125] [0+1+2 30 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 195.796875 0+0+0] [0+0+0 30 0+0+0] [FFC] children: not-inline+ BlockContainer <(anonymous)> at [17,18.5] flex-item [0+0+0 195.796875 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,18.5 195.796875x15] baseline: 12+ BlockContainer <span> at [17,18.5] inline-block [0+0+0 195.796875 0+0+0] [0+0+0 15 0+0+0] [BFC] children: inline+ frag 0 from TextNode start: 0, length: 26, rect: [17,18.5 195.796875x15] baseline: 12"Width should shrink to fit"TextNode <#text> (not painted)BlockContainer <(anonymous)> at [8,44] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlinediff --git a/Tests/LibWeb/Layout/expected/input-file-after-type-change.txt b/Tests/LibWeb/Layout/expected/input-file-after-type-change.txtindex d63a4e2e027..969948c4a3f 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 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 236.65625x20] baseline: 14.796875- BlockContainer <input#target> at [8,8] inline-block [0+0+0 236.65625 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 236.65625 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 236.65625 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x16] baseline: 14.796875- BlockContainer <button> at [13,10] inline-block [0+1+4 94.375 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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 [13,10] 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: [13,10 94.375x16] baseline: 12.796875+ 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"Select file..."TextNode <#text> (not painted)- InlineNode <label> at [116.375,10] [0+0+4 128.28125 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 17, rect: [116.375,10 128.28125x16] baseline: 12.796875+ 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"No file selected."TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/input-file.txt b/Tests/LibWeb/Layout/expected/input-file.txtindex 7b9280b9dc0..de03a4c97b5 100644--- a/Tests/LibWeb/Layout/expected/input-file.txt+++ b/Tests/LibWeb/Layout/expected/input-file.txt@@ -1,59 +1,57 @@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 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 236.65625x20] baseline: 14.796875- frag 1 from TextNode start: 0, length: 1, rect: [244.65625,10 8x16] baseline: 12.796875+ 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" "- frag 2 from BlockContainer start: 0, length: 0, rect: [252.65625,8 255.34375x20] baseline: 14.796875- frag 3 from TextNode start: 0, length: 1, rect: [508,10 8x16] baseline: 12.796875- " "- frag 4 from BlockContainer start: 0, length: 0, rect: [516,8 255.34375x20] baseline: 14.796875- BlockContainer <input> at [8,8] inline-block [0+0+0 236.65625 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 236.65625 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [8,8] flex-item [0+0+0 236.65625 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 94.375x16] baseline: 14.796875- BlockContainer <button> at [13,10] inline-block [0+1+4 94.375 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,10] 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 [13,10] 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: [13,10 94.375x16] 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"Select file..."TextNode <#text> (not painted)- InlineNode <label> at [116.375,10] [0+0+4 128.28125 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 17, rect: [116.375,10 128.28125x16] baseline: 12.796875+ 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"No file selected."TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <input> at [252.65625,8] inline-block [0+0+0 255.34375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [252.65625,8] flex-container(column) [0+0+0 255.34375 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [252.65625,8] flex-item [0+0+0 255.34375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [257.65625,10 103.71875x16] baseline: 14.796875- BlockContainer <button> at [257.65625,10] inline-block [0+1+4 103.71875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [257.65625,10] 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 [257.65625,10] 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: [257.65625,10 103.71875x16] baseline: 12.796875+ 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"Select files..."TextNode <#text> (not painted)- InlineNode <label> at [370.375,10] [0+0+4 137.625 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 18, rect: [370.375,10 137.625x16] baseline: 12.796875+ 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"No files selected."TextNode <#text> (not painted)TextNode <#text> (not painted)- BlockContainer <input#multiple> at [516,8] inline-block [0+0+0 255.34375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [516,8] flex-container(column) [0+0+0 255.34375 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [516,8] flex-item [0+0+0 255.34375 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [521,10 103.71875x16] baseline: 14.796875- BlockContainer <button> at [521,10] inline-block [0+1+4 103.71875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [521,10] 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 [521,10] 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: [521,10 103.71875x16] baseline: 12.796875+ 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"Select files..."TextNode <#text> (not painted)- InlineNode <label> at [633.71875,10] [0+0+4 137.625 0+0+0] [0+0+0 16 0+0+0]- frag 0 from TextNode start: 0, length: 18, rect: [633.71875,10 137.625x16] baseline: 12.796875+ 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"No files selected."TextNode <#text> (not painted)TextNode <#text> (not painted)TextNode <#text> (not painted)SC for Viewport<#document> [0,0 800x600] (z-index: auto)- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x60] (z-index: auto)diff --git a/Tests/LibWeb/Layout/expected/popovertarget-button.txt b/Tests/LibWeb/Layout/expected/popovertarget-button.txtindex 8fdf88894f8..d5c2e0c42b8 100644--- a/Tests/LibWeb/Layout/expected/popovertarget-button.txt+++ b/Tests/LibWeb/Layout/expected/popovertarget-button.txt@@ -1,9 +1,9 @@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 32 0+0+0] [BFC] children: not-inlineBlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 16 0+0+8] children: inline- frag 0 from BlockContainer start: 0, length: 0, rect: [13,20 0x0] baseline: 2- BlockContainer <button#button> at [13,20] inline-block [0+1+4 0 4+1+0] [0+1+1 0 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [13,20] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inline+ frag 0 from BlockContainer start: 0, length: 0, rect: [17,20 0x0] baseline: 3+ BlockContainer <button#button> at [17,20] inline-block [0+1+8 0 8+1+0] [0+1+2 0 2+1+0] [BFC] children: not-inline+ BlockContainer <(anonymous)> at [17,20] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 0 0+0+0] [FFC] children: not-inlineBlockContainer <(anonymous)> (not painted) [BFC] children: not-inlineTextNode <#text> (not painted)TextNode <#text> (not painted)diff --git a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txtindex bdfca9b1bd8..a002a018632 100644--- a/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt+++ b/Tests/LibWeb/Layout/expected/pseudo-element-content-replacement.txt@@ -3,38 +3,38 @@ 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 320 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 <button.flex-container.single-image> at [13,10] flex-container(row) [0+1+4 190 4+1+584] [0+1+1 44 1+1+0] [FFC] children: not-inline- ImageBox <(anonymous)> at [13,10] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [53,10] flex-item [0+0+0 127.859375 0+0+0] [0+0+0 44 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [53,10 127.859375x16] baseline: 12.796875+ 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-inline+ ImageBox <(anonymous)> at [17,11] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline+ BlockContainer <(anonymous)> at [57,11] flex-item [0+0+0 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"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 [13,58] flex-container(row) [0+1+4 190 4+1+584] [0+1+1 44 1+1+0] [FFC] children: not-inline- ImageBox <(anonymous)> at [13,58] flex-item [0+0+0 40 0+0+0] [0+0+0 32 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [61,58] flex-item [0+0+0 142 0+0+0] [0+0+0 44 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 14, rect: [79.8125,58 104.359375x16] baseline: 12.796875+ 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-inline+ ImageBox <(anonymous)> at [17,59] flex-item [0+0+0 40 0+0+0] [0+0+0 32 0+0+0] children: not-inline+ BlockContainer <(anonymous)> at [65,59] flex-item [0+0+0 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,74 37.1875x16] baseline: 12.796875+ frag 1 from TextNode start: 15, length: 3, rect: [113.40625,75 37.1875x16] baseline: 12.796875"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 [13,106] flex-container(row) [0+1+4 190 4+1+584] [0+1+1 44 1+1+0] [FFC] children: not-inline- ImageBox <(anonymous)> at [13,106] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline- BlockContainer <(anonymous)> at [53,106] flex-item [0+0+0 65.5 0+0+0] [0+0+0 44 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 8, rect: [53,106 65.5x16] baseline: 12.796875+ 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-inline+ ImageBox <(anonymous)> at [17,107] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline+ BlockContainer <(anonymous)> at [57,107] flex-item [0+0+0 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"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 [13,154] flex-container(row) [0+1+4 190 4+1+584] [0+1+1 44 1+1+0] [FFC] children: not-inline- BlockContainer <(anonymous)> at [13,154] flex-item [0+0+0 45.109375 0+0+0] [0+0+0 44 0+0+0] [BFC] children: inline- frag 0 from TextNode start: 0, length: 5, rect: [13,154 45.109375x16] baseline: 12.796875+ 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"After"TextNode <#text> (not painted)- ImageBox <(anonymous)> at [66.109375,154] flex-item [0+0+0 32 0+0+0] [0+0+0 32 0+0+0] children: not-inline+ ImageBox <(anonymous)> at [70.109375,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 380eed6ec7f..d0fb7c420f9 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: [5,2 98.015625x16] baseline: 14.796875+ frag 0 from BlockContainer start: 0, length: 0, rect: [9,3 98.015625x16] baseline: 15.796875TextNode <#text> (not painted)- BlockContainer <button> at [5,2] inline-block [0+1+4 98.015625 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [5,2] 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 [5,2] 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: [5,2 98.015625x16] baseline: 12.796875+ 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"Test Button"TextNode <#text> (not painted)TextNode <#text> (not painted)diff --git a/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txt b/Tests/LibWeb/Layout/expected/select-baseline-from-label-text.txtindex 4a02bfc75d2..2e5c68c3cf6 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 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,10 29.265625x16] baseline: 12.796875+ 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"Xx "- frag 1 from BlockContainer start: 0, length: 0, rect: [42.265625,10 76.46875x16] baseline: 14.796875- frag 2 from TextNode start: 0, length: 1, rect: [123.734375,10 8x16] baseline: 12.796875+ 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 3 from BlockContainer start: 0, length: 0, rect: [136.734375,10 23.59375x16] baseline: 14.296875+ frag 3 from BlockContainer start: 0, length: 0, rect: [148.734375,11 23.59375x16] baseline: 15.296875TextNode <#text> (not painted)- BlockContainer <select> at [42.265625,10] inline-block [0+1+4 76.46875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- Box <div> at [42.265625,10] 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 [42.265625,10] flex-item [0+0+0 56.46875 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [42.265625,10] [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: [42.265625,10 56.46875x16] baseline: 12.796875+ 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"English"TextNode <#text> (not painted)- BlockContainer <div> at [42.265625,26] floating [0+0+0 56.46875 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [42.265625,26] [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: [42.265625,26 56.46875x16] baseline: 12.796875+ 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"English"TextNode <#text> (not painted)- BlockContainer <div> at [102.734375,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: [102.734375,10 16x16] baseline: 16- SVGSVGBox <svg> at [102.734375,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ 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-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 [136.734375,10] inline-block [0+1+4 23.59375 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- BlockContainer <(anonymous)> at [136.734375,10] 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 [136.734375,10] 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: [136.734375,10 23.59375x16] baseline: 12.796875- BlockContainer <span> at [136.734375,10] 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: [136.734375,10 23.59375x16] baseline: 12.796875+ 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"Go"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inlineTextNode <#text> (not painted)- BlockContainer <div> at [8,28] [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] children: inline- frag 0 from TextNode start: 0, length: 3, rect: [8,30 29.265625x16] baseline: 12.796875+ 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"Xx "- frag 1 from BlockContainer start: 0, length: 0, rect: [42.265625,30 56.46875x16] baseline: 14.796875+ frag 1 from BlockContainer start: 0, length: 0, rect: [46.265625,33 56.46875x16] baseline: 15.796875TextNode <#text> (not painted)- BlockContainer <select> at [42.265625,30] inline-block [0+1+4 56.46875 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- Box <div> at [42.265625,30] 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 [42.265625,30] flex-item [0+0+0 56.46875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [42.265625,30] [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: [42.265625,30 56.46875x16] baseline: 12.796875+ 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"English"TextNode <#text> (not painted)- BlockContainer <div> at [42.265625,46] floating [0+0+0 56.46875 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [42.265625,46] [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: [42.265625,46 56.46875x16] baseline: 12.796875+ 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"English"TextNode <#text> (not painted)- BlockContainer <(anonymous)> at [8,48] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline+ BlockContainer <(anonymous)> at [8,52] [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 800x56] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x60] (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 bafe03a8f5b..3e521ba0bb4 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 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: [13,10 89.390625x16] baseline: 14.796875- BlockContainer <select#s> at [13,10] inline-block [0+1+4 89.390625 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- Box <div> at [13,10] 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 [13,10] flex-item [0+0+0 69.390625 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [13,10] [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: [13,10 69.109375x16] baseline: 12.796875+ 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"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [13,26] floating [0+0+0 69.390625 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [13,26] [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: [13,26 66.640625x16] baseline: 12.796875+ 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"Option 1"TextNode <#text> (not painted)- BlockContainer <div> at [13,42] [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: [13,42 69.109375x16] baseline: 12.796875+ 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"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [13,58] [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: [13,58 69.390625x16] baseline: 12.796875+ 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"Option 3"TextNode <#text> (not painted)- BlockContainer <div> at [86.390625,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: [86.390625,10 16x16] baseline: 16- SVGSVGBox <svg> at [86.390625,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ 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-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 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (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 4404c05d38d..cf4c87ab758 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 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: [13,10 89.109375x16] baseline: 14.796875- BlockContainer <select> at [13,10] inline-block [0+1+4 89.109375 4+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline- Box <div> at [13,10] 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 [13,10] flex-item [0+0+0 69.109375 0+0+20] [0+0+0 16 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [13,10] [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: [13,10 69.109375x16] baseline: 12.796875+ 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"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [13,26] floating [0+0+0 69.109375 0+0+0] [0+0+0 0 0+0+0] [BFC] children: not-inline- BlockContainer <div> at [13,26] [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: [13,26 66.640625x16] baseline: 12.796875+ 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"Option 1"TextNode <#text> (not painted)- BlockContainer <div> at [13,42] [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: [13,42 69.109375x16] baseline: 12.796875+ 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"Option 2"TextNode <#text> (not painted)- BlockContainer <div> at [86.109375,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: [86.109375,10 16x16] baseline: 16- SVGSVGBox <svg> at [86.109375,10] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline+ 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-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 800x36] (z-index: auto)+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)diff --git a/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png b/Tests/LibWeb/Screenshot/expected-macos/color-scheme.pngindex ef680723b48..d743b65d0f8 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 326408df6f7..44246e93c10 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: 340-scrollTop after click: 340+scrollTop before click: 342+scrollTop after click: 342diff --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 aa8586b65d7..05b155b3b02 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 106x20] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[8,8 106x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[13,10 96x16] translation=[13,22.796875] color=rgb(0, 0, 0)-DrawLine@s1/e0 from=[13,26] to=[109,26] color=rgb(0, 0, 0) thickness=2 style=Solid+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=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 63fa049130f..c441e1701a5 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@@ -11,24 +11,24 @@ AccumulatedVisualContext Tree:[e0 in s0] effects=[]DisplayList:-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=[5,2 48x16] translation=[5,14.796875] color=rgb(0, 0, 0)+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 144x20] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,60 144x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[5,62 134x16] translation=[5,74.796875] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,90 99x20] color=rgb(0, 255, 0)-FillRoundedRectRing@s1/e0 rect=[0,90 99x20] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[5,92 90x16] translation=[5,104.796875] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,120 64x20] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,120 64x20] widths=[1,1,1,1] color=rgb(255, 0, 0)-DrawGlyphRun@s1/e0 rect=[5,122 54x16] translation=[5,134.79688] color=rgb(0, 0, 0)-FillRect@s1/e0 rect=[0,150 153x20] color=rgb(239, 239, 239)-FillRoundedRectRing@s1/e0 rect=[0,150 153x20] widths=[1,1,1,1] color=rgb(118, 118, 118)-DrawGlyphRun@s1/e0 rect=[5,152 143x16] translation=[5,164.79688] color=rgb(0, 0, 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 198x20] color=rgb(255, 255, 255)FillRoundedRectRing@s1/e0 rect=[0,180 198x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)DrawGlyphRun@s1/c1/e0 rect=[3,182 38x16] translation=[3,194.79688] color=rgb(0, 0, 0)