diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters')
17 files changed, 141 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters1html.html b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters1html.html new file mode 100644 index 0000000000..a717f95cee --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters1html.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Example</title> + </head> + <body> + <p>Login names can only use letters from A to Z (upper or lowercase) + and the character underscore (_) and minus (-). + For example: <code its-allowed-characters="[a-zA-Z_\-]">Huck_Finn</code>.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters2html.html b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters2html.html new file mode 100644 index 0000000000..1f51390eb5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters2html.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Example</title> + <link href="allowedcharacters2htmlrules.xml" rel="its-rules"> + </head> + <body> + <p>Login names can only use letters from A to Z (upper or lowercase) + and the character underscore (_) and minus (-). + For example: <code>Huck_Finn</code>.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters2htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters2htmlrules.xml new file mode 100644 index 0000000000..a9667e0c07 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters2htmlrules.xml @@ -0,0 +1,3 @@ + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:p/h:code"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters3html.html b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters3html.html new file mode 100644 index 0000000000..4b6533bc51 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters3html.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Example</title> + <link href="allowedcharacters3htmlrules.xml" rel="its-rules"> + </head> + <body> + <p>Login names can only use letters from A to Z (upper or lowercase) + and the character underscore (_) and minus (-). + For example: <code id="name">Huck_Finn</code>.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters3htmlrules.xml new file mode 100644 index 0000000000..7e490ba52f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters3htmlrules.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="allowedcharsParam">name</its:param> + <its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:p/h:code[@id=$allowedcharsParam]"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters4html.html b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters4html.html new file mode 100644 index 0000000000..ae78589154 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/html/allowedcharacters4html.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Example</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="acParam">name</its:param> + <its:allowedCharactersRule allowedCharacters="[a-zA-Z_\-]" selector="//h:code[@id=$acParam]"/> + </its:rules> + </script> + </head> + <body> + <p>Login names can only use letters from A to Z (upper or lowercase) + and the character underscore (_) and minus (-). + For example: <code id="name">Huck_Finn</code>.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters1xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters1xml.xml new file mode 100644 index 0000000000..0188ef8008 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters1xml.xml @@ -0,0 +1,12 @@ +<myRes xmlns:its="http://www.w3.org/2005/11/its"> + <head> + <its:rules version="2.0"> + <its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content"/> + </its:rules> + </head> + <body> + <content>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed + diam voluptua.</content> + </body> +</myRes> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters2xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters2xml.xml new file mode 100644 index 0000000000..0f44ccf22f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters2xml.xml @@ -0,0 +1,9 @@ +<res xmlns:its="http://www.w3.org/2005/11/its"> + <head> + <its:rules version="2.0"> + <its:allowedCharactersRule selector="//record" allowedCharactersPointer="@set"/> + </its:rules> + </head> + <record id="a1" set="[ !–~]">FULL WIDTH ONLY</record> +</res> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters3xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters3xml.xml new file mode 100644 index 0000000000..21fae03267 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters3xml.xml @@ -0,0 +1,10 @@ +<myRes xmlns:its="http://www.w3.org/2005/11/its"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="allowedcharacters3xmlrules.xml"/> + </head> + <body> + <content>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed + diam voluptua.</content> + </body> +</myRes> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters3xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters3xmlrules.xml new file mode 100644 index 0000000000..4b624c4126 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters3xmlrules.xml @@ -0,0 +1,3 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters4xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters4xml.xml new file mode 100644 index 0000000000..49dceddc84 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters4xml.xml @@ -0,0 +1,7 @@ +<res xmlns:its="http://www.w3.org/2005/11/its"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="allowedcharacters4xmlrules.xml"/> + </head> + <record id="a1" set="[ !–~]">FULL WIDTH ONLY</record> +</res> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters4xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters4xmlrules.xml new file mode 100644 index 0000000000..b45129a57d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters4xmlrules.xml @@ -0,0 +1,3 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:allowedCharactersRule selector="//record" allowedCharactersPointer="@set"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters5xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters5xml.xml new file mode 100644 index 0000000000..1f1ebb0ea0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters5xml.xml @@ -0,0 +1,4 @@ +<messages xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <msg num="123">Click the <panelmsg its:allowedCharacters="[ -þ]" + >CONTINUE</panelmsg> Button on the printer panel</msg> +</messages> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters6xml.xml new file mode 100644 index 0000000000..0dc1a9945d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters6xml.xml @@ -0,0 +1,3 @@ +<messages xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0"> + <msg num="123">Click the <its:span allowedCharacters="[ -þ]">CONTINUE</its:span> Button on the printer panel</msg> +</messages> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters7xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters7xml.xml new file mode 100644 index 0000000000..168de572ae --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters7xml.xml @@ -0,0 +1,10 @@ +<myRes xmlns:its="http://www.w3.org/2005/11/its"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:xlink="http://www.w3.org/1999/xlink" version="2.0" xlink:type="simple" xlink:href="allowedcharacters7xmlrules.xml"/> + </head> + <body> + <content id="allowedchar">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed + diam voluptua.</content> + </body> +</myRes> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters7xmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters7xmlrules.xml new file mode 100644 index 0000000000..c030ff0720 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters7xmlrules.xml @@ -0,0 +1,4 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="allowedcharParam">allowedchar</its:param> + <its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content[@id=$allowedcharParam]"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters8xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters8xml.xml new file mode 100644 index 0000000000..a6d2aa6d9a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/allowedcharacters/xml/allowedcharacters8xml.xml @@ -0,0 +1,13 @@ +<myRes xmlns:its="http://www.w3.org/2005/11/its"> + <head> + <its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0"> + <its:param name="allowedcharParam">allowedchar</its:param> + <its:allowedCharactersRule allowedCharacters="[^*+]" selector="//content[@id=$allowedcharParam]"/> +</its:rules> + </head> + <body> + <content id="allowedchar">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam + nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed + diam voluptua.</content> + </body> +</myRes> |