diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/conformance-checkers/html-its/directionality/xml | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/directionality/xml')
8 files changed, 67 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir1xml.xml new file mode 100644 index 0000000000..8962c0c06e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir1xml.xml @@ -0,0 +1,12 @@ +<text xml:lang="en"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/> + </its:rules> + </head> + <body> + <par>In Hebrew, the title <quote xml:lang="he" + direction="rtlText">פעילות הבינאום, W3C</quote> + means <quote>Internationalization Activity, W3C</quote>.</par> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir2xml.xml new file mode 100644 index 0000000000..da98efb781 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir2xml.xml @@ -0,0 +1,11 @@ +<text xml:lang="en"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" + xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dir2xmlrules.xml" /> + </head> + <body> + <par>In Hebrew, the title <quote xml:lang="he" + direction="rtlText">פעילות הבינאום, W3C</quote> + means <quote>Internationalization Activity, W3C</quote>.</par> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir2xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir2xmlrules.xml new file mode 100644 index 0000000000..42b2feb006 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir2xmlrules.xml @@ -0,0 +1,3 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:dirRule dir="rtl" selector="//*[@direction='rtlText']"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir3xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir3xml.xml new file mode 100644 index 0000000000..d7f1805d6c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir3xml.xml @@ -0,0 +1,7 @@ +<text xml:lang="en" xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <body> + <par>In Arabic, the title <quote xml:lang="ar" + its:dir="rtl">نشاط التدويل، W3C</quote> + means <quote>Internationalization Activity, W3C</quote>.</par> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir4xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir4xml.xml new file mode 100644 index 0000000000..1a0b77ca8e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir4xml.xml @@ -0,0 +1,6 @@ +<text xml:lang="en" xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <body> + <par>In Arabic, the title "<its:span xml:lang="ar" dir="rtl">نشاط التدويل، W3C</its:span>" + means "Internationalization Activity, W3C".</par> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir5xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir5xml.xml new file mode 100644 index 0000000000..b8c56ac211 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir5xml.xml @@ -0,0 +1,13 @@ +<text xml:lang="en"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="dirParam">rtlText</its:param> + <its:dirRule dir="rtl" selector="//*[@direction=$dirParam]"/> + </its:rules> + </head> + <body> + <par>In Hebrew, the title <quote xml:lang="he" + direction="rtlText">פעילות הבינאום, W3C</quote> + means <quote>Internationalization Activity, W3C</quote>.</par> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir6xml.xml new file mode 100644 index 0000000000..0d60fb0cc2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir6xml.xml @@ -0,0 +1,11 @@ +<text xml:lang="en"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0" + xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="dir6xmlrules.xml" /> + </head> + <body> + <par>In Hebrew, the title <quote xml:lang="he" + direction="rtlText">פעילות הבינאום, W3C</quote> + means <quote>Internationalization Activity, W3C</quote>.</par> + </body> +</text> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir6xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir6xmlrules.xml new file mode 100644 index 0000000000..8ade2458f8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/xml/dir6xmlrules.xml @@ -0,0 +1,4 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="dirParam">rtlText</its:param> + <its:dirRule dir="rtl" selector="//*[@direction=$dirParam]"/> +</its:rules> |