summaryrefslogtreecommitdiffstats
path: root/accessible/tests/mochitest/name
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:50 +0000
commitdef92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch)
tree2ef34b9ad8bb9a9220e05d60352558b15f513894 /accessible/tests/mochitest/name
parentAdding debian version 125.0.3-1. (diff)
downloadfirefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz
firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'accessible/tests/mochitest/name')
-rw-r--r--accessible/tests/mochitest/name/test_general.html36
1 files changed, 21 insertions, 15 deletions
diff --git a/accessible/tests/mochitest/name/test_general.html b/accessible/tests/mochitest/name/test_general.html
index 09723e6222..47104ced3e 100644
--- a/accessible/tests/mochitest/name/test_general.html
+++ b/accessible/tests/mochitest/name/test_general.html
@@ -105,7 +105,7 @@
// The label element contains the button. The name is calculated from
// this button.
// Note: the name contains the content of the button.
- testName("btn_label_inside", "text10text");
+ testName("btn_label_inside", "text 10 text");
// The label element and the button are placed in the same form. Gets
// the name from the label subtree.
@@ -713,17 +713,21 @@
<div id="grouping" role="group">label</div>
<button id="requested_name_from_grouping"aria-labelledby="grouping"></button>
<!-- Name from sub tree of tbody marked as display:block;, which is also a grouping -->
- <div id="listitem_containing_block_tbody" role="listitem">
- <table>
- <tbody style="display: block;">
- <tr><td>label</td></tr>
- </tbody>
- </table>
+ <div role="list">
+ <div id="listitem_containing_block_tbody" role="listitem">
+ <table>
+ <tbody style="display: block;">
+ <tr><td>label</td></tr>
+ </tbody>
+ </table>
+ </div>
</div>
<!-- Name from subtree of treeitem containing grouping -->
- <div id="treeitem_containing_grouping" role="treeitem" aria-level="1" aria-expanded="true">root
- <div role="group">
- <div role="treeitem" aria-level="2">sub</div>
+ <div role="tree">
+ <div id="treeitem_containing_grouping" role="treeitem" aria-level="1" aria-expanded="true">root
+ <div role="group">
+ <div role="treeitem" aria-level="2">sub</div>
+ </div>
</div>
</div>
@@ -735,11 +739,13 @@
</div>
<!-- Text nodes and inline elements. -->
- <div id="container_text_inline" role="option">a<strong>b</strong>c</div>
- <!-- Text nodes and block elements. -->
- <div id="container_text_block" role="option">a<p>b</p>c</div>
- <!-- Text nodes and empty block elements. -->
- <div id="container_text_emptyblock" role="option">a<p></p><p></p>b</div>
+ <div role="listbox">
+ <div id="container_text_inline" role="option">a<strong>b</strong>c</div>
+ <!-- Text nodes and block elements. -->
+ <div id="container_text_block" role="option">a<p>b</p>c</div>
+ <!-- Text nodes and empty block elements. -->
+ <div id="container_text_emptyblock" role="option">a<p></p><p></p>b</div>
+ </div>
<!-- aria-labelledby referring to a slot -->
<div id="shadowHost">