diff options
Diffstat (limited to '')
6 files changed, 65 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize1html.html b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize1html.html new file mode 100644 index 0000000000..f2dad64387 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize1html.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Storage Size</title> + </head> + <body> + <p>String to translate:</p> + <p contenteditable="true" id="123" its-storage-size="25" its-storage-encoding="ISO-8859-1" its-line-break-type="LF">Papua New-Guinea</p> + <p contenteditable="true" id="139" its-storage-size="25" its-storage-encoding="ISO-8859-1" its-line-break-type="lF">Dominican Replubic</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize2html.html b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize2html.html new file mode 100644 index 0000000000..ff1b5bdf8c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize2html.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Storage Size</title> + <link href="storagesize2htmlrules.xml" rel="its-rules"> + </head> + <body> + <b>String to translate:</b> + <p contenteditable="true" id="123">Papua New-Guinea</p> + <p contenteditable="true" id="139">Dominican Replubic</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize2htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize2htmlrules.xml new file mode 100644 index 0000000000..93d0bfa61f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize2htmlrules.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:storageSizeRule selector="//h:p" storageSize="25" storageEncoding="ISO-8859-1"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize3html.html b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize3html.html new file mode 100644 index 0000000000..364e97f8ae --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize3html.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Storage Size</title> + <link href="storagesize3htmlrules.xml" rel="its-rules"> + </head> + <body> + <b>String to translate:</b> + <p contenteditable="true" id="123">Papua New-Guinea</p> + <p contenteditable="true" id="139">Dominican Replubic</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize3htmlrules.xml new file mode 100644 index 0000000000..4e8b23d3d5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize3htmlrules.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="storagesizeParam">123</its:param> + <its:storageSizeRule selector="//h:p[@id=$storagesizeParam]" storageSize="25" storageEncoding="ISO-8859-1"/> + </its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize4html.html b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize4html.html new file mode 100644 index 0000000000..4ec272a4d3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/storagesize/html/storagesize4html.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html lang=en> + <head> + <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="storagesizePapParam">123</its:param> + <its:param name="storagesizeDomParam">139</its:param> + <its:storageSizeRule selector="//h:p[@id=$storagesizePapParam]" storageSize="25" storageEncoding="ISO-8859-1"/> + <its:storageSizeRule selector="//h:p[@id=$storagesizeDomParam]" storageSize="25" storageEncoding="ISO-8859-1"/> + </its:rules> + </script> + <meta charset=utf-8> + <title>Storage Size</title> + </head> + <body> + <b>String to translate:</b> + <p contenteditable="true" id="123">Papua New-Guinea</p> + <p contenteditable="true" id="139">Dominican Replubic</p> + </body> +</html> |