summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/idvalue/html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/conformance-checkers/html-its/idvalue/html
parentInitial commit. (diff)
downloadthunderbird-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/idvalue/html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1html.html16
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue1htmlrules.xml6
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2html.html17
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue2htmlrules.xml7
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/idvalue/html/idvalue3html.html22
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 0000000000..85ce27f1db
--- /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 0000000000..fb049999c4
--- /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 0000000000..44197abbd9
--- /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 0000000000..942af0dbe9
--- /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 0000000000..4030307b1e
--- /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>