Skip to content

Truly independent web browser

LibWeb: Give text fields more padding

Andreas Kling7fb539d92cdd
diff --git a/Libraries/LibWeb/CSS/Default.css b/Libraries/LibWeb/CSS/Default.css
index 618b97a60ed..16f10c43522 100644
--- a/Libraries/LibWeb/CSS/Default.css
+++ b/Libraries/LibWeb/CSS/Default.css
@@ -31,7 +31,7 @@ label {
/* FIXME: This is a temporary hack until we can render a native-looking frame for these. */
input:not([type=submit], input[type=button], input[type=image], input[type=reset], input[type=color], input[type=checkbox], input[type=file], input[type=radio], input[type=range]), textarea {
border: 1px solid ButtonBorder;
- padding: 1px 2px;
+ padding: 2px 4px;
min-height: 16px;
cursor: text;
diff --git a/Tests/LibWeb/Accessibility/expected/text-values.txt b/Tests/LibWeb/Accessibility/expected/text-values.txt
index 63019ea4585..c6582bacd00 100644
--- a/Tests/LibWeb/Accessibility/expected/text-values.txt
+++ b/Tests/LibWeb/Accessibility/expected/text-values.txt
@@ -7,7 +7,5 @@ document
text leaf name="
"
name="Password field" value="●●●●●●●●●●●●●" editable password
- text leaf name="
-"
textbox name="Notes" value="note text" editable multiline
text leaf name="note text"
diff --git a/Tests/LibWeb/Layout/expected/css-line-height-zero.txt b/Tests/LibWeb/Layout/expected/css-line-height-zero.txt
index 4ce5398370a..ee8cc6ca74c 100644
--- a/Tests/LibWeb/Layout/expected/css-line-height-zero.txt
+++ b/Tests/LibWeb/Layout/expected/css-line-height-zero.txt
@@ -1,30 +1,30 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 84 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 68 0+0+8] children: not-inline
- TextInputBox <input#a> at [11,10] [0+1+2 191.875 2+1+586.125] [0+1+1 16 1+1+0] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 11, rect: [11,10 91.953125x16] baseline: 12.796875
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 90 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 74 0+0+8] children: not-inline
+ TextInputBox <input#a> at [13,11] [0+1+4 191.875 4+1+582.125] [0+1+2 16 2+1+0] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 11, rect: [13,11 91.953125x16] baseline: 12.796875
"Hello World"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,28] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <(anonymous)> at [8,30] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
- TextInputBox <input#b> at [11,30] [0+1+2 191.875 2+1+586.125] [0+1+1 16 1+1+0] children: not-inline
- Box <div> at [11,30] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,30] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 11, rect: [11,30 91.953125x16] baseline: 12.796875
+ TextInputBox <input#b> at [13,33] [0+1+4 191.875 4+1+582.125] [0+1+2 16 2+1+0] children: not-inline
+ Box <div> at [13,33] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,33] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 11, rect: [13,33 91.953125x16] baseline: 12.796875
"Hello World"
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: inline
TextNode <#text> (not painted)
- TextInputBox <input#c> at [11,50] [0+1+2 191.875 2+1+586.125] [0+1+1 24 1+1+0] children: not-inline
- Box <div> at [11,50] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 24 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,50] flex-item [0+0+0 191.875 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 11, rect: [11,54 91.953125x16] baseline: 12.796875
+ TextInputBox <input#c> at [13,55] [0+1+4 191.875 4+1+582.125] [0+1+2 24 2+1+0] children: not-inline
+ Box <div> at [13,55] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 24 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,55] flex-item [0+0+0 191.875 0+0+0] [0+0+0 24 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 11, rect: [13,59 91.953125x16] baseline: 12.796875
"Hello World"
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,76] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <(anonymous)> at [8,82] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x84] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x90] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt b/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt
index 056713e117d..96af2e7d42a 100644
--- a/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt
+++ b/Tests/LibWeb/Layout/expected/empty-editable-shows-cursor.txt
@@ -1,55 +1,55 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 69 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 <(anonymous)> at [0,0] [0+0+0 800 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 53 0+0+8] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 54 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,8] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <div> at [8,8] [0+0+0 784 0+0+0] [0+0+0 16 0+0+0] children: not-inline
- BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 37 0+0+0] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,43 191.875x16] baseline: 14.796875
- frag 1 from TextNode start: 0, length: 1, rect: [205.875,43 8x16] baseline: 12.796875
+ BlockContainer <(anonymous)> at [8,24] [0+0+0 784 0+0+0] [0+0+0 38 0+0+0] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,43 191.875x16] baseline: 15.796875
+ frag 1 from TextNode start: 0, length: 1, rect: [209.875,43 8x16] baseline: 12.796875
" "
- frag 2 from TextAreaBox start: 0, length: 0, rect: [216.875,27 155.9375x26] baseline: 32
- frag 3 from TextNode start: 0, length: 1, rect: [375.8125,43 8x16] baseline: 12.796875
+ frag 2 from TextAreaBox start: 0, length: 0, rect: [220.875,27 155.9375x26] baseline: 32
+ frag 3 from TextNode start: 0, length: 1, rect: [379.8125,43 8x16] baseline: 12.796875
" "
- frag 4 from TextInputBox start: 0, length: 0, rect: [386.8125,43 191.875x16] baseline: 14.796875
- frag 5 from TextNode start: 0, length: 1, rect: [581.6875,43 8x16] baseline: 12.796875
+ frag 4 from TextInputBox start: 0, length: 0, rect: [392.8125,43 191.875x16] baseline: 15.796875
+ frag 5 from TextNode start: 0, length: 1, rect: [589.6875,43 8x16] baseline: 12.796875
" "
- frag 6 from TextAreaBox start: 0, length: 0, rect: [592.6875,27 155.9375x26] baseline: 32
+ frag 6 from TextAreaBox start: 0, length: 0, rect: [600.6875,27 155.9375x26] baseline: 32
TextNode <#text> (not painted)
- TextInputBox <input> at [11,43] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,43] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,43] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,43 0x16] baseline: 12.796875
+ TextInputBox <input> at [13,43] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,43] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,43] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,43 0x16] baseline: 12.796875
TextNode <#text> (not painted)
- BlockContainer <div> at [11,43] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 5, rect: [11,43 36.84375x16] baseline: 12.796875
+ BlockContainer <div> at [13,43] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [13,43 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextAreaBox <textarea> at [216.875,27] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
- Box <div> at [216.875,27] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [216.875,27] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [216.875,27 0x13] baseline: 10.390625
+ TextAreaBox <textarea> at [220.875,27] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
+ Box <div> at [220.875,27] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [220.875,27] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [220.875,27 0x13] baseline: 10.390625
TextNode <#text> (not painted)
- BlockContainer <div> at [216.875,27] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 5, rect: [216.875,27 29.921875x13] baseline: 10.390625
+ BlockContainer <div> at [220.875,27] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [220.875,27 29.921875x13] baseline: 10.390625
"hello"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextInputBox <input> at [386.8125,43] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [386.8125,43] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [386.8125,43] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [386.8125,43 0x16] baseline: 12.796875
+ TextInputBox <input> at [392.8125,43] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [392.8125,43] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [392.8125,43] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [392.8125,43 0x16] baseline: 12.796875
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextAreaBox <textarea> at [592.6875,27] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
- Box <div> at [592.6875,27] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [592.6875,27] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [592.6875,27 0x13] baseline: 10.390625
+ TextAreaBox <textarea> at [600.6875,27] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
+ Box <div> at [600.6875,27] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [600.6875,27] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [600.6875,27 0x13] baseline: 10.390625
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x69] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x70] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt b/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt
index d6eaa413880..e3717bbb993 100644
--- a/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt
+++ b/Tests/LibWeb/Layout/expected/field-sizing-content-text-input-centers-text-in-min-height.txt
@@ -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 104 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 88 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 20.796875x40] baseline: 25.59375
- frag 1 from BlockContainer start: 0, length: 0, rect: [11,54 20.796875x40] baseline: 25.59375
- TextInputBox <input> at [11,10] inline-block [0+1+2 20.796875 2+1+0] [0+1+1 40 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 20.796875 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,24] flex-item [0+0+0 20.796875 0+0+0] [0+0+0 12 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 3, rect: [11,24 20.796875x12] baseline: 9.59375
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 108 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 92 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 20.796875x40] baseline: 26.59375
+ frag 1 from BlockContainer start: 0, length: 0, rect: [13,57 20.796875x40] baseline: 26.59375
+ TextInputBox <input> at [13,11] inline-block [0+1+4 20.796875 4+1+0] [0+1+2 40 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 20.796875 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,25] flex-item [0+0+0 20.796875 0+0+0] [0+0+0 12 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 3, rect: [13,25 20.796875x12] baseline: 9.59375
"abc"
TextNode <#text> (not painted)
BreakNode <br> (not painted)
TextNode <#text> (not painted)
- BlockContainer <input> at [11,54] inline-block [0+1+2 20.796875 2+1+0] [0+1+1 40 1+1+0] [BFC] children: not-inline
- Box <div> at [11,54] flex-container(row) [0+0+0 20.796875 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,68] flex-item [0+0+0 20.796875 0+0+0] [0+0+0 12 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 3, rect: [11,68 20.796875x12] baseline: 9.59375
+ BlockContainer <input> at [13,57] inline-block [0+1+4 20.796875 4+1+0] [0+1+2 40 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,57] flex-container(row) [0+0+0 20.796875 0+0+0] [0+0+0 40 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,71] flex-item [0+0+0 20.796875 0+0+0] [0+0+0 12 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 3, rect: [13,71 20.796875x12] baseline: 9.59375
"abc"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x104] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x108] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt b/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt
index 3413b021ae2..af8313b6b06 100644
--- a/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt
+++ b/Tests/LibWeb/Layout/expected/flex/text-input-stretches-in-column-flex.txt
@@ -1,15 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: not-inline
- Box <div.layout-container> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- Box <div.cpd-form-field> at [8,8] flex-container(column) flex-item [0+0+0 784 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- TextInputBox <input> at [11,10] flex-item [0+1+2 778 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 778 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 778 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,10 0x16] 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: not-inline
+ Box <div.layout-container> at [8,8] flex-container(column) [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline
+ Box <div.cpd-form-field> at [8,8] flex-container(column) flex-item [0+0+0 784 0+0+0] [0+0+0 22 0+0+0] [FFC] children: not-inline
+ TextInputBox <input> at [13,11] flex-item [0+1+4 774 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 774 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,11 0x16] baseline: 12.796875
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: inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt b/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt
index ffd244c4601..43deec969a0 100644
--- a/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt
+++ b/Tests/LibWeb/Layout/expected/form-control-baseline-alignment.txt
@@ -1,54 +1,54 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 88.203125 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 72.203125 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,27 191.875x16] baseline: 14.796875
- frag 1 from TextAreaBox start: 0, length: 0, rect: [239.0625,11 155.9375x26] baseline: 32
- frag 2 from TextInputBox start: 0, length: 0, rect: [431.1875,27 191.875x16] baseline: 14.796875
- frag 3 from TextNode start: 0, length: 1, rect: [626.0625,27 8x16] baseline: 12.796875
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 89.203125 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 73.203125 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,27 191.875x16] baseline: 15.796875
+ frag 1 from TextAreaBox start: 0, length: 0, rect: [243.0625,11 155.9375x26] baseline: 32
+ frag 2 from TextInputBox start: 0, length: 0, rect: [437.1875,27 191.875x16] baseline: 15.796875
+ frag 3 from TextNode start: 0, length: 1, rect: [634.0625,27 8x16] baseline: 12.796875
" "
- frag 4 from TextAreaBox start: 0, length: 0, rect: [11,48 155.9375x26] baseline: 32
- TextInputBox <input> at [11,27] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,27] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,27] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,27 0x16] baseline: 12.796875
+ frag 4 from TextAreaBox start: 0, length: 0, rect: [11,49 155.9375x26] baseline: 32
+ TextInputBox <input> at [13,27] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,27] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,27] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,27 0x16] baseline: 12.796875
TextNode <#text> (not painted)
- InlineNode <span> at [205.875,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]
- frag 0 from TextNode start: 0, length: 3, rect: [205.875,27 30.1875x16] baseline: 12.796875
+ InlineNode <span> at [209.875,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 3, rect: [209.875,27 30.1875x16] baseline: 12.796875
"boo"
TextNode <#text> (not painted)
- TextAreaBox <textarea> at [239.0625,11] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
- Box <div> at [239.0625,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [239.0625,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [239.0625,11 0x13] baseline: 10.390625
+ TextAreaBox <textarea> at [243.0625,11] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
+ Box <div> at [243.0625,11] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [243.0625,11] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [243.0625,11 0x13] baseline: 10.390625
TextNode <#text> (not painted)
- InlineNode <span> at [398,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]
- frag 0 from TextNode start: 0, length: 3, rect: [398,27 30.1875x16] baseline: 12.796875
+ InlineNode <span> at [402,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 3, rect: [402,27 30.1875x16] baseline: 12.796875
"boo"
TextNode <#text> (not painted)
- TextInputBox <input> at [431.1875,27] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [431.1875,27] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [431.1875,27] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [431.1875,27 0x16] baseline: 12.796875
+ TextInputBox <input> at [437.1875,27] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [437.1875,27] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [437.1875,27] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [437.1875,27 0x16] baseline: 12.796875
TextNode <#text> (not painted)
- BlockContainer <div> at [431.1875,27] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 5, rect: [431.1875,27 36.84375x16] baseline: 12.796875
+ BlockContainer <div> at [437.1875,27] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [437.1875,27 36.84375x16] baseline: 12.796875
"hello"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- InlineNode <span> at [634.0625,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]
- frag 0 from TextNode start: 0, length: 3, rect: [634.0625,27 30.1875x16] baseline: 12.796875
+ InlineNode <span> at [642.0625,27] [0+0+0 30.1875 0+0+0] [0+0+0 16 0+0+0]
+ frag 0 from TextNode start: 0, length: 3, rect: [642.0625,27 30.1875x16] baseline: 12.796875
"boo"
TextNode <#text> (not painted)
- TextAreaBox <textarea> at [11,48] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
- Box <div> at [11,48] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,48] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,48 0x13] baseline: 10.390625
+ TextAreaBox <textarea> at [11,49] inline-block [0+1+2 155.9375 2+1+0] [0+1+2 26 2+1+0] [BFC] children: not-inline
+ Box <div> at [11,49] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [11,49] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [11,49 0x13] baseline: 10.390625
TextNode <#text> (not painted)
- BlockContainer <div> at [11,48] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 5, rect: [11,48 29.921875x13] baseline: 10.390625
+ BlockContainer <div> at [11,49] flex-item [-155.9375+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [11,49 29.921875x13] baseline: 10.390625
"hello"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x88.203125] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x89.203125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt b/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt
index 132bff5fdc9..56c5d01c177 100644
--- a/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt
+++ b/Tests/LibWeb/Layout/expected/form-controls-and-canvas-resized-after-first-layout.txt
@@ -1,44 +1,44 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 125 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 109 0+0+8] children: inline
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 128 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 112 0+0+8] children: inline
frag 0 from TextAreaBox start: 0, length: 0, rect: [11,36 233.90625x52] baseline: 58
frag 1 from TextNode start: 0, length: 1, rect: [247.90625,79 8x16] baseline: 12.796875
" "
- frag 2 from TextInputBox start: 0, length: 0, rect: [258.90625,79 239.84375x16] baseline: 14.796875
- frag 3 from TextNode start: 0, length: 1, rect: [501.75,79 8x16] baseline: 12.796875
+ frag 2 from TextInputBox start: 0, length: 0, rect: [260.90625,79 239.84375x16] baseline: 15.796875
+ frag 3 from TextNode start: 0, length: 1, rect: [505.75,79 8x16] baseline: 12.796875
" "
- frag 4 from TextAreaBox start: 0, length: 0, rect: [512.75,11 65x77.96875] baseline: 83.96875
- frag 5 from TextNode start: 0, length: 1, rect: [580.75,79 8x16] baseline: 12.796875
+ frag 4 from TextAreaBox start: 0, length: 0, rect: [516.75,11 65x77.96875] baseline: 83.96875
+ frag 5 from TextNode start: 0, length: 1, rect: [584.75,79 8x16] baseline: 12.796875
" "
- frag 6 from CanvasBox start: 0, length: 0, rect: [588.75,71 120x20] baseline: 20
- frag 7 from BlockContainer start: 0, length: 0, rect: [11,99 143.90625x16] baseline: 14.796875
+ frag 6 from CanvasBox start: 0, length: 0, rect: [592.75,71 120x20] baseline: 20
+ frag 7 from BlockContainer start: 0, length: 0, rect: [13,101 143.90625x16] baseline: 15.796875
TextAreaBox <textarea#textarea> at [11,36] inline-block [0+1+2 233.90625 2+1+0] [0+1+2 52 2+1+0] [BFC] children: not-inline
Box <div> at [11,36] flex-container(row) [0+0+0 233.90625 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [11,36] flex-item [0+0+0 233.90625 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [11,36 0x13] baseline: 10.390625
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextInputBox <input#input> at [258.90625,79] inline-block [0+1+2 239.84375 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [258.90625,79] flex-container(row) [0+0+0 239.84375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [258.90625,79] flex-item [0+0+0 239.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [258.90625,79 0x16] baseline: 12.796875
+ TextInputBox <input#input> at [260.90625,79] inline-block [0+1+4 239.84375 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [260.90625,79] flex-container(row) [0+0+0 239.84375 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [260.90625,79] flex-item [0+0+0 239.84375 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [260.90625,79 0x16] baseline: 12.796875
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextAreaBox <textarea#vertical-textarea> at [512.75,11] inline-block [0+1+2 65 2+1+0] [0+1+2 77.96875 2+1+0] [BFC] children: not-inline
- Box <div> at [564.75,11] flex-container(row) [0+0+0 13 0+0+0] [0+0+0 77.96875 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [564.75,11] flex-item [0+0+0 13 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [564.75,11 13x0] baseline: 10.390625
+ TextAreaBox <textarea#vertical-textarea> at [516.75,11] inline-block [0+1+2 65 2+1+0] [0+1+2 77.96875 2+1+0] [BFC] children: not-inline
+ Box <div> at [568.75,11] flex-container(row) [0+0+0 13 0+0+0] [0+0+0 77.96875 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [568.75,11] flex-item [0+0+0 13 0+0+0] [0+0+0 0 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [568.75,11 13x0] baseline: 10.390625
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- CanvasBox <canvas#canvas> at [588.75,71] [0+0+0 120 0+0+0] [0+0+0 20 0+0+0] children: not-inline
+ CanvasBox <canvas#canvas> at [592.75,71] [0+0+0 120 0+0+0] [0+0+0 20 0+0+0] children: not-inline
TextNode <#text> (not painted)
- BlockContainer <input#becomes-text> at [11,99] inline-block [0+1+2 143.90625 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,99] flex-container(row) [0+0+0 143.90625 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,99] flex-item [0+0+0 143.90625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,99 0x16] baseline: 12.796875
+ BlockContainer <input#becomes-text> at [13,101] inline-block [0+1+4 143.90625 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,101] flex-container(row) [0+0+0 143.90625 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,101] flex-item [0+0+0 143.90625 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,101 0x16] baseline: 12.796875
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 800x125] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x128] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-element-with-display-inline.txt b/Tests/LibWeb/Layout/expected/input-element-with-display-inline.txt
index 400b5e2f57b..0d83add1a6f 100644
--- a/Tests/LibWeb/Layout/expected/input-element-with-display-inline.txt
+++ b/Tests/LibWeb/Layout/expected/input-element-with-display-inline.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-inline
- BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 42 0+1+0] [BFC] children: not-inline
- BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 24 0+1+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [13,12 200x20] baseline: 18
- TextInputBox <input> at [13,12] inline-block [0+1+2 200 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [13,12] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [13,12] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [13,12 0x20] baseline: 16
+ BlockContainer <html> at [1,1] [0+1+0 798 0+1+0] [0+1+0 44 0+1+0] [BFC] children: not-inline
+ BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 26 0+1+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [15,13 200x20] baseline: 19
+ TextInputBox <input> at [15,13] inline-block [0+1+4 200 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [15,13] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [15,13] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [15,13 0x20] baseline: 16
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [1,1 798x42] (z-index: auto)
+ SC for BlockContainer<HTML> [1,1 798x44] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt b/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt
index 43b775b9398..ccd55ca617c 100644
--- a/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt
+++ b/Tests/LibWeb/Layout/expected/input-image-to-text-after-style-update.txt
@@ -1,15 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 14.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 7, rect: [11,10 55.6875x16] 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 TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 55.6875x16] baseline: 12.796875
"120.png"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-image-to-text.txt b/Tests/LibWeb/Layout/expected/input-image-to-text.txt
index 43b775b9398..ccd55ca617c 100644
--- a/Tests/LibWeb/Layout/expected/input-image-to-text.txt
+++ b/Tests/LibWeb/Layout/expected/input-image-to-text.txt
@@ -1,15 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 14.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 7, rect: [11,10 55.6875x16] 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 TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 55.6875x16] baseline: 12.796875
"120.png"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-number-placeholder.txt b/Tests/LibWeb/Layout/expected/input-number-placeholder.txt
index 21209f003ce..2f373268807 100644
--- a/Tests/LibWeb/Layout/expected/input-number-placeholder.txt
+++ b/Tests/LibWeb/Layout/expected/input-number-placeholder.txt
@@ -1,30 +1,30 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 15.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
- Box <div> at [11,11] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,11] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,11 0x16] 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 TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 16.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
+ Box <div> at [13,12] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,12] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,12 0x16] baseline: 12.796875
TextNode <#text> (not painted)
- BlockContainer <div> at [11,11] flex-item [-155.875+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 6, rect: [11,11 63.0625x16] baseline: 12.796875
+ BlockContainer <div> at [13,12] flex-item [-155.875+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 6, rect: [13,12 63.0625x16] baseline: 12.796875
"Amount"
TextNode <#text> (not painted)
- BlockContainer <button> at [167.875,11] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [167.875,11] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [167.875,11] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from SVGSVGBox start: 0, length: 0, rect: [167.875,11 16x16] baseline: 16
- SVGSVGBox <svg> at [167.875,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
+ BlockContainer <button> at [169.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [169.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [169.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [169.875,12 16x16] baseline: 16
+ SVGSVGBox <svg> at [169.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8] [0+0+0 12 0+0+0] [0+0+0 7.40625 0+0+0] children: not-inline
- BlockContainer <button> at [185.875,11] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [185.875,11] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [185.875,11] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from SVGSVGBox start: 0, length: 0, rect: [185.875,11 16x16] baseline: 16
- SVGSVGBox <svg> at [185.875,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
+ BlockContainer <button> at [187.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [187.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [187.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [187.875,12 16x16] baseline: 16
+ SVGSVGBox <svg> at [187.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inline
TextNode <#text> (not painted)
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-password-to-text.txt b/Tests/LibWeb/Layout/expected/input-password-to-text.txt
index 080b5d741ca..df2f263b1ae 100644
--- a/Tests/LibWeb/Layout/expected/input-password-to-text.txt
+++ b/Tests/LibWeb/Layout/expected/input-password-to-text.txt
@@ -1,15 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 14.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 7, rect: [11,10 61.890625x16] 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 TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 61.890625x16] baseline: 12.796875
"hunter2"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x36] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x38] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt b/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt
index 1769e81e309..034da21a775 100644
--- a/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt
+++ b/Tests/LibWeb/Layout/expected/input-placeholder-with-line-height.txt
@@ -1,19 +1,19 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 100 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 84 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x80] baseline: 46.296875
- frag 1 from TextNode start: 0, length: 4, rect: [205.875,41 32.140625x16] baseline: 12.796875
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 102 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 86 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x80] baseline: 47.296875
+ frag 1 from TextNode start: 0, length: 4, rect: [209.875,42 32.140625x16] baseline: 12.796875
"text"
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 80 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,42 0x16] baseline: 12.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 80 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,43 0x16] baseline: 12.796875
TextNode <#text> (not painted)
- BlockContainer <div> at [11,10] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 11, rect: [11,42 89.90625x16] baseline: 12.796875
+ BlockContainer <div> at [13,11] flex-item [-191.875+0+0 191.875 0+0+0] [0+0+0 80 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 11, rect: [13,43 89.90625x16] baseline: 12.796875
"placeholder"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x100] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x102] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt b/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt
index 40ff5e1ecca..d77c1b7ea5f 100644
--- a/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt
+++ b/Tests/LibWeb/Layout/expected/input-placeholder-with-text-align.txt
@@ -1,17 +1,17 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 120 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 104 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 400x100] baseline: 56.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 400 2+1+0] [0+1+1 100 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 400 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,52] flex-item [0+0+0 400 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [211,52 0x16] baseline: 12.796875
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 122 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 106 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 400x100] baseline: 57.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 400 4+1+0] [0+1+2 100 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 400 0+0+0] [0+0+0 100 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,53] flex-item [0+0+0 400 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [213,53 0x16] baseline: 12.796875
TextNode <#text> (not painted)
- BlockContainer <div> at [11,52] flex-item [-400+0+0 400 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 3, rect: [197.140625,52 27.703125x16] baseline: 12.796875
+ BlockContainer <div> at [13,53] flex-item [-400+0+0 400 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 3, rect: [199.140625,53 27.703125x16] baseline: 12.796875
"abc"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x120] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x122] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-placeholder.txt b/Tests/LibWeb/Layout/expected/input-placeholder.txt
index dc02c011761..d80ed63d72a 100644
--- a/Tests/LibWeb/Layout/expected/input-placeholder.txt
+++ b/Tests/LibWeb/Layout/expected/input-placeholder.txt
@@ -1,49 +1,49 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 64 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 48 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 200x20] baseline: 18
- frag 1 from TextNode start: 0, length: 1, rect: [214,10 10x20] baseline: 16
+ 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 TextInputBox start: 0, length: 0, rect: [13,11 200x20] baseline: 19
+ frag 1 from TextNode start: 0, length: 1, rect: [218,11 10x20] baseline: 16
" "
- frag 2 from TextInputBox start: 0, length: 0, rect: [227,10 200x20] baseline: 18
- frag 3 from TextNode start: 0, length: 1, rect: [430,10 10x20] baseline: 16
+ frag 2 from TextInputBox start: 0, length: 0, rect: [233,11 200x20] baseline: 19
+ frag 3 from TextNode start: 0, length: 1, rect: [438,11 10x20] baseline: 16
" "
- frag 4 from TextInputBox start: 0, length: 0, rect: [443,10 200x20] baseline: 18
- frag 5 from TextInputBox start: 0, length: 0, rect: [11,34 200x20] baseline: 18
- TextInputBox <input> at [11,10] inline-block [0+1+2 200 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 4, rect: [11,10 40.1875x20] baseline: 16
+ frag 4 from TextInputBox start: 0, length: 0, rect: [453,11 200x20] baseline: 19
+ frag 5 from TextInputBox start: 0, length: 0, rect: [13,37 200x20] baseline: 19
+ TextInputBox <input> at [13,11] inline-block [0+1+4 200 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 4, rect: [13,11 40.1875x20] baseline: 16
"text"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextInputBox <input> at [227,10] inline-block [0+1+2 200 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [227,10] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [227,10] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [227,10 0x20] baseline: 16
+ TextInputBox <input> at [233,11] inline-block [0+1+4 200 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [233,11] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [233,11] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [233,11 0x20] baseline: 16
TextNode <#text> (not painted)
- BlockContainer <div> at [227,10] flex-item [-200+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline overflow: [227,10 344.546875x20]
- frag 0 from TextNode start: 0, length: 34, rect: [227,10 344.546875x20] baseline: 16
+ BlockContainer <div> at [233,11] flex-item [-200+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline overflow: [233,11 344.546875x20]
+ frag 0 from TextNode start: 0, length: 34, rect: [233,11 344.546875x20] baseline: 16
"This placeholder should be visible"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextInputBox <input> at [443,10] inline-block [0+1+2 200 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [443,10] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [443,10] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 4, rect: [443,10 40.1875x20] baseline: 16
+ TextInputBox <input> at [453,11] inline-block [0+1+4 200 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [453,11] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [453,11] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 4, rect: [453,11 40.1875x20] baseline: 16
"text"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
- TextInputBox <input#placeholder> at [11,34] inline-block [0+1+2 200 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [11,34] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,34] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,34 0x20] baseline: 16
+ TextInputBox <input#placeholder> at [13,37] inline-block [0+1+4 200 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,37] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,37] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,37 0x20] baseline: 16
TextNode <#text> (not painted)
- BlockContainer <div> at [11,34] flex-item [-200+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline overflow: [11,34 396.171875x20]
- frag 0 from TextNode start: 0, length: 39, rect: [11,34 396.171875x20] baseline: 16
+ BlockContainer <div> at [13,37] flex-item [-200+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline overflow: [13,37 396.171875x20]
+ frag 0 from TextNode start: 0, length: 39, rect: [13,37 396.171875x20] baseline: 16
"This placeholder should also be visible"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x64] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x68] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt b/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt
index 04b69561b16..398e7827738 100644
--- a/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt
+++ b/Tests/LibWeb/Layout/expected/input-text-node-invalidation-on-value-change.txt
@@ -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 40 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 24 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 200x20] baseline: 18
- TextInputBox <input#foo> at [11,10] inline-block [0+1+2 200 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 4, rect: [11,10 62.1875x20] baseline: 16
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 26 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 200x20] baseline: 19
+ TextInputBox <input#foo> at [13,11] inline-block [0+1+4 200 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 200 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 4, rect: [13,11 62.1875x20] baseline: 16
"PASS"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/input-text-to-password.txt b/Tests/LibWeb/Layout/expected/input-text-to-password.txt
index 77ec44235d0..0215d346e32 100644
--- a/Tests/LibWeb/Layout/expected/input-text-to-password.txt
+++ b/Tests/LibWeb/Layout/expected/input-text-to-password.txt
@@ -1,15 +1,15 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 14.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 7, rect: [11,10 40.90625x16] 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 TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 7, rect: [13,11 40.90625x16] baseline: 12.796875
"●●●●●●●"
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-time.txt b/Tests/LibWeb/Layout/expected/input-time.txt
index 5b24982dc0d..da00afc5450 100644
--- a/Tests/LibWeb/Layout/expected/input-time.txt
+++ b/Tests/LibWeb/Layout/expected/input-time.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 40 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 24 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 240x20] baseline: 18
- TextInputBox <input> at [11,10] inline-block [0+1+2 240 2+1+0] [0+1+1 20 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,10 0x20] baseline: 16
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 42 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 26 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 240x20] baseline: 19
+ TextInputBox <input> at [13,11] inline-block [0+1+4 240 4+1+0] [0+1+2 20 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 240 0+0+0] [0+0+0 20 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,11 0x20] baseline: 16
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x40] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x42] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt b/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt
index faa69928ee8..65dbac156c5 100644
--- a/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt
+++ b/Tests/LibWeb/Layout/expected/layout-tree-update/maintain-single-backdrop-pseudo-element.txt
@@ -3,9 +3,9 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 0 0+0+8] children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [0,0] positioned [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <dialog#d> at [301.0625,290] positioned [282.0625+3+16 197.875 16+3+282.0625] [271+3+16 20 16+3+271] [BFC] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [304.0625,292 191.875x16] baseline: 14.796875
- TextInputBox <input> at [304.0625,292] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
+ BlockContainer <dialog#d> at [299.0625,289] positioned [280.0625+3+16 201.875 16+3+280.0625] [270+3+16 22 16+3+270] [BFC] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [304.0625,292 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [304.0625,292] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
Box <div> at [304.0625,292] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
BlockContainer <div> at [304.0625,292] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
frag 0 from TextNode start: 0, length: 0, rect: [304.0625,292 0x16] baseline: 12.796875
@@ -14,4 +14,4 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x16] (z-index: auto)
SC for BlockContainer(anonymous) [0,0 800x600] (z-index: auto)
- SC for BlockContainer<DIALOG>#d [301.0625,290 197.875x20] (z-index: auto)
+ SC for BlockContainer<DIALOG>#d [299.0625,289 201.875x22] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/number-input-appearance.txt b/Tests/LibWeb/Layout/expected/number-input-appearance.txt
index 9e107081ff5..6923a96d2d4 100644
--- a/Tests/LibWeb/Layout/expected/number-input-appearance.txt
+++ b/Tests/LibWeb/Layout/expected/number-input-appearance.txt
@@ -1,61 +1,61 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 37 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 21 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 15.796875
- frag 1 from TextNode start: 0, length: 1, rect: [205.875,11 8x16] baseline: 12.796875
+ BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 39 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 23 0+0+8] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 16.796875
+ frag 1 from TextNode start: 0, length: 1, rect: [209.875,12 8x16] baseline: 12.796875
" "
- frag 2 from TextInputBox start: 0, length: 0, rect: [216.875,10 191.875x16] baseline: 15.796875
- frag 3 from TextNode start: 0, length: 1, rect: [411.75,11 8x16] baseline: 12.796875
+ frag 2 from TextInputBox start: 0, length: 0, rect: [222.875,11 191.875x16] baseline: 16.796875
+ frag 3 from TextNode start: 0, length: 1, rect: [419.75,12 8x16] baseline: 12.796875
" "
- frag 4 from TextInputBox start: 0, length: 0, rect: [422.75,11 191.875x16] baseline: 14.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
- Box <div> at [11,11] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,11] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 1, rect: [11,11 6.34375x16] baseline: 12.796875
+ frag 4 from TextInputBox start: 0, length: 0, rect: [432.75,12 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
+ Box <div> at [13,12] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,12] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [13,12 6.34375x16] baseline: 12.796875
"1"
TextNode <#text> (not painted)
- BlockContainer <button> at [167.875,11] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [167.875,11] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [167.875,11] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from SVGSVGBox start: 0, length: 0, rect: [167.875,11 16x16] baseline: 16
- SVGSVGBox <svg> at [167.875,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
+ BlockContainer <button> at [169.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [169.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [169.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [169.875,12 16x16] baseline: 16
+ SVGSVGBox <svg> at [169.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8] [0+0+0 12 0+0+0] [0+0+0 7.40625 0+0+0] children: not-inline
- BlockContainer <button> at [185.875,11] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [185.875,11] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [185.875,11] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from SVGSVGBox start: 0, length: 0, rect: [185.875,11 16x16] baseline: 16
- SVGSVGBox <svg> at [185.875,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
+ BlockContainer <button> at [187.875,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [187.875,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [187.875,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [187.875,12 16x16] baseline: 16
+ SVGSVGBox <svg> at [187.875,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextInputBox <input> at [216.875,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [216.875,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
- Box <div> at [216.875,11] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [216.875,11] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 1, rect: [216.875,11 8.8125x16] baseline: 12.796875
+ TextInputBox <input> at [222.875,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [222.875,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
+ Box <div> at [222.875,12] flex-container(row) flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [222.875,12] flex-item [0+0+0 155.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [222.875,12 8.8125x16] baseline: 12.796875
"2"
TextNode <#text> (not painted)
- BlockContainer <button> at [373.75,11] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [373.75,11] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [373.75,11] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from SVGSVGBox start: 0, length: 0, rect: [373.75,11 16x16] baseline: 16
- SVGSVGBox <svg> at [373.75,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
+ BlockContainer <button> at [379.75,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [379.75,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [379.75,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [379.75,12 16x16] baseline: 16
+ SVGSVGBox <svg> at [379.75,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8] [0+0+0 12 0+0+0] [0+0+0 7.40625 0+0+0] children: not-inline
- BlockContainer <button> at [391.75,11] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
- BlockContainer <(anonymous)> at [391.75,11] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <(anonymous)> at [391.75,11] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from SVGSVGBox start: 0, length: 0, rect: [391.75,11 16x16] baseline: 16
- SVGSVGBox <svg> at [391.75,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
+ BlockContainer <button> at [397.75,12] flex-item [0+1+0 16 0+1+0] [0+1+0 16 0+1+0] [BFC] children: not-inline
+ BlockContainer <(anonymous)> at [397.75,12] flex-container(column) [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <(anonymous)> at [397.75,12] flex-item [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from SVGSVGBox start: 0, length: 0, rect: [397.75,12 16x16] baseline: 16
+ SVGSVGBox <svg> at [397.75,12] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] viewport-transform=[0.6666667 0 0 0.6666667 0 0] [SVG] children: not-inline
SVGGeometryBox <path> at [6,8.578125] [0+0+0 12 0+0+0] [0+0+0 7.421875 0+0+0] children: not-inline
TextNode <#text> (not painted)
- TextInputBox <input> at [422.75,11] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [422.75,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- Box <div> at [422.75,11] flex-container(row) flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [422.75,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 1, rect: [422.75,11 9.09375x16] baseline: 12.796875
+ TextInputBox <input> at [432.75,12] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [432.75,12] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ Box <div> at [432.75,12] flex-container(row) flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [432.75,12] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 1, rect: [432.75,12 9.09375x16] baseline: 12.796875
"3"
TextNode <#text> (not painted)
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x37] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x39] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt b/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt
index 5ec276217f2..28fa7ca3309 100644
--- a/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt
+++ b/Tests/LibWeb/Layout/expected/quirks/input-in-pre-quirks-mode.txt
@@ -3,14 +3,14 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
BlockContainer <body> at [8,13] [8+0+0 784 0+0+8] [8+0+0 584 0+0+8] children: not-inline
BlockContainer <(anonymous)> at [8,13] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
- BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 17 0+0+13] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,15 155.9375x13] baseline: 12.390625
- TextInputBox <input> at [11,15] inline-block [0+1+2 155.9375 2+1+0] [0+1+1 13 1+1+0] [BFC] children: not-inline
- Box <div> at [11,15] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,15] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 0, rect: [11,15 0x13] baseline: 10.390625
+ BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 19 0+0+13] children: inline
+ frag 0 from TextInputBox start: 0, length: 0, rect: [13,16 155.9375x13] baseline: 13.390625
+ TextInputBox <input> at [13,16] inline-block [0+1+4 155.9375 4+1+0] [0+1+2 13 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,16] flex-container(row) [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,16] flex-item [0+0+0 155.9375 0+0+0] [0+0+0 13 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 0, rect: [13,16 0x13] baseline: 10.390625
TextNode <#text> (not painted)
- BlockContainer <(anonymous)> at [8,43] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
+ BlockContainer <(anonymous)> at [8,45] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/unicode-password-input.txt b/Tests/LibWeb/Layout/expected/unicode-password-input.txt
index 4faac7130a3..5e735ab1d66 100644
--- a/Tests/LibWeb/Layout/expected/unicode-password-input.txt
+++ b/Tests/LibWeb/Layout/expected/unicode-password-input.txt
@@ -1,14 +1,14 @@
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children: not-inline
- BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 36 0+0+0] [BFC] children: not-inline
- BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 20 0+0+8] children: inline
- frag 0 from TextInputBox start: 0, length: 0, rect: [11,10 191.875x16] baseline: 14.796875
- TextInputBox <input> at [11,10] inline-block [0+1+2 191.875 2+1+0] [0+1+1 16 1+1+0] [BFC] children: not-inline
- Box <div> at [11,10] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
- BlockContainer <div> at [11,10] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
- frag 0 from TextNode start: 0, length: 14, rect: [11,10 81.8125x16] 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 TextInputBox start: 0, length: 0, rect: [13,11 191.875x16] baseline: 15.796875
+ TextInputBox <input> at [13,11] inline-block [0+1+4 191.875 4+1+0] [0+1+2 16 2+1+0] [BFC] children: not-inline
+ Box <div> at [13,11] flex-container(row) [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [FFC] children: not-inline
+ BlockContainer <div> at [13,11] flex-item [0+0+0 191.875 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
+ frag 0 from TextNode start: 0, length: 14, rect: [13,11 81.8125x16] baseline: 12.796875
"●●●●●●●●●●●●●●"
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/Screenshot/expected-macos/color-scheme.png b/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png
index d743b65d0f8..a89af3de972 100644
Binary files a/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png and b/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png differ
diff --git a/Tests/LibWeb/Screenshot/expected/input-placeholder.png b/Tests/LibWeb/Screenshot/expected/input-placeholder.png
index e9f8c32f4a2..88f4a519969 100644
Binary files a/Tests/LibWeb/Screenshot/expected/input-placeholder.png and b/Tests/LibWeb/Screenshot/expected/input-placeholder.png differ
diff --git a/Tests/LibWeb/Screenshot/input/input-placeholder.html b/Tests/LibWeb/Screenshot/input/input-placeholder.html
index 23532d49cc3..39ec281d404 100644
--- a/Tests/LibWeb/Screenshot/input/input-placeholder.html
+++ b/Tests/LibWeb/Screenshot/input/input-placeholder.html
@@ -1,4 +1,5 @@
<!DOCTYPE html>
+<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-16" />
<style>
* {
margin: 0;
diff --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.txt
index c441e1701a5..2796c7d226a 100644
--- a/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt
+++ b/Tests/LibWeb/Text/expected/display_list/form-control-native-appearance-corners.txt
@@ -3,10 +3,10 @@ AccumulatedVisualContext Tree:
[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)
[s1] scroll (Viewport<#document>)
clips:
- [c0 in s1] clip=[1,181 196x18] radii=(3,3,3,3) (TextInputBox<INPUT>)
- [c1 in s1] clip=[3,182 192x16] (BlockContainer<DIV>)
- [c2 in s1] clip=[3,213 196x18] (TextInputBox<INPUT>)
- [c3 in s1] clip=[5,214 192x16] (BlockContainer<DIV>)
+ [c0 in s1] clip=[1,181 200x20] radii=(3,3,3,3) (TextInputBox<INPUT>)
+ [c1 in s1] clip=[5,183 192x16] (BlockContainer<DIV>)
+ [c2 in s1] clip=[3,213 200x20] (TextInputBox<INPUT>)
+ [c3 in s1] clip=[7,215 192x16] (BlockContainer<DIV>)
effects:
[e0 in s0] effects=[]
@@ -29,10 +29,10 @@ DrawGlyphRun@s1/e0 rect=[9,123 54x16] translation=[9,135.79688] color=rgb(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)
-FillRect@s1/e0 rect=[0,210 202x24] color=rgb(255, 255, 255)
-FillRoundedRectRing@s1/e0 rect=[0,210 202x24] widths=[3,3,3,3] color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c3/e0 rect=[5,214 71x16] translation=[5,226.79688] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[0,180 202x22] color=rgb(255, 255, 255)
+FillRoundedRectRing@s1/e0 rect=[0,180 202x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)
+DrawGlyphRun@s1/c1/e0 rect=[5,183 38x16] translation=[5,195.79688] color=rgb(0, 0, 0)
+FillRect@s1/e0 rect=[0,210 206x26] color=rgb(255, 255, 255)
+FillRoundedRectRing@s1/e0 rect=[0,210 206x26] widths=[3,3,3,3] color=rgb(118, 118, 118)
+DrawGlyphRun@s1/c3/e0 rect=[7,215 71x16] translation=[7,227.79688] color=rgb(0, 0, 0)
diff --git a/Tests/LibWeb/Text/expected/display_list/input-caret.txt b/Tests/LibWeb/Text/expected/display_list/input-caret.txt
index 24ea3910257..4b36eaad025 100644
--- a/Tests/LibWeb/Text/expected/display_list/input-caret.txt
+++ b/Tests/LibWeb/Text/expected/display_list/input-caret.txt
@@ -3,15 +3,15 @@ AccumulatedVisualContext Tree:
[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)
[s1] scroll (Viewport<#document>)
clips:
- [c0 in s1] clip=[9,9 104x18] radii=(3,3,3,3) (TextInputBox<INPUT>)
- [c1 in s1] clip=[11,10 100x16] (BlockContainer<DIV>)
+ [c0 in s1] clip=[9,9 108x20] radii=(3,3,3,3) (TextInputBox<INPUT>)
+ [c1 in s1] clip=[13,11 100x16] (BlockContainer<DIV>)
effects:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 106x20] color=rgb(255, 255, 255)
-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/c1/e0 rect=[11,10 37x16] translation=[11,22.796875] color=rgb(0, 0, 0)
-PaintCaret@s1/c1/e0 rect=[11,10 1x16] color=rgb(0, 0, 0) should_blink=false
-FillRoundedRectRing@s1/e0 rect=[6,6 110x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 110x22] color=rgb(255, 255, 255)
+FillRoundedRectRing@s1/e0 rect=[8,8 110x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)
+DrawGlyphRun@s1/c1/e0 rect=[13,11 37x16] translation=[13,23.796875] color=rgb(0, 0, 0)
+PaintCaret@s1/c1/e0 rect=[13,11 1x16] color=rgb(0, 0, 0) should_blink=false
+FillRoundedRectRing@s1/e0 rect=[6,6 114x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)
diff --git a/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt b/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt
index 54bf164f057..9896a72baef 100644
--- a/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt
+++ b/Tests/LibWeb/Text/expected/display_list/input-focus-switch-selection-and-caret.txt
@@ -3,21 +3,21 @@ AccumulatedVisualContext Tree:
[s0] transform=[1,0,0,1,0,0] origin=(0,0) (Viewport<#document>)
[s1] scroll (Viewport<#document>)
clips:
- [c0 in s1] clip=[9,9 196x18] radii=(3,3,3,3) (TextInputBox<INPUT>#foo)
- [c1 in s1] clip=[11,10 192x16] (BlockContainer<DIV>)
- [c2 in s1] clip=[215,9 196x18] radii=(3,3,3,3) (TextInputBox<INPUT>#bar)
- [c3 in s1] clip=[217,10 192x16] (BlockContainer<DIV>)
+ [c0 in s1] clip=[9,9 200x20] radii=(3,3,3,3) (TextInputBox<INPUT>#foo)
+ [c1 in s1] clip=[13,11 192x16] (BlockContainer<DIV>)
+ [c2 in s1] clip=[219,9 200x20] radii=(3,3,3,3) (TextInputBox<INPUT>#bar)
+ [c3 in s1] clip=[223,11 192x16] (BlockContainer<DIV>)
effects:
[e0 in s0] effects=[]
DisplayList:
-FillRectWithRoundedCorners@s1/e0 rect=[8,8 198x20] color=rgb(255, 255, 255)
-FillRoundedRectRing@s1/e0 rect=[8,8 198x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c1/e0 rect=[11,10 28x16] translation=[11,22.796875] color=rgb(0, 0, 0)
-DrawGlyphRun@s1/e0 rect=[205,10 8x16] translation=[205.875,22.796875] color=rgb(0, 0, 0)
-FillRectWithRoundedCorners@s1/e0 rect=[214,8 198x20] color=rgb(255, 255, 255)
-FillRoundedRectRing@s1/e0 rect=[214,8 198x20] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)
-DrawGlyphRun@s1/c3/e0 rect=[216,10 28x16] translation=[216.875,22.796875] color=rgb(0, 0, 0)
-PaintCaret@s1/c3/e0 rect=[217,10 1x16] color=rgb(0, 0, 0) should_blink=false
-FillRoundedRectRing@s1/e0 rect=[212,6 202x24] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)
+FillRectWithRoundedCorners@s1/e0 rect=[8,8 202x22] color=rgb(255, 255, 255)
+FillRoundedRectRing@s1/e0 rect=[8,8 202x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)
+DrawGlyphRun@s1/c1/e0 rect=[13,11 28x16] translation=[13,23.796875] color=rgb(0, 0, 0)
+DrawGlyphRun@s1/e0 rect=[209,11 8x16] translation=[209.875,23.796875] color=rgb(0, 0, 0)
+FillRectWithRoundedCorners@s1/e0 rect=[218,8 202x22] color=rgb(255, 255, 255)
+FillRoundedRectRing@s1/e0 rect=[218,8 202x22] corner_radii=[4x4,4x4,4x4,4x4] widths=[1,1,1,1] color=rgb(118, 118, 118)
+DrawGlyphRun@s1/c3/e0 rect=[222,11 28x16] translation=[222.875,23.796875] color=rgb(0, 0, 0)
+PaintCaret@s1/c3/e0 rect=[223,11 1x16] color=rgb(0, 0, 0) should_blink=false
+FillRoundedRectRing@s1/e0 rect=[216,6 206x26] corner_radii=[6x6,6x6,6x6,6x6] widths=[2,2,2,2] color=rgb(61, 174, 233)