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/attributes/a11y.ini | 14 + .../attributes/test_dpub_aria_xml-roles.html | 120 +++++ .../attributes/test_graphics_aria_xml-roles.html | 48 ++ .../tests/mochitest/attributes/test_listbox.html | 82 +++ .../tests/mochitest/attributes/test_obj.html | 292 +++++++++++ .../tests/mochitest/attributes/test_obj_css.html | 225 ++++++++ .../tests/mochitest/attributes/test_obj_group.html | 564 +++++++++++++++++++++ .../mochitest/attributes/test_obj_group.xhtml | 215 ++++++++ .../mochitest/attributes/test_obj_group_tree.xhtml | 84 +++ .../tests/mochitest/attributes/test_tag.html | 80 +++ .../tests/mochitest/attributes/test_xml-roles.html | 267 ++++++++++ 11 files changed, 1991 insertions(+) create mode 100644 accessible/tests/mochitest/attributes/a11y.ini create mode 100644 accessible/tests/mochitest/attributes/test_dpub_aria_xml-roles.html create mode 100644 accessible/tests/mochitest/attributes/test_graphics_aria_xml-roles.html create mode 100644 accessible/tests/mochitest/attributes/test_listbox.html create mode 100644 accessible/tests/mochitest/attributes/test_obj.html create mode 100644 accessible/tests/mochitest/attributes/test_obj_css.html create mode 100644 accessible/tests/mochitest/attributes/test_obj_group.html create mode 100644 accessible/tests/mochitest/attributes/test_obj_group.xhtml create mode 100644 accessible/tests/mochitest/attributes/test_obj_group_tree.xhtml create mode 100644 accessible/tests/mochitest/attributes/test_tag.html create mode 100644 accessible/tests/mochitest/attributes/test_xml-roles.html (limited to 'accessible/tests/mochitest/attributes') diff --git a/accessible/tests/mochitest/attributes/a11y.ini b/accessible/tests/mochitest/attributes/a11y.ini new file mode 100644 index 0000000000..ab880e4fcb --- /dev/null +++ b/accessible/tests/mochitest/attributes/a11y.ini @@ -0,0 +1,14 @@ +[DEFAULT] +support-files = + !/accessible/tests/mochitest/*.js + +[test_dpub_aria_xml-roles.html] +[test_graphics_aria_xml-roles.html] +[test_listbox.html] +[test_obj.html] +[test_obj_css.html] +[test_obj_group.html] +[test_obj_group.xhtml] +[test_obj_group_tree.xhtml] +[test_tag.html] +[test_xml-roles.html] diff --git a/accessible/tests/mochitest/attributes/test_dpub_aria_xml-roles.html b/accessible/tests/mochitest/attributes/test_dpub_aria_xml-roles.html new file mode 100644 index 0000000000..a6b4dd4840 --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_dpub_aria_xml-roles.html @@ -0,0 +1,120 @@ + + + + XML roles tests + + + + + + + + + + + + + Bug 1343537 + +

+ +

+  
abstract
+
acknowledgments
+
afterword
+
appendix
+ +
biblioentry
+
bibliography
+
biblioref
+
chapter
+
colophon
+
conclusion
+
cover
+
credit
+
credits
+
dedication
+
endnote
+
endnotes
+
epigraph
+
epilogue
+
errata
+
example
+
footnote
+
foreword
+
glossary
+
glossref
+
index
+
introduction
+
noteref
+
notice
+
pagebreak
+
pagelist
+
part
+
preface
+
prologue
+
pullquote
+
qna
+
subtitle
+
tip
+
toc
+ + diff --git a/accessible/tests/mochitest/attributes/test_graphics_aria_xml-roles.html b/accessible/tests/mochitest/attributes/test_graphics_aria_xml-roles.html new file mode 100644 index 0000000000..45d5e2fa0b --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_graphics_aria_xml-roles.html @@ -0,0 +1,48 @@ + + + + XML roles tests + + + + + + + + + + + + + Bug 1432513 + +

+ +

+  
document
+
object
+
symbol
+ + diff --git a/accessible/tests/mochitest/attributes/test_listbox.html b/accessible/tests/mochitest/attributes/test_listbox.html new file mode 100644 index 0000000000..5489e74b74 --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_listbox.html @@ -0,0 +1,82 @@ + + + + Listbox group attribute tests + + + + + + + + + + + + +

+ +
+  
+ + +
+
Option a
+
Option b
+
Option c
+
Option d
+
Option e
+
Option f
+
+ + + diff --git a/accessible/tests/mochitest/attributes/test_obj.html b/accessible/tests/mochitest/attributes/test_obj.html new file mode 100644 index 0000000000..fedf6a1b7b --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_obj.html @@ -0,0 +1,292 @@ + + + + Group attributes tests + + + + + + + + + + +

+ +
+  
+ + +
Test
+ + +
live region
+
live region
+
+ + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
    +
  1. Page 1
  2. +
  3. Page 2
  4. +
  5. This page
  6. +
+ + + + + +
excuse
me
+
excuse
me
+
excuse
+ +
excuse
me
+
excuse
me
+
excuse
me
+
excuse
me
+
tablist
tab
+
excuse
me
+ + + + + + +
+ excuse
me
+
+ + + + + + + + + + + + + +
Draggable div
+ + + + + + +
SS#Social Security Number
+ + + + +
Fake beer
+ + + + + + + +
+ + diff --git a/accessible/tests/mochitest/attributes/test_obj_css.html b/accessible/tests/mochitest/attributes/test_obj_css.html new file mode 100644 index 0000000000..6c702ba5a6 --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_obj_css.html @@ -0,0 +1,225 @@ + + + CSS-like attributes tests + + + + + + + + + + + + + + Mozilla Bug 439566 + + + Mozilla Bug 460932 + + + Mozilla Bug 689540 + + + Mozilla Bug 714579 + + + Mozilla Bug 729831 + + +

+ +
+  
+ + + + + + + + + + + + + + + + +

text-align: left

+

text-align: right

+

text-align: center

+

text-align: justify

+

text-align: inherit

+ +

text-indent: 0.5em

+

text-indent: 1ex

+

text-indent: 0.5in

+

text-indent: 2cm

+

text-indent: 10mm

+

text-indent: 30pt

+

text-indent: 2pc

+

text-indent: 5px

+

text-indent: 10%

+

text-indent: inherit

+ +

margin: 0.5em

+

margin: 1ex

+

margin: 0.5in

+

margin: 2cm

+

margin: 10mm

+

margin: 30pt

+

margin: 2pc

+

margin: 5px

+

margin: 10%

+

margin: auto

+

margin: inherit

+ +

margin-left: 11px

+

margin-right

+

margin-top: 31px

+

margin-bottom: 41px

+ + It's span +
It's div
+

It's paragraph"

+ + + + + +
td
+ + + + diff --git a/accessible/tests/mochitest/attributes/test_obj_group.html b/accessible/tests/mochitest/attributes/test_obj_group.html new file mode 100644 index 0000000000..f245d485c7 --- /dev/null +++ b/accessible/tests/mochitest/attributes/test_obj_group.html @@ -0,0 +1,564 @@ + + + + Group attributes tests + + + + + + + + + + + + + + Mozilla Bug 468418 + + + Bug 844023 + + + Bug 864224 + + + Mozilla Bug 907682 + + +

+ +
+  
+ + + + + + + +
+ + +
+ + + + + + +
    +
  1. Oranges
  2. +
  3. Apples
  4. +
  5. Bananas +
      +
    • Oranges
    • +
    • Apples
    • +
    • Bananas
    • +
    +
  6. +
+ + + Oranges + Apples + Bananas + + + + Oranges + Apples + Bananas + + Oranges + Apples + Bananas + + + + +
+
Item 1 +
+
Item 1A
+
Item 1B
+
+
+
Item 2 +
+
Item 2A
+
Item 2B
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
vegetables
cucumber
carrot
mercedes
BMW
Audi
people
+ +