diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/idvalue/html')
5 files changed, 68 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1html.html b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1html.html new file mode 100644 index 000000000..b345f202f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1html.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Id Value</title> + <link href="idvalue1htmlrules.xml" rel="its-rules"/> +</head> +<body> + <p id="settingsMissing"> + <b id="text">Can't find settings file.</b> + <var id="desc">The module cannot find the default settings file. + You need to re-initialize the system.</var> + </p> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1htmlrules.xml new file mode 100644 index 000000000..fb049999c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1htmlrules.xml @@ -0,0 +1,6 @@ +<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0"> + <its:idValueRule selector="//h:p" idValue="@id"/> + <its:idValueRule selector="//h:b" idValue="@id"/> + <its:idValueRule selector="//h:var" idValue="@id"/> +</its:rules> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2html.html b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2html.html new file mode 100644 index 000000000..8b53d3ddf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2html.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset=utf-8> + <title>Id Value</title> + <link href="idvalue2htmlrules.xml" rel="its-rules"/> +</head> +<body> + <p id="settingsMissing"> + <b id="text">Can't find settings file.</b> + <var id="desc">The module cannot find the default settings file. + You need to re-initialize the system.</var> + <b id="crashtext">This computer is now crashing GOODBYE!!</b> + </p> +</body> +</html> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2htmlrules.xml new file mode 100644 index 000000000..942af0dbe --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2htmlrules.xml @@ -0,0 +1,7 @@ +<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="idvalueparam">text</its:param> + <its:idValueRule selector="//h:p" idValue="@id"/> + <its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/> + <its:idValueRule selector="//h:b[@id='crashtext']" idValue="@id"/> + <its:idValueRule selector="//h:var" idValue="@id"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue3html.html b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue3html.html new file mode 100644 index 000000000..4030307b1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue3html.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html> + <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="idvalueparam">text</its:param> + <its:idValueRule selector="//h:p" idValue="@id"/> + <its:idValueRule selector="//h:b[@id=$idvalueparam]" idValue="@id"/> + <its:idValueRule selector="//h:var" idValue="@id"/> + </its:rules> + </script> + <meta charset=utf-8> + <title>Id Value</title> +</head> +<body> + <p id="settingsMissing"> + <b id="text">Can't find settings file.</b> + <var id="desc">The module cannot find the default settings file. + You need to re-initialize the system.</var> + </p> +</body> +</html> |