Skip to content

Truly independent web browser

LibWeb: Put a native checkbox’s bottom border edge on the baseline

sideshowbarkerf5aeefae669f
diff --git a/Libraries/LibWeb/Rust/src/layout/formatting_context.rs b/Libraries/LibWeb/Rust/src/layout/formatting_context.rs
index 74b8636271f..14beb9b2abc 100644
--- a/Libraries/LibWeb/Rust/src/layout/formatting_context.rs
+++ b/Libraries/LibWeb/Rust/src/layout/formatting_context.rs
@@ -745,6 +745,14 @@ pub(crate) fn box_baseline_with_content_baselines(
return metrics.margin_box_top(collapsed) + metrics.content_block_size() + metrics.border_box_bottom(collapsed);
}
+ // AD-HOC: A checkbox or radio button with its native appearance takes its bottom border edge as its baseline,
+ // rather than the bottom margin edge of a replaced box, so the control sits on the line next to its label
+ // text instead of above it. With "appearance: none" it's an ordinary box, and its baseline is synthesized
+ // as usual.
+ if facts.is_non_devolvable_widget() {
+ return metrics.margin_box_top(collapsed) + metrics.content_block_size() + metrics.border_box_bottom(collapsed);
+ }
+
let display = facts.display();
let is_flex_or_grid_container = display.is_flex_inside() || display.is_grid_inside();
diff --git a/Libraries/LibWeb/Rust/src/layout/node_facts.rs b/Libraries/LibWeb/Rust/src/layout/node_facts.rs
index 0ca0052ceda..bbacbc4f545 100644
--- a/Libraries/LibWeb/Rust/src/layout/node_facts.rs
+++ b/Libraries/LibWeb/Rust/src/layout/node_facts.rs
@@ -1027,6 +1027,11 @@ impl<'pass> NodeFacts<'pass> {
self.data().kind.get() == NodeKind::RangeInputBox
}
+ /// A checkbox or radio button box, which only exists while the control keeps its native appearance.
+ pub(crate) fn is_non_devolvable_widget(&self) -> bool {
+ kind_is_non_devolvable_widget(self.data().kind.get())
+ }
+
pub(crate) fn is_native_form_control_box(&self) -> bool {
matches!(
self.data().kind.get(),
diff --git a/Tests/LibWeb/Layout/expected/checkbox-and-radio-baseline.txt b/Tests/LibWeb/Layout/expected/checkbox-and-radio-baseline.txt
new file mode 100644
index 00000000000..53da0f7e13e
--- /dev/null
+++ b/Tests/LibWeb/Layout/expected/checkbox-and-radio-baseline.txt
@@ -0,0 +1,42 @@
+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 114 0+0+0] [BFC] children: not-inline
+ BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 98 0+0+8] children: not-inline
+ BlockContainer <p> at [8,8] [0+0+0 784 0+0+0] [0+0+0 24 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [8,12 40.140625x16] baseline: 13
+ "text "
+ frag 1 from CheckBox start: 0, length: 0, rect: [52.140625,12 13x13] baseline: 16
+ frag 2 from TextNode start: 0, length: 5, rect: [68.140625,12 40.140625x16] baseline: 13
+ " text"
+ TextNode <#text> (not painted)
+ CheckBox <input> at [52.140625,12] inline-block [4+0+0 13 0+0+3] [3+0+0 13 0+0+3] children: not-inline
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,32] [0+0+0 784 0+0+0] [0+0+0 24 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [8,36 40.140625x16] baseline: 13
+ "text "
+ frag 1 from RadioButton start: 0, length: 0, rect: [53.140625,37 12x12] baseline: 15
+ frag 2 from TextNode start: 0, length: 5, rect: [68.140625,36 40.140625x16] baseline: 13
+ " text"
+ TextNode <#text> (not painted)
+ RadioButton <input> at [53.140625,37] inline-block [5+0+0 12 0+0+3] [3+0+0 12 0+0+0] children: not-inline
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,56] [0+0+0 784 0+0+0] [0+0+0 26 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [8,62 40.140625x16] baseline: 13
+ "text "
+ frag 1 from BlockContainer start: 0, length: 0, rect: [53.140625,60 11x11] baseline: 19
+ frag 2 from TextNode start: 0, length: 5, rect: [68.140625,62 40.140625x16] baseline: 13
+ " text"
+ TextNode <#text> (not painted)
+ BlockContainer <input.none> at [53.140625,60] inline-block [4+1+0 11 0+1+3] [3+1+0 11 0+1+3] [BFC] children: not-inline
+ TextNode <#text> (not painted)
+ BlockContainer <p> at [8,82] [0+0+0 784 0+0+0] [0+0+0 24 0+0+0] children: inline
+ frag 0 from TextNode start: 0, length: 5, rect: [8,86 40.140625x16] baseline: 13
+ "text "
+ frag 1 from BlockContainer start: 0, length: 0, rect: [54.140625,87 11x11] baseline: 16
+ frag 2 from TextNode start: 0, length: 5, rect: [69.140625,86 40.140625x16] baseline: 13
+ " text"
+ TextNode <#text> (not painted)
+ BlockContainer <input.none> at [54.140625,87] inline-block [5+1+0 11 0+1+3] [3+1+0 11 0+1+0] [BFC] children: not-inline
+ TextNode <#text> (not painted)
+
+SC for Viewport<#document> [0,0 800x600] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x114] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/expected/css-appearance-none.txt b/Tests/LibWeb/Layout/expected/css-appearance-none.txt
index 8ff5da8a66e..84d505cba0c 100644
--- a/Tests/LibWeb/Layout/expected/css-appearance-none.txt
+++ b/Tests/LibWeb/Layout/expected/css-appearance-none.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 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
+ 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
frag 0 from BlockContainer start: 0, length: 0, rect: [17,11 0x14] baseline: 14
frag 1 from TextNode start: 0, length: 13, rect: [26,9 116.171875x16] baseline: 13
"Normal button"
frag 2 from BlockContainer start: 0, length: 0, rect: [17,31 0x14] baseline: 14
frag 3 from TextNode start: 0, length: 20, rect: [26,29 181.203125x16] baseline: 13
"No appearance button"
- frag 4 from CheckBox start: 0, length: 0, rect: [12,51 13x13] baseline: 19
- frag 5 from TextNode start: 0, length: 15, rect: [28,54 136.296875x16] baseline: 13
+ frag 4 from CheckBox start: 0, length: 0, rect: [12,51 13x13] baseline: 16
+ frag 5 from TextNode start: 0, length: 15, rect: [28,51 136.296875x16] baseline: 13
"Normal checkbox"
- frag 6 from BlockContainer start: 0, length: 0, rect: [12,80 0x0] baseline: 6
- frag 7 from TextNode start: 0, length: 22, rect: [15,70 201.328125x16] baseline: 13
+ frag 6 from BlockContainer start: 0, length: 0, rect: [12,77 0x0] baseline: 6
+ frag 7 from TextNode start: 0, length: 22, rect: [15,67 201.328125x16] baseline: 13
"No appearance checkbox"
- frag 8 from RadioButton start: 0, length: 0, rect: [13,89 12x12] baseline: 15
- frag 9 from TextNode start: 0, length: 12, rect: [28,88 104.203125x16] baseline: 13
+ frag 8 from RadioButton start: 0, length: 0, rect: [13,86 12x12] baseline: 15
+ frag 9 from TextNode start: 0, length: 12, rect: [28,85 104.203125x16] baseline: 13
"Normal radio"
- frag 10 from BlockContainer start: 0, length: 0, rect: [13,117 0x0] baseline: 3
- frag 11 from TextNode start: 0, length: 19, rect: [16,104 169.234375x16] baseline: 13
+ frag 10 from BlockContainer start: 0, length: 0, rect: [13,114 0x0] baseline: 3
+ frag 11 from TextNode start: 0, length: 19, rect: [16,101 169.234375x16] baseline: 13
"No appearance radio"
BlockContainer <input> at [17,11] inline-block [0+2+7 0 7+2+0] [0+2+1 14 1+2+0] [BFC] children: not-inline
BlockContainer <(anonymous)> at [17,11] flex-container(column) [0+0+0 0 0+0+0] [0+0+0 14 0+0+0] [FFC] children: not-inline
@@ -40,15 +40,15 @@ Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] [BFC] children
CheckBox <input> at [12,51] inline-block [4+0+0 13 0+0+3] [3+0+0 13 0+0+3] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- BlockContainer <input> at [12,80] inline-block [4+0+0 0 0+0+3] [3+0+0 0 0+0+3] [BFC] children: not-inline
+ BlockContainer <input> at [12,77] inline-block [4+0+0 0 0+0+3] [3+0+0 0 0+0+3] [BFC] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- RadioButton <input> at [13,89] inline-block [5+0+0 12 0+0+3] [3+0+0 12 0+0+0] children: not-inline
+ RadioButton <input> at [13,86] inline-block [5+0+0 12 0+0+3] [3+0+0 12 0+0+0] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
- BlockContainer <input> at [13,117] inline-block [5+0+0 0 0+0+3] [3+0+0 0 0+0+0] [BFC] children: not-inline
+ BlockContainer <input> at [13,114] inline-block [5+0+0 0 0+0+3] [3+0+0 0 0+0+0] [BFC] children: not-inline
TextNode <#text> (not painted)
BreakNode <br> (not painted)
SC for Viewport<#document> [0,0 800x600] (z-index: auto)
- SC for BlockContainer<HTML> [0,0 800x128] (z-index: auto)
+ SC for BlockContainer<HTML> [0,0 800x125] (z-index: auto)
diff --git a/Tests/LibWeb/Layout/input/checkbox-and-radio-baseline.html b/Tests/LibWeb/Layout/input/checkbox-and-radio-baseline.html
new file mode 100644
index 00000000000..ab595179062
--- /dev/null
+++ b/Tests/LibWeb/Layout/input/checkbox-and-radio-baseline.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<style>
+ p { font: 16px/1.5 sans-serif; margin: 0; }
+ .none { appearance: none; width: 13px; height: 13px; border: 1px solid black; }
+</style>
+<p>text <input type="checkbox"> text</p>
+<p>text <input type="radio"> text</p>
+<p>text <input type="checkbox" class="none"> text</p>
+<p>text <input type="radio" class="none"> text</p>
diff --git a/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png b/Tests/LibWeb/Screenshot/expected-macos/color-scheme.png
index 62f38ddaf3b..b0b3060b03d 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/checkbox-accent-color-and-color-scheme.png b/Tests/LibWeb/Screenshot/expected/checkbox-accent-color-and-color-scheme.png
index 32f066ab459..2cbd20fa18d 100644
Binary files a/Tests/LibWeb/Screenshot/expected/checkbox-accent-color-and-color-scheme.png and b/Tests/LibWeb/Screenshot/expected/checkbox-accent-color-and-color-scheme.png differ
diff --git a/Tests/LibWeb/Screenshot/expected/color-scheme.png b/Tests/LibWeb/Screenshot/expected/color-scheme.png
index 1a3bb707dac..e5c4c56a964 100644
Binary files a/Tests/LibWeb/Screenshot/expected/color-scheme.png and b/Tests/LibWeb/Screenshot/expected/color-scheme.png differ
diff --git a/Tests/LibWeb/Text/expected/accessibility-node-data-indirect.txt b/Tests/LibWeb/Text/expected/accessibility-node-data-indirect.txt
index ded60bf9c91..f95a8021ec9 100644
--- a/Tests/LibWeb/Text/expected/accessibility-node-data-indirect.txt
+++ b/Tests/LibWeb/Text/expected/accessibility-node-data-indirect.txt
@@ -1,5 +1,5 @@
== initial
-n0 generic bounds=8,8 784x191
+n0 generic bounds=8,8 784x188
n1 alert bounds=8,10 124x16 live=assertive
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=140,10 93x16
@@ -7,18 +7,18 @@ n0 generic bounds=8,8 784x191
n5 region name="region label" bounds=8,28 784x20
n6 sectionheader bounds=8,28 784x20
n7 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n8 group bounds=10,48 780x43 disabled
+ n8 group bounds=10,48 780x40 disabled
n9 checkbox bounds=30,58 13x13 disabled checked=false
- n10 paragraph bounds=8,107 784x20
- n11 text leaf name="becomes editable" bounds=8,109 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n12 paragraph bounds=8,143 784x20
- n13 text leaf name="animated color" bounds=8,145 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n14 button name="first slotted" bounds=8,179 784x20
- n15 text leaf name="first slotted" bounds=8,181 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n16 text leaf name="second slotted" bounds=8,179 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n10 paragraph bounds=8,104 784x20
+ n11 text leaf name="becomes editable" bounds=8,106 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n12 paragraph bounds=8,140 784x20
+ n13 text leaf name="animated color" bounds=8,142 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n14 button name="first slotted" bounds=8,176 784x20
+ n15 text leaf name="first slotted" bounds=8,178 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n16 text leaf name="second slotted" bounds=8,176 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== ElementInternals role
-n0 generic bounds=8,8 784x191
+n0 generic bounds=8,8 784x188
n1 status bounds=8,10 124x16 live=polite
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=140,10 93x16
@@ -26,121 +26,121 @@ n0 generic bounds=8,8 784x191
n5 region name="region label" bounds=8,28 784x20
n6 sectionheader bounds=8,28 784x20
n7 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n8 group bounds=10,48 780x43 disabled
+ n8 group bounds=10,48 780x40 disabled
n9 checkbox bounds=30,58 13x13 disabled checked=false
- n10 paragraph bounds=8,107 784x20
- n11 text leaf name="becomes editable" bounds=8,109 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n12 paragraph bounds=8,143 784x20
- n13 text leaf name="animated color" bounds=8,145 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n14 button name="first slotted" bounds=8,179 784x20
- n15 text leaf name="first slotted" bounds=8,181 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n16 text leaf name="second slotted" bounds=8,179 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n10 paragraph bounds=8,104 784x20
+ n11 text leaf name="becomes editable" bounds=8,106 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n12 paragraph bounds=8,140 784x20
+ n13 text leaf name="animated color" bounds=8,142 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n14 button name="first slotted" bounds=8,176 784x20
+ n15 text leaf name="first slotted" bounds=8,178 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n16 text leaf name="second slotted" bounds=8,176 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== region label emptied
-n0 generic bounds=8,8 784x191
+n0 generic bounds=8,8 784x188
n1 status bounds=8,10 124x16 live=polite
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=8,8 0x20
n4 generic bounds=8,28 784x20
n5 banner bounds=8,28 784x20
n6 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n7 group bounds=10,48 780x43 disabled
+ n7 group bounds=10,48 780x40 disabled
n8 checkbox bounds=30,58 13x13 disabled checked=false
- n9 paragraph bounds=8,107 784x20
- n10 text leaf name="becomes editable" bounds=8,109 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n11 paragraph bounds=8,143 784x20
- n12 text leaf name="animated color" bounds=8,145 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n13 button name="first slotted" bounds=8,179 784x20
- n14 text leaf name="first slotted" bounds=8,181 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n15 text leaf name="second slotted" bounds=8,179 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n9 paragraph bounds=8,104 784x20
+ n10 text leaf name="becomes editable" bounds=8,106 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n11 paragraph bounds=8,140 784x20
+ n12 text leaf name="animated color" bounds=8,142 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n13 button name="first slotted" bounds=8,176 784x20
+ n14 text leaf name="first slotted" bounds=8,178 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n15 text leaf name="second slotted" bounds=8,176 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== first legend removed
-n0 generic bounds=8,8 784x189
+n0 generic bounds=8,8 784x186
n1 status bounds=8,10 124x16 live=polite
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=8,8 0x20
n4 generic bounds=8,28 784x20
n5 banner bounds=8,28 784x20
n6 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n7 group bounds=10,48 780x41 disabled
+ n7 group bounds=10,48 780x38 disabled
n8 checkbox bounds=30,51 13x13 checked=false
- n9 paragraph bounds=8,105 784x20
- n10 text leaf name="becomes editable" bounds=8,107 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n11 paragraph bounds=8,141 784x20
- n12 text leaf name="animated color" bounds=8,143 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n13 button name="first slotted" bounds=8,177 784x20
- n14 text leaf name="first slotted" bounds=8,179 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n15 text leaf name="second slotted" bounds=8,177 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n9 paragraph bounds=8,102 784x20
+ n10 text leaf name="becomes editable" bounds=8,104 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n11 paragraph bounds=8,138 784x20
+ n12 text leaf name="animated color" bounds=8,140 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n13 button name="first slotted" bounds=8,174 784x20
+ n14 text leaf name="first slotted" bounds=8,176 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n15 text leaf name="second slotted" bounds=8,174 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== design mode on
-n0 generic bounds=8,8 784x189 editable multi_line
+n0 generic bounds=8,8 784x186 editable multi_line
n1 status bounds=8,10 124x16 live=polite editable multi_line
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=8,8 0x20 editable multi_line
n4 generic bounds=8,28 784x20 editable multi_line
n5 banner bounds=8,28 784x20 editable multi_line
n6 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n7 group bounds=10,48 780x41 disabled multi_line
+ n7 group bounds=10,48 780x38 disabled multi_line
n8 checkbox bounds=30,51 13x13 checked=false
- n9 paragraph bounds=8,105 784x20 editable multi_line
- n10 text leaf name="becomes editable" bounds=8,107 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n11 paragraph bounds=8,141 784x20 editable multi_line
- n12 text leaf name="animated color" bounds=8,143 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n13 button name="first slotted" bounds=8,177 784x20 editable multi_line
- n14 text leaf name="first slotted" bounds=8,179 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n15 text leaf name="second slotted" bounds=8,177 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n9 paragraph bounds=8,102 784x20 editable multi_line
+ n10 text leaf name="becomes editable" bounds=8,104 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n11 paragraph bounds=8,138 784x20 editable multi_line
+ n12 text leaf name="animated color" bounds=8,140 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n13 button name="first slotted" bounds=8,174 784x20 editable multi_line
+ n14 text leaf name="first slotted" bounds=8,176 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n15 text leaf name="second slotted" bounds=8,174 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== design mode off
-n0 generic bounds=8,8 784x189
+n0 generic bounds=8,8 784x186
n1 status bounds=8,10 124x16 live=polite
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=8,8 0x20
n4 generic bounds=8,28 784x20
n5 banner bounds=8,28 784x20
n6 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n7 group bounds=10,48 780x41 disabled
+ n7 group bounds=10,48 780x38 disabled
n8 checkbox bounds=30,51 13x13 checked=false
- n9 paragraph bounds=8,105 784x20
- n10 text leaf name="becomes editable" bounds=8,107 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n11 paragraph bounds=8,141 784x20
- n12 text leaf name="animated color" bounds=8,143 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n13 button name="first slotted" bounds=8,177 784x20
- n14 text leaf name="first slotted" bounds=8,179 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n15 text leaf name="second slotted" bounds=8,177 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n9 paragraph bounds=8,102 784x20
+ n10 text leaf name="becomes editable" bounds=8,104 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n11 paragraph bounds=8,138 784x20
+ n12 text leaf name="animated color" bounds=8,140 119x16 font="SerenitySans" 16 400 normal color=#ff0000 characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n13 button name="first slotted" bounds=8,174 784x20
+ n14 text leaf name="first slotted" bounds=8,176 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n15 text leaf name="second slotted" bounds=8,174 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== animated color sampled later
-n0 generic bounds=8,8 784x189
+n0 generic bounds=8,8 784x186
n1 status bounds=8,10 124x16 live=polite
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=8,8 0x20
n4 generic bounds=8,28 784x20
n5 banner bounds=8,28 784x20
n6 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n7 group bounds=10,48 780x41 disabled
+ n7 group bounds=10,48 780x38 disabled
n8 checkbox bounds=30,51 13x13 checked=false
- n9 paragraph bounds=8,105 784x20
- n10 text leaf name="becomes editable" bounds=8,107 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n11 paragraph bounds=8,141 784x20
- n12 text leaf name="animated color" bounds=8,143 119x16 font="SerenitySans" 16 400 normal color=#0000ff characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n13 button name="first slotted" bounds=8,177 784x20
- n14 text leaf name="first slotted" bounds=8,179 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
- n15 text leaf name="second slotted" bounds=8,177 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
+ n9 paragraph bounds=8,102 784x20
+ n10 text leaf name="becomes editable" bounds=8,104 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n11 paragraph bounds=8,138 784x20
+ n12 text leaf name="animated color" bounds=8,140 119x16 font="SerenitySans" 16 400 normal color=#0000ff characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n13 button name="first slotted" bounds=8,174 784x20
+ n14 text leaf name="first slotted" bounds=8,176 98x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@16
+ n15 text leaf name="second slotted" bounds=8,174 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@20
== manual slot assignment
-n0 generic bounds=8,8 784x189
+n0 generic bounds=8,8 784x186
n1 status bounds=8,10 124x16 live=polite
n2 text leaf name="custom element" bounds=8,10 124x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 8,0 18,0 28,0 34,0 45,0 57,0 65,0 74,0 78,0 87,0 99,0 108,0 117,0 lines=0@16
n3 generic bounds=8,8 0x20
n4 generic bounds=8,28 784x20
n5 banner bounds=8,28 784x20
n6 text leaf name="section header" bounds=8,30 119x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 33,0 38,0 48,0 58,0 66,0 75,0 84,0 93,0 101,0 110,0 lines=0@16
- n7 group bounds=10,48 780x41 disabled
+ n7 group bounds=10,48 780x38 disabled
n8 checkbox bounds=30,51 13x13 checked=false
- n9 paragraph bounds=8,105 784x20
- n10 text leaf name="becomes editable" bounds=8,107 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
- n11 paragraph bounds=8,141 784x20
- n12 text leaf name="animated color" bounds=8,143 119x16 font="SerenitySans" 16 400 normal color=#0000ff characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
- n13 button name="second slotted" bounds=8,177 784x20
- n14 text leaf name="first slotted" bounds=8,177 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@20
- n15 text leaf name="second slotted" bounds=8,179 117x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@16
+ n9 paragraph bounds=8,102 784x20
+ n10 text leaf name="becomes editable" bounds=8,104 135x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 27,0 37,0 49,0 58,0 67,0 75,0 84,0 92,0 96,0 103,0 113,0 122,0 126,0 lines=0@16
+ n11 paragraph bounds=8,138 784x20
+ n12 text leaf name="animated color" bounds=8,140 119x16 font="SerenitySans" 16 400 normal color=#0000ff characters=0,0 9,0 18,0 23,0 35,0 45,0 51,0 60,0 68,0 76,0 85,0 95,0 99,0 110,0 lines=0@16
+ n13 button name="second slotted" bounds=8,174 784x20
+ n14 text leaf name="first slotted" bounds=8,174 784x20 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 6,0 11,0 19,0 29,0 36,0 44,0 53,0 57,0 67,0 74,0 81,0 90,0 lines=0@20
+ n15 text leaf name="second slotted" bounds=8,176 117x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 26,0 37,0 46,0 54,0 62,0 72,0 76,0 86,0 93,0 100,0 109,0 lines=0@16
diff --git a/Tests/LibWeb/Text/expected/accessibility-node-data-states.txt b/Tests/LibWeb/Text/expected/accessibility-node-data-states.txt
index 56367f308ae..0777cbfba47 100644
--- a/Tests/LibWeb/Text/expected/accessibility-node-data-states.txt
+++ b/Tests/LibWeb/Text/expected/accessibility-node-data-states.txt
@@ -1,165 +1,165 @@
== initial
-n0 generic bounds=8,8 784x138
- n1 textbox value="initial value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="initial value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=false
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20 selected
- n5 option name="second" bounds=213,13 83x20
- n6 group bounds=10,33 780x40
- n7 button name="in fieldset" bounds=24,41 83x20
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20 selected
+ n5 option name="second" bounds=213,10 83x20
+ n6 group bounds=10,30 780x40
+ n7 button name="in fieldset" bounds=24,38 83x20
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== value property
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=false
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20 selected
- n5 option name="second" bounds=213,13 83x20
- n6 group bounds=10,33 780x40
- n7 button name="in fieldset" bounds=24,41 83x20
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20 selected
+ n5 option name="second" bounds=213,10 83x20
+ n6 group bounds=10,30 780x40
+ n7 button name="in fieldset" bounds=24,38 83x20
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== checked property
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=true
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20 selected
- n5 option name="second" bounds=213,13 83x20
- n6 group bounds=10,33 780x40
- n7 button name="in fieldset" bounds=24,41 83x20
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20 selected
+ n5 option name="second" bounds=213,10 83x20
+ n6 group bounds=10,30 780x40
+ n7 button name="in fieldset" bounds=24,38 83x20
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== indeterminate property
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20 selected
- n5 option name="second" bounds=213,13 83x20
- n6 group bounds=10,33 780x40
- n7 button name="in fieldset" bounds=24,41 83x20
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20 selected
+ n5 option name="second" bounds=213,10 83x20
+ n6 group bounds=10,30 780x40
+ n7 button name="in fieldset" bounds=24,38 83x20
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== option selected
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40
- n7 button name="in fieldset" bounds=24,41 83x20
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40
+ n7 button name="in fieldset" bounds=24,38 83x20
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== fieldset disabled
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40 disabled
- n7 button name="in fieldset" bounds=24,41 83x20 disabled
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40 disabled
+ n7 button name="in fieldset" bounds=24,38 83x20 disabled
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== focus
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 focused editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 focused editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40 disabled
- n7 button name="in fieldset" bounds=24,41 83x20 disabled
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40 disabled
+ n7 button name="in fieldset" bounds=24,38 83x20 disabled
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== focus moved
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40 disabled
- n7 button name="in fieldset" bounds=24,41 83x20 disabled
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 focused expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40 disabled
+ n7 button name="in fieldset" bounds=24,38 83x20 disabled
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 focused expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== selection
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40 disabled
- n7 button name="in fieldset" bounds=24,41 83x20 disabled
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 caret=6 selection=2..6 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 focused expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40 disabled
+ n7 button name="in fieldset" bounds=24,38 83x20 disabled
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 caret=6 selection=2..6 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 focused expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== selection collapsed
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40 disabled
- n7 button name="in fieldset" bounds=24,41 83x20 disabled
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 caret=6 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 focused expanded=false pressed=false
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40 disabled
+ n7 button name="in fieldset" bounds=24,38 83x20 disabled
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 caret=6 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 focused expanded=false pressed=false
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
== aria-expanded and aria-pressed
-n0 generic bounds=8,8 784x138
- n1 textbox value="typed value" bounds=8,13 169x20 editable
+n0 generic bounds=8,8 784x135
+ n1 textbox value="typed value" bounds=8,10 169x20 editable
n2 checkbox bounds=189,11 13x13 checked=mixed
- n3 combobox bounds=213,13 83x20
- n4 option name="first" bounds=213,13 83x20
- n5 option name="second" bounds=213,13 83x20 selected
- n6 group bounds=10,33 780x40 disabled
- n7 button name="in fieldset" bounds=24,41 83x20 disabled
- n8 text leaf name="in fieldset" bounds=33,44 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
- n9 paragraph bounds=8,89 784x20
- n10 text leaf name="selectable paragraph" bounds=8,91 167x16 caret=6 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
- n11 button name="toggle" bounds=8,126 55x20 focused expanded=true pressed=true
- n12 text leaf name="toggle" bounds=17,129 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14
+ n3 combobox bounds=213,10 83x20
+ n4 option name="first" bounds=213,10 83x20
+ n5 option name="second" bounds=213,10 83x20 selected
+ n6 group bounds=10,30 780x40 disabled
+ n7 button name="in fieldset" bounds=24,38 83x20 disabled
+ n8 text leaf name="in fieldset" bounds=33,41 65x14 font="SerenitySans" 13.328125 400 normal color=#808080 background=#efefef characters=0,0 3,0 11,0 18,0 23,0 27,0 34,0 38,0 44,0 52,0 60,0 lines=0@14
+ n9 paragraph bounds=8,86 784x20
+ n10 text leaf name="selectable paragraph" bounds=8,88 167x16 caret=6 font="SerenitySans" 16 400 normal color=#000000 characters=0,0 9,0 18,0 22,0 31,0 39,0 46,0 56,0 65,0 69,0 78,0 86,0 95,0 105,0 114,0 123,0 131,0 139,0 149,0 158,0 lines=0@16
+ n11 button name="toggle" bounds=8,123 55x20 focused expanded=true pressed=true
+ n12 text leaf name="toggle" bounds=17,126 37x14 font="SerenitySans" 13.328125 400 normal color=#000000 background=#efefef characters=0,0 5,0 14,0 20,0 26,0 30,0 lines=0@14