summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1html.html11
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1htmlrules.xml7
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2html.html22
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2htmlrules.xml4
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3html.html12
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3htmlrules.xml3
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4html.html16
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4htmlrules.xml3
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5html.html21
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5htmlrules.xml15
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6html.html21
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6htmlrules.xml15
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote7html.html10
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8html.html21
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8htmlrules.xml16
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote9html.html20
16 files changed, 217 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1html.html
new file mode 100644
index 000000000..6c33dd2d0
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1html.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>Example</title>
+ <link href="locnote1htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="DisableInfo">The {0} has been disabled.</span>
+ </body>
+ </html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1htmlrules.xml
new file mode 100644
index 000000000..87b8415aa
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote1htmlrules.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:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
+<its:locNote>
+The variable {0} has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2html.html
new file mode 100644
index 000000000..21937ae3f
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2html.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>Example</title>
+ <link href="locnote2htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <section id="FileNotFound">
+ <h2>FileNotFound</h2>
+ <p>
+ Indicates that the resource file {0} could not be loaded.
+ </p>
+ <span>Cannot find the file {0}.</span>
+ </section>
+ <section id="DivByZero">
+ <h2>FileNotFound</h2>
+ <p>A division by 0 was going to be computed.</p>
+ <span>Invalid parameter.</span>
+ </section>
+ </body>
+ </html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2htmlrules.xml
new file mode 100644
index 000000000..2da2d203e
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote2htmlrules.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:translateRule selector="//h:section/h:p" translate="no"/>
+<its:locNoteRule locNoteType="description" selector="//h:section/h:span" locNotePointer="../h:p"/>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3html.html
new file mode 100644
index 000000000..380ab5f88
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3html.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote3htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="NotFound">Cannot find {0} on {1}.</span>
+ </body>
+ </html>
+
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3htmlrules.xml
new file mode 100644
index 000000000..898225e43
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote3htmlrules.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:locNoteRule locNoteType="description" selector="//h:span[@id='NotFound']" locNoteRef="ErrorsInfo.html/#NotFound"/>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4html.html
new file mode 100644
index 000000000..8cc2ffe19
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4html.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote4htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <p id="FileNotFound" title="Comments.html#FileNotFound">
+ <span>Cannot find the file {0}.</span>
+ </p>
+ <p id="DivByZero" title="Comments.html#DivByZero">
+ <span>Invalid parameter.</span>
+ </p>
+ </body>
+ </html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4htmlrules.xml
new file mode 100644
index 000000000..2e0f1173e
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote4htmlrules.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:locNoteRule locNoteType="description" selector="//h:body/h:p/h:span" locNoteRefPointer="../@title"/>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5html.html
new file mode 100644
index 000000000..1db258ab1
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5html.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <link href="locnote5htmlrules.xml" rel="its-rules"/>
+ <title>EXAMPLE</title>
+ </head>
+ <body>
+ <p id="1">
+ This is a hippoptamus:
+ <img src="hippo.png" alt="Hippo in the Chobe River"/>
+ .
+ </p>
+ <p id="2">
+ This is an elephant:
+ <img src="elephants.png" alt="Elephants taking a mud bath"/>
+ .
+ </p>
+ <p id="DisableInfo">The {0} has been disabled.</p>
+ </body>
+ </html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5htmlrules.xml
new file mode 100644
index 000000000..c9d00868a
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote5htmlrules.xml
@@ -0,0 +1,15 @@
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
+<its:locNoteRule selector="//h:p[@id='1']/h:img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//h:p[@id='2']/h:img/@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//h:p[@id='DisableInfo']">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6html.html
new file mode 100644
index 000000000..eea2ad93e
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6html.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote6htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="1">
+ This is a hippoptamus:
+ <img src="hippo.png" alt="Hippo in the Chobe River"/>
+ .
+ </span>
+ <span id="2">
+ This is an elephant:
+ <img src="elephants.png" alt="Elephants taking a mud bath"/>
+ .
+ </span>
+ <span id="DisableInfo">The {0} has been disabled.</span>
+ </body>
+ </html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6htmlrules.xml
new file mode 100644
index 000000000..d8a1ee4a7
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote6htmlrules.xml
@@ -0,0 +1,15 @@
+<its:rules xmlns:its="http://www.w3.org/2005/11/its" xmlns:h="http://www.w3.org/1999/xhtml" version="2.0">
+<its:locNoteRule selector="//@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//h:span[@id='DisableInfo']">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote7html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote7html.html
new file mode 100644
index 000000000..4741c323d
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote7html.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset=utf-8>
+ <title>LocNote test: Default</title>
+ </head>
+ <body>
+ <p>This is a <span its-loc-note="Check with terminology engineer" its-loc-note-type="ALERT">motherboard</span>.</p>
+ </body>
+</html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8html.html
new file mode 100644
index 000000000..8913b8ead
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8html.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+ <html>
+ <head>
+ <meta charset=utf-8>
+ <title>EXAMPLE</title>
+ <link href="locnote8htmlrules.xml" rel="its-rules"/>
+ </head>
+ <body>
+ <span id="1">
+ This is a hippoptamus:
+ <img src="hippo.png" alt="Hippo in the Chobe River"/>
+ .
+ </span>
+ <span id="2">
+ This is an elephant:
+ <img src="elephants.png" alt="Elephants taking a mud bath"/>
+ .
+ </span>
+ <span id="DisableInfo">The {0} has been disabled.</span>
+ </body>
+ </html>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8htmlrules.xml
new file mode 100644
index 000000000..7d6c81f1e
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote8htmlrules.xml
@@ -0,0 +1,16 @@
+<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="spanIdParam">DisableInfo</its:param>
+<its:locNoteRule selector="//@alt" locNoteType="description">
+<its:locNote>This text will be displayed over the image.</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule selector="//h:span[@id='1']/h:img/@alt" locNoteType="alert">
+<its:locNote>Do not translate the word "Chobe"</its:locNote>
+</its:locNoteRule>
+<its:locNoteRule locNoteType="alert" selector="//h:span[@id=$spanIdParam]">
+<its:locNote>
+The variable
+{0}
+has three possible values: 'printer', 'stacker' and 'stapler options'.
+</its:locNote>
+</its:locNoteRule>
+</its:rules>
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote9html.html b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote9html.html
new file mode 100644
index 000000000..9adbbcd23
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/localizationnote/html/locnote9html.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="locnoteparam">DisableInfo</its:param>
+ <its:locNoteRule locNoteType="alert" selector="//h:p[@id=$locnoteparam]">
+ <its:locNote>The variable {0} has three possible values: 'printer',
+ 'stacker' and 'stapler options'.</its:locNote>
+ </its:locNoteRule>
+ </its:rules>
+</script>
+ <meta charset=utf-8>
+ <title>Example</title>
+ </head>
+<body>
+ <p id="DisableInfo">The {0} has been disabled.</p>
+ </body>
+</html>
+