From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/relations/a11y.ini | 14 + .../tests/mochitest/relations/test_embeds.xhtml | 128 ++++++ .../tests/mochitest/relations/test_general.html | 456 +++++++++++++++++++++ .../tests/mochitest/relations/test_general.xhtml | 237 +++++++++++ .../mochitest/relations/test_groupInfoUpdate.html | 57 +++ .../tests/mochitest/relations/test_shadowdom.html | 58 +++ .../mochitest/relations/test_tabbrowser.xhtml | 109 +++++ .../tests/mochitest/relations/test_tree.xhtml | 105 +++++ .../mochitest/relations/test_ui_modalprompt.html | 111 +++++ .../tests/mochitest/relations/test_update.html | 213 ++++++++++ 10 files changed, 1488 insertions(+) create mode 100644 accessible/tests/mochitest/relations/a11y.ini create mode 100644 accessible/tests/mochitest/relations/test_embeds.xhtml create mode 100644 accessible/tests/mochitest/relations/test_general.html create mode 100644 accessible/tests/mochitest/relations/test_general.xhtml create mode 100644 accessible/tests/mochitest/relations/test_groupInfoUpdate.html create mode 100644 accessible/tests/mochitest/relations/test_shadowdom.html create mode 100644 accessible/tests/mochitest/relations/test_tabbrowser.xhtml create mode 100644 accessible/tests/mochitest/relations/test_tree.xhtml create mode 100644 accessible/tests/mochitest/relations/test_ui_modalprompt.html create mode 100644 accessible/tests/mochitest/relations/test_update.html (limited to 'accessible/tests/mochitest/relations') diff --git a/accessible/tests/mochitest/relations/a11y.ini b/accessible/tests/mochitest/relations/a11y.ini new file mode 100644 index 0000000000..89ffaffdce --- /dev/null +++ b/accessible/tests/mochitest/relations/a11y.ini @@ -0,0 +1,14 @@ +[DEFAULT] +support-files = + !/accessible/tests/mochitest/*.js + +[test_embeds.xhtml] +skip-if = os == 'linux' && !debug # bug 1411145 +[test_general.html] +[test_general.xhtml] +[test_groupInfoUpdate.html] +[test_tabbrowser.xhtml] +[test_tree.xhtml] +[test_ui_modalprompt.html] +[test_shadowdom.html] +[test_update.html] diff --git a/accessible/tests/mochitest/relations/test_embeds.xhtml b/accessible/tests/mochitest/relations/test_embeds.xhtml new file mode 100644 index 0000000000..d49ce1f73c --- /dev/null +++ b/accessible/tests/mochitest/relations/test_embeds.xhtml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + + + + + + + + Mozilla Bug 707654 + +

+ +
+    
+ +
+
diff --git a/accessible/tests/mochitest/relations/test_general.html b/accessible/tests/mochitest/relations/test_general.html new file mode 100644 index 0000000000..d16b7c1492 --- /dev/null +++ b/accessible/tests/mochitest/relations/test_general.html @@ -0,0 +1,456 @@ + + + + nsIAccessible::getAccessibleRelated() tests + + + + + + + + + + + + + + + + Bug 475298 + + + Bug 527461 + + + Bug 558036 + + + Bug 682790 + + + Bug 687393 + + + Bug 864224 + +

+ +
+  
+ + + + + + + + + + + + + + + + + + + + + + label + + + label1 + label2 + + + description + + + description1 + description2 + + +
Yellow
+
Orange
+
+
Blue
+
Green
+
Light green
+
Green2
+
+
Super light green
+
+
+ +
+
+
cell 1,1
+
cell 1,2
+
+
+
cell 2,1
+
cell 2,2
+
+
+
cell 3,1
+
cell 3,2
+
+
+ + + +
+
+
1
+
+
+
+
1.1
+
1.2
+
+
+
+ +
+
+ cell1cell2 +
+
+ cell3cell4 +
+
+ cell5cell6 +
+
+ +
+
Item 1 +
+
Item 1A
+
Item 1B
+
+
+
+ +
+
1 +
+
+
1.1
+
1.2
+
+
+
+
+ +
+
1 +
+
+
1.1
+
1.2
+
+
+
+
+ + + +
+ +
+
tabpanel
+ +
1
+
a
+ + +
live region
+ + flow to + flow from + + flow to + flow from + flow from + +
+ + + + + +
+ + + + + + +
tabple caption
cell1cell2
+ +
+ legend + +
+ +
+
+
+ + diff --git a/accessible/tests/mochitest/relations/test_general.xhtml b/accessible/tests/mochitest/relations/test_general.xhtml new file mode 100644 index 0000000000..bc3b328fd9 --- /dev/null +++ b/accessible/tests/mochitest/relations/test_general.xhtml @@ -0,0 +1,237 @@ + + + + + + + + + + + + Mozilla Bug 475298 +
+ + Mozilla Bug 67389 +
+ +

+ +
+      
+ + + + + + + + + + label + + + label + label + + + + + + description + + + label + label + + + description + + + description + description + + + Yellow + Orange + + Blue + Green + Light green + + + Dark green + +