From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/textattrs/a11y.ini | 11 + .../tests/mochitest/textattrs/test_general.html | 823 +++++++++++++++++++++ .../tests/mochitest/textattrs/test_general.xhtml | 51 ++ .../tests/mochitest/textattrs/test_invalid.html | 59 ++ .../tests/mochitest/textattrs/test_mathml.html | 47 ++ .../tests/mochitest/textattrs/test_spelling.html | 52 ++ accessible/tests/mochitest/textattrs/test_svg.html | 52 ++ 7 files changed, 1095 insertions(+) create mode 100644 accessible/tests/mochitest/textattrs/a11y.ini create mode 100644 accessible/tests/mochitest/textattrs/test_general.html create mode 100644 accessible/tests/mochitest/textattrs/test_general.xhtml create mode 100644 accessible/tests/mochitest/textattrs/test_invalid.html create mode 100644 accessible/tests/mochitest/textattrs/test_mathml.html create mode 100644 accessible/tests/mochitest/textattrs/test_spelling.html create mode 100644 accessible/tests/mochitest/textattrs/test_svg.html (limited to 'accessible/tests/mochitest/textattrs') diff --git a/accessible/tests/mochitest/textattrs/a11y.ini b/accessible/tests/mochitest/textattrs/a11y.ini new file mode 100644 index 0000000000..6250e663b4 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/a11y.ini @@ -0,0 +1,11 @@ +[DEFAULT] +support-files = + !/accessible/tests/mochitest/*.js + !/accessible/tests/mochitest/moz.png + +[test_general.html] +[test_general.xhtml] +[test_invalid.html] +[test_mathml.html] +[test_spelling.html] +[test_svg.html] diff --git a/accessible/tests/mochitest/textattrs/test_general.html b/accessible/tests/mochitest/textattrs/test_general.html new file mode 100644 index 0000000000..02adcf675a --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_general.html @@ -0,0 +1,823 @@ + + + + Text attributes tests + + + + + + + + + + + + + + + + + Mozilla Bug 345759 + + + Mozilla Bug 473569 + + + Mozilla Bug 473576 + + + Mozilla Bug 523304 + + + Mozilla Bug 735645 + + + Mozilla Bug 445516 + + + Mozilla Bug 789621 + +

+ +
+  
+ +

Normal Bold Normal

+

Normal Bold Italic Bold Normal

+

+ + Green + but children are red + + Another green section. + +

+

+ + Green + + Green too + with red children + Green again + +

+ +

+ Green + image + RedNormal +

+

+ This sentence has the word + sentence in + superscript and + subscript and + superscript 20% and + subscript 20% and + superscript 20px and + subscript 20px +

+ +

+ Привет + Blue BG color + Ich bin/Du bist + + Normal + MagentaBoldMagenta + +

+ +

Small + bigger smaller + background blue normal + Different styling normal + Different font normal + underlined normal + strikethrough normal + strikethrough normal + strikethrough normal +

+ +

Normal + bigger smaller + background blue normal + Different styling normal + Different font normal + underlined normal + strikethrough normal +

+ +

+ bolderbolder + lighterbolder + normalbolder + boldbolder + normalbolder + boldbolder + boldbolder + boldbolder +

+ +

hello

+

+ + + +

embed

plain

embed

plain

embed

imagebold

embed

bold

embed

+ +

+ texttext + texttext + texttext + texttext + texttext +

+ +

+ underline + blue + dotted + linethrough + blue + wavy + +

+ + + +

uncolored + colored uncolored +

+ +

offset test

+ + + offset test + offset test +

offset test

+

offset test

+ +
offset test
+

offset test

+

offset test

+ offset test + offset test +

offset test

+

offset test

+ offset test + offset test + + + diff --git a/accessible/tests/mochitest/textattrs/test_general.xhtml b/accessible/tests/mochitest/textattrs/test_general.xhtml new file mode 100644 index 0000000000..de0556f10c --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_general.xhtml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + +

+ +
+    
+ +
+
diff --git a/accessible/tests/mochitest/textattrs/test_invalid.html b/accessible/tests/mochitest/textattrs/test_invalid.html new file mode 100644 index 0000000000..7028b32622 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_invalid.html @@ -0,0 +1,59 @@ + + + + Invalid text attribute + + + + + + + + + + + + + + + + + + + Mozilla Bug 445510 + +

+ +
+  
+ +
no invalid
+
invalid:true
+
invalid:false
+
invalid:grammar
+
invalid:spelling
+
invalid:true
+ + diff --git a/accessible/tests/mochitest/textattrs/test_mathml.html b/accessible/tests/mochitest/textattrs/test_mathml.html new file mode 100644 index 0000000000..e6936ebc7f --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_mathml.html @@ -0,0 +1,47 @@ + + + + MathML Text attributes tests + + + + + + + + + + + + + +

+ +
+  
+ + + 1 + x + + a + a + + + + diff --git a/accessible/tests/mochitest/textattrs/test_spelling.html b/accessible/tests/mochitest/textattrs/test_spelling.html new file mode 100644 index 0000000000..b8f3858353 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_spelling.html @@ -0,0 +1,52 @@ + + + + Spell check text attribute tests + + + + + + + + + + + + +

+ +
+  
+ + +
+
Test tset
+
test tset
+
+ + + diff --git a/accessible/tests/mochitest/textattrs/test_svg.html b/accessible/tests/mochitest/textattrs/test_svg.html new file mode 100644 index 0000000000..c8d5d5f893 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_svg.html @@ -0,0 +1,52 @@ + + + + SVG Text attributes tests + + + + + + + + + + + + + +

+ +
+  
+ + + f1 + + g + f2 + + a + + + + -- cgit v1.2.3