From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/tree/a11y.ini | 56 +++ accessible/tests/mochitest/tree/dockids.html | 30 ++ .../tests/mochitest/tree/test_applicationacc.xhtml | 73 ++++ .../tests/mochitest/tree/test_aria_globals.html | 124 ++++++ .../tests/mochitest/tree/test_aria_grid.html | 318 ++++++++++++++ .../tests/mochitest/tree/test_aria_imgmap.html | 104 +++++ .../tests/mochitest/tree/test_aria_list.html | 90 ++++ .../tests/mochitest/tree/test_aria_menu.html | 91 ++++ .../tests/mochitest/tree/test_aria_owns.html | 197 +++++++++ .../mochitest/tree/test_aria_presentation.html | 176 ++++++++ .../tests/mochitest/tree/test_aria_table.html | 101 +++++ .../tests/mochitest/tree/test_brokencontext.html | 214 ++++++++++ accessible/tests/mochitest/tree/test_button.xhtml | 72 ++++ accessible/tests/mochitest/tree/test_canvas.html | 53 +++ .../tests/mochitest/tree/test_combobox.xhtml | 117 ++++++ .../tests/mochitest/tree/test_cssflexbox.html | 78 ++++ .../tests/mochitest/tree/test_cssoverflow.html | 135 ++++++ .../mochitest/tree/test_display_contents.html | 49 +++ accessible/tests/mochitest/tree/test_divs.html | 333 +++++++++++++++ .../tests/mochitest/tree/test_dochierarchy.html | 84 ++++ accessible/tests/mochitest/tree/test_dockids.html | 62 +++ accessible/tests/mochitest/tree/test_filectrl.html | 56 +++ accessible/tests/mochitest/tree/test_formctrl.html | 125 ++++++ .../tests/mochitest/tree/test_formctrl.xhtml | 129 ++++++ .../tests/mochitest/tree/test_gencontent.html | 69 ++++ .../tests/mochitest/tree/test_groupbox.xhtml | 63 +++ accessible/tests/mochitest/tree/test_iframe.html | 50 +++ accessible/tests/mochitest/tree/test_image.xhtml | 58 +++ accessible/tests/mochitest/tree/test_img.html | 84 ++++ .../tests/mochitest/tree/test_invalid_img.xhtml | 48 +++ .../mochitest/tree/test_invalidationlist.html | 56 +++ accessible/tests/mochitest/tree/test_list.html | 354 ++++++++++++++++ accessible/tests/mochitest/tree/test_map.html | 81 ++++ accessible/tests/mochitest/tree/test_media.html | 121 ++++++ accessible/tests/mochitest/tree/test_select.html | 137 ++++++ accessible/tests/mochitest/tree/test_svg.html | 127 ++++++ accessible/tests/mochitest/tree/test_tabbox.xhtml | 98 +++++ .../tests/mochitest/tree/test_tabbrowser.xhtml | 261 ++++++++++++ accessible/tests/mochitest/tree/test_table.html | 458 +++++++++++++++++++++ accessible/tests/mochitest/tree/test_table_2.html | 240 +++++++++++ accessible/tests/mochitest/tree/test_table_3.html | 242 +++++++++++ accessible/tests/mochitest/tree/test_tree.xhtml | 180 ++++++++ accessible/tests/mochitest/tree/test_txtcntr.html | 234 +++++++++++ accessible/tests/mochitest/tree/test_txtctrl.html | 171 ++++++++ accessible/tests/mochitest/tree/test_txtctrl.xhtml | 86 ++++ accessible/tests/mochitest/tree/wnd.xhtml | 8 + 46 files changed, 6093 insertions(+) create mode 100644 accessible/tests/mochitest/tree/a11y.ini create mode 100644 accessible/tests/mochitest/tree/dockids.html create mode 100644 accessible/tests/mochitest/tree/test_applicationacc.xhtml create mode 100644 accessible/tests/mochitest/tree/test_aria_globals.html create mode 100644 accessible/tests/mochitest/tree/test_aria_grid.html create mode 100644 accessible/tests/mochitest/tree/test_aria_imgmap.html create mode 100644 accessible/tests/mochitest/tree/test_aria_list.html create mode 100644 accessible/tests/mochitest/tree/test_aria_menu.html create mode 100644 accessible/tests/mochitest/tree/test_aria_owns.html create mode 100644 accessible/tests/mochitest/tree/test_aria_presentation.html create mode 100644 accessible/tests/mochitest/tree/test_aria_table.html create mode 100644 accessible/tests/mochitest/tree/test_brokencontext.html create mode 100644 accessible/tests/mochitest/tree/test_button.xhtml create mode 100644 accessible/tests/mochitest/tree/test_canvas.html create mode 100644 accessible/tests/mochitest/tree/test_combobox.xhtml create mode 100644 accessible/tests/mochitest/tree/test_cssflexbox.html create mode 100644 accessible/tests/mochitest/tree/test_cssoverflow.html create mode 100644 accessible/tests/mochitest/tree/test_display_contents.html create mode 100644 accessible/tests/mochitest/tree/test_divs.html create mode 100644 accessible/tests/mochitest/tree/test_dochierarchy.html create mode 100644 accessible/tests/mochitest/tree/test_dockids.html create mode 100644 accessible/tests/mochitest/tree/test_filectrl.html create mode 100644 accessible/tests/mochitest/tree/test_formctrl.html create mode 100644 accessible/tests/mochitest/tree/test_formctrl.xhtml create mode 100644 accessible/tests/mochitest/tree/test_gencontent.html create mode 100644 accessible/tests/mochitest/tree/test_groupbox.xhtml create mode 100644 accessible/tests/mochitest/tree/test_iframe.html create mode 100644 accessible/tests/mochitest/tree/test_image.xhtml create mode 100644 accessible/tests/mochitest/tree/test_img.html create mode 100644 accessible/tests/mochitest/tree/test_invalid_img.xhtml create mode 100644 accessible/tests/mochitest/tree/test_invalidationlist.html create mode 100644 accessible/tests/mochitest/tree/test_list.html create mode 100644 accessible/tests/mochitest/tree/test_map.html create mode 100644 accessible/tests/mochitest/tree/test_media.html create mode 100644 accessible/tests/mochitest/tree/test_select.html create mode 100644 accessible/tests/mochitest/tree/test_svg.html create mode 100644 accessible/tests/mochitest/tree/test_tabbox.xhtml create mode 100644 accessible/tests/mochitest/tree/test_tabbrowser.xhtml create mode 100644 accessible/tests/mochitest/tree/test_table.html create mode 100644 accessible/tests/mochitest/tree/test_table_2.html create mode 100644 accessible/tests/mochitest/tree/test_table_3.html create mode 100644 accessible/tests/mochitest/tree/test_tree.xhtml create mode 100644 accessible/tests/mochitest/tree/test_txtcntr.html create mode 100644 accessible/tests/mochitest/tree/test_txtctrl.html create mode 100644 accessible/tests/mochitest/tree/test_txtctrl.xhtml create mode 100644 accessible/tests/mochitest/tree/wnd.xhtml (limited to 'accessible/tests/mochitest/tree') diff --git a/accessible/tests/mochitest/tree/a11y.ini b/accessible/tests/mochitest/tree/a11y.ini new file mode 100644 index 0000000000..a229eeca83 --- /dev/null +++ b/accessible/tests/mochitest/tree/a11y.ini @@ -0,0 +1,56 @@ +[DEFAULT] +support-files = + dockids.html + wnd.xhtml + !/accessible/tests/mochitest/*.js + !/accessible/tests/mochitest/formimage.png + !/accessible/tests/mochitest/letters.gif + !/accessible/tests/mochitest/moz.png + !/accessible/tests/mochitest/tree/wnd.xhtml + !/dom/media/test/bug461281.ogg + +[test_applicationacc.xhtml] +skip-if = true # Bug 561508 +[test_aria_globals.html] +[test_aria_grid.html] +[test_aria_imgmap.html] +[test_aria_list.html] +[test_aria_menu.html] +[test_aria_owns.html] +[test_aria_presentation.html] +[test_aria_table.html] +[test_brokencontext.html] +[test_button.xhtml] +[test_canvas.html] +[test_combobox.xhtml] +[test_cssflexbox.html] +[test_cssoverflow.html] +[test_display_contents.html] +[test_divs.html] +[test_dochierarchy.html] +[test_dockids.html] +[test_filectrl.html] +[test_formctrl.html] +[test_formctrl.xhtml] +[test_gencontent.html] +[test_groupbox.xhtml] +[test_iframe.html] +[test_image.xhtml] +[test_img.html] +[test_invalid_img.xhtml] +[test_invalidationlist.html] +[test_list.html] +[test_map.html] +[test_media.html] +[test_select.html] +[test_svg.html] +[test_tabbox.xhtml] +[test_tabbrowser.xhtml] +skip-if = (os == 'linux' && debug) || (os == 'win' && ccov) # Bug 1389365 || bug 1423218 +[test_table.html] +[test_table_2.html] +[test_table_3.html] +[test_tree.xhtml] +[test_txtcntr.html] +[test_txtctrl.html] +[test_txtctrl.xhtml] diff --git a/accessible/tests/mochitest/tree/dockids.html b/accessible/tests/mochitest/tree/dockids.html new file mode 100644 index 0000000000..1572584689 --- /dev/null +++ b/accessible/tests/mochitest/tree/dockids.html @@ -0,0 +1,30 @@ + + + + + + + + + Hey, I'm a with three links that are not inside me and an input + that's not inside me. + + + diff --git a/accessible/tests/mochitest/tree/test_applicationacc.xhtml b/accessible/tests/mochitest/tree/test_applicationacc.xhtml new file mode 100644 index 0000000000..5e00a2878f --- /dev/null +++ b/accessible/tests/mochitest/tree/test_applicationacc.xhtml @@ -0,0 +1,73 @@ + + + + + + + + + + + + Mozilla Bug 560239 +
+

+ +
+      
+ +
+ +
+ diff --git a/accessible/tests/mochitest/tree/test_aria_globals.html b/accessible/tests/mochitest/tree/test_aria_globals.html new file mode 100644 index 0000000000..f7180b7bb1 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_globals.html @@ -0,0 +1,124 @@ + + + + Test Global ARIA States and Accessible Creation + + + + + + + + + + + + + Mozilla Bug 551978 + + + Mozilla Bug 809751 + +

+ +
+  
+ + +
+ + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/accessible/tests/mochitest/tree/test_aria_grid.html b/accessible/tests/mochitest/tree/test_aria_grid.html new file mode 100644 index 0000000000..80ff97095b --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_grid.html @@ -0,0 +1,318 @@ + + + + HTML table tests + + + + + + + + + + + + + Mozilla Bug 525909 + +

+ +
+  
+ +
+
+
+
cell
+
+
+
+ +
+
+ + + + + + +
caption
header1header2
+
+
+ +
+ + + + + +
cell1cell2
+
+ +
+
+
+ + + + +
cell3
+
+
+
+ +
+
+
+ + + + +
+ + + +
caption
cell4
+
+
+
+
+ +
+
+ 03:30PM-04:30PM + test + a user1 +
+
+ +
+ +
+
Cell 1
+
Cell 2
+
+
+ +
+ +
Cell 3
+
Cell 4
+
+
+
+
+ + diff --git a/accessible/tests/mochitest/tree/test_aria_imgmap.html b/accessible/tests/mochitest/tree/test_aria_imgmap.html new file mode 100644 index 0000000000..0cd4867cae --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_imgmap.html @@ -0,0 +1,104 @@ + + + + Test usemap elements and ARIA + + + + + + + + + + + + + + + + +Mozilla Bug 548291 + +

+ +
+
+ + + + + + + + + + + + + + + diff --git a/accessible/tests/mochitest/tree/test_aria_list.html b/accessible/tests/mochitest/tree/test_aria_list.html new file mode 100644 index 0000000000..f3642c801d --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_list.html @@ -0,0 +1,90 @@ + + + + ARIA lists + + + + + + + + + + + + + Mozilla Bug 804461 + +

+ +
+  
+ +
+
item1
+
+ +
+
    +
  • item1
  • +
  • item2
  • +
+
+ + diff --git a/accessible/tests/mochitest/tree/test_aria_menu.html b/accessible/tests/mochitest/tree/test_aria_menu.html new file mode 100644 index 0000000000..2f1f6645db --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_menu.html @@ -0,0 +1,91 @@ + + + + Test accessible tree when ARIA role menuitem is used + + + + + + + + + + + + + Mozilla Bug 786566 + +

+ +
+  
+ + + + + + + + + diff --git a/accessible/tests/mochitest/tree/test_aria_owns.html b/accessible/tests/mochitest/tree/test_aria_owns.html new file mode 100644 index 0000000000..a01968521b --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_owns.html @@ -0,0 +1,197 @@ + + + + + @aria-owns attribute testing + + + + + + + + + + + + + +

+ +
+  
+ + +
+
+ + +
+
+
+ + +
+
+
+
+
+ + +
+ + +
+
+
+ + +
+
+ +
+
+ +
+
+
+
+ + +
+
+
cell 1,1
+
cell 1,2
+
+
+
+
cell 2,1
+
cell 2,2
+
+ + + + + + diff --git a/accessible/tests/mochitest/tree/test_aria_presentation.html b/accessible/tests/mochitest/tree/test_aria_presentation.html new file mode 100644 index 0000000000..5680193441 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_presentation.html @@ -0,0 +1,176 @@ + + + + Test accessible tree when ARIA role presentation is used + + + + + + + + + + + + + + Bug 548291 + + + Bug 666504 + + + Bug 971212 + +

+ +
+  
+ +
t
t
+ +
+ +
+ + + + +
cell
+ + + + +
cell
+
+ +
+ + + + +
cell
+ + + + +
cell
+
+ +
+
    +
  • item
  • +
+
    +
  • item
  • +
+
+ +
+ + + diff --git a/accessible/tests/mochitest/tree/test_aria_table.html b/accessible/tests/mochitest/tree/test_aria_table.html new file mode 100644 index 0000000000..22375faf59 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_aria_table.html @@ -0,0 +1,101 @@ + + + + ARIA table tests + + + + + + + + + + + + + Bug 1173364 + +

+ +
+  
+ +
+
+
+
cell
+
+
+
+ +
+ +
+
Cell 1
+
Cell 2
+
+
+ +
+ +
Cell 3
+
Cell 4
+
+
+
+
+ + diff --git a/accessible/tests/mochitest/tree/test_brokencontext.html b/accessible/tests/mochitest/tree/test_brokencontext.html new file mode 100644 index 0000000000..fbdefd398f --- /dev/null +++ b/accessible/tests/mochitest/tree/test_brokencontext.html @@ -0,0 +1,214 @@ + + + + Broken context hierarchy + + + + + + + + + + + + + + Bug 706849 + + + Bug 804461 + + + Bug 945435 + +

+ +
+  
+ + + + + + + +
not a headernot a cell
+ + + + + + +
not a headernot a cell
+ + + + + + + + + + +
    +
  1. item
  2. +
+ +
+
term +
definition
+
+ + + Google +

h1

+

h2

+

h3

+

h4

+
h5
+
h6
+ + diff --git a/accessible/tests/mochitest/tree/test_button.xhtml b/accessible/tests/mochitest/tree/test_button.xhtml new file mode 100644 index 0000000000..67c81239f5 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_button.xhtml @@ -0,0 +1,72 @@ + + + + + + + + + + + + Mozilla Bug 249292 +
+

+ +
+      
+ + + + +
+ + + +
+
+ + +
+ + + diff --git a/accessible/tests/mochitest/tree/test_cssoverflow.html b/accessible/tests/mochitest/tree/test_cssoverflow.html new file mode 100644 index 0000000000..87898fef6c --- /dev/null +++ b/accessible/tests/mochitest/tree/test_cssoverflow.html @@ -0,0 +1,135 @@ + + + + CSS overflow testing + + + + + + + + + + + + + + + + + + Mozilla Bug 591163 +
+ + Mozilla Bug 570275 +
+ + Mozilla Bug 686247 +
+ +

+ +
+  
+
+ +
+ link +
+
+ link2 +
+ + diff --git a/accessible/tests/mochitest/tree/test_display_contents.html b/accessible/tests/mochitest/tree/test_display_contents.html new file mode 100644 index 0000000000..371146e5eb --- /dev/null +++ b/accessible/tests/mochitest/tree/test_display_contents.html @@ -0,0 +1,49 @@ + + + + +CSS display:contents tests + + + + + + + + + + +

+ +
+  
+ +
    +
  • Supermarket 1
  • +
  • Supermarket 2
  • +
+ + diff --git a/accessible/tests/mochitest/tree/test_divs.html b/accessible/tests/mochitest/tree/test_divs.html new file mode 100644 index 0000000000..a8bd1f0e78 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_divs.html @@ -0,0 +1,333 @@ + + + + +div element creation tests + + + + + + + + + + + +

+ +
+  
+ + +
foo
+ + +
foo
+ + +
foo
+ + +
foo
+ + +
foo
+ + +
foo
bar
+ + +
foo
bar
baz
+ + +
foo
bar
baz
+
a
b
c
+ + +
ab
cd
+ + +
first line.

third line
+ + +

Test

+ + +
l1
l2
+ + +
l1
+ + +
l1
l2
+ + diff --git a/accessible/tests/mochitest/tree/test_dochierarchy.html b/accessible/tests/mochitest/tree/test_dochierarchy.html new file mode 100644 index 0000000000..4822cecb84 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_dochierarchy.html @@ -0,0 +1,84 @@ + + + + Test document hierarchy + + + + + + + + + + + + + + Mozilla Bug 592913 + +

+ +
+  
+ + + + diff --git a/accessible/tests/mochitest/tree/test_dockids.html b/accessible/tests/mochitest/tree/test_dockids.html new file mode 100644 index 0000000000..b19a68624a --- /dev/null +++ b/accessible/tests/mochitest/tree/test_dockids.html @@ -0,0 +1,62 @@ + + + + Test document hierarchy + + + + + + + + + + + + + + Mozilla Bug 608887 + +

+ +
+  
+ + + diff --git a/accessible/tests/mochitest/tree/test_filectrl.html b/accessible/tests/mochitest/tree/test_filectrl.html new file mode 100644 index 0000000000..f0cd5baa5b --- /dev/null +++ b/accessible/tests/mochitest/tree/test_filectrl.html @@ -0,0 +1,56 @@ + + + + + File Input Control tests + + + + + + + + + + + + Mozilla Bug 483573 +

+ +
+  
+ + + + diff --git a/accessible/tests/mochitest/tree/test_formctrl.html b/accessible/tests/mochitest/tree/test_formctrl.html new file mode 100644 index 0000000000..3046ec2bf7 --- /dev/null +++ b/accessible/tests/mochitest/tree/test_formctrl.html @@ -0,0 +1,125 @@ + + + + + HTML form controls tests + + + + + + + + + + + + + Bug 342045 + + + Bug 524521 + + + Bug 558036 + + + Bug 559764 + +

+ +
+  
+ + + + + + + + + + + 1337 + + + diff --git a/accessible/tests/mochitest/tree/test_formctrl.xhtml b/accessible/tests/mochitest/tree/test_formctrl.xhtml new file mode 100644 index 0000000000..d85a97171f --- /dev/null +++ b/accessible/tests/mochitest/tree/test_formctrl.xhtml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + Mozilla Bug 342045 +
+

+ +
+      
+ + + + + + + + + + + + + + + + + +
+ +
+ diff --git a/accessible/tests/mochitest/tree/test_gencontent.html b/accessible/tests/mochitest/tree/test_gencontent.html new file mode 100644 index 0000000000..3cd5e35e9a --- /dev/null +++ b/accessible/tests/mochitest/tree/test_gencontent.html @@ -0,0 +1,69 @@ + + + + + Generated content tests + + + + + + + + + + + + + + + Mozilla Bug 530081 + +

+ +
+  
+ +
MIDDLE
+ + diff --git a/accessible/tests/mochitest/tree/test_groupbox.xhtml b/accessible/tests/mochitest/tree/test_groupbox.xhtml new file mode 100644 index 0000000000..e5236d713a --- /dev/null +++ b/accessible/tests/mochitest/tree/test_groupbox.xhtml @@ -0,0 +1,63 @@ + + + + + + + + + + + + Mozilla Bug 342045 +
+

+ +
+      
+ + + + + + +
+ +
+ diff --git a/accessible/tests/mochitest/tree/test_iframe.html b/accessible/tests/mochitest/tree/test_iframe.html new file mode 100644 index 0000000000..e0e691550b --- /dev/null +++ b/accessible/tests/mochitest/tree/test_iframe.html @@ -0,0 +1,50 @@ + + + + Outer document accessible tests + + + + + + + + + + + + + Mozilla Bug 342045 + +

+ +
+  
+ +