diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/directionality/html')
5 files changed, 64 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir1html.html b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir1html.html new file mode 100644 index 000000000..d79fd7fa5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir1html.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Directionality</title> + </head> + <body> + <p>In Hebrew, the title <q lang="he" + dir="rtl">פעילות הבינאום, W3C</q> + means "Internationalization Activity, W3C".</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir2html.html b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir2html.html new file mode 100644 index 000000000..562676dcf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir2html.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Directionality</title> + <script type="application/its+xml"> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:dirRule selector="//h:*[@class='rtLeft']" dir="rtl" /> + </its:rules> + </script> + </head> + <body> + <p>In Hebrew, the title <q lang="he" + class="rtLeft">פעילות הבינאום, W3C</q> + means "Internationalization Activity, W3C".</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir3html.html b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir3html.html new file mode 100644 index 000000000..8aba16362 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir3html.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Directionality</title> + <link href="dir3htmlrules.xml" rel="its-rules"/> + </head> + <body> + <p>In Hebrew, the title <q lang="he" + class="rtLeft">פעילות הבינאום, W3C</q> + means "Internationalization Activity, W3C".</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir3htmlrules.xml new file mode 100644 index 000000000..8e1c97b07 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir3htmlrules.xml @@ -0,0 +1,4 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="dirParam">rtLeft</its:param> + <its:dirRule selector="//h:*[@class=$dirParam]" dir="rtl" /> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir4html.html b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir4html.html new file mode 100644 index 000000000..1d3ed6e15 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/directionality/html/dir4html.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Directionality</title> + <script type="application/its+xml"> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:param name="dirParam">rtLeft</its:param> + <its:dirRule selector="//h:*[@class=$dirParam]" dir="rtl" /> + </its:rules> + </script> + </head> + <body> + <p>In Hebrew, the title <q lang="he" + class="rtLeft">פעילות הבינאום, W3C</q> + means "Internationalization Activity, W3C".</p> + </body> +</html> |