From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- accessible/tests/mochitest/textattrs/a11y.toml | 17 + .../tests/mochitest/textattrs/test_general.html | 813 +++++++++++++++++++++ .../tests/mochitest/textattrs/test_general.xhtml | 51 ++ .../tests/mochitest/textattrs/test_invalid.html | 59 ++ .../tests/mochitest/textattrs/test_mathml.html | 54 ++ .../tests/mochitest/textattrs/test_spelling.html | 52 ++ accessible/tests/mochitest/textattrs/test_svg.html | 56 ++ 7 files changed, 1102 insertions(+) create mode 100644 accessible/tests/mochitest/textattrs/a11y.toml 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.toml b/accessible/tests/mochitest/textattrs/a11y.toml new file mode 100644 index 0000000000..795f1fa9b7 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/a11y.toml @@ -0,0 +1,17 @@ +[DEFAULT] +prefs = "mathml.legacy_mathvariant_attribute.disabled=true" +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..7b29f409a2 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_general.html @@ -0,0 +1,813 @@ + + + + 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 +

+ +

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..ea1eea1764 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_mathml.html @@ -0,0 +1,54 @@ + + + + MathML Text attributes tests + + + + + + + + + + + + + +

+ +
+  
+ + + 1 + x + 𝟙 + 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..9456a74936 --- /dev/null +++ b/accessible/tests/mochitest/textattrs/test_svg.html @@ -0,0 +1,56 @@ + + + + SVG Text attributes tests + + + + + + + + + + + + + +

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