summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate6xml.xml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate6xml.xml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate6xml.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate6xml.xml b/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate6xml.xml
new file mode 100644
index 0000000000..28bbea14d9
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html-its/translate/xml/translate6xml.xml
@@ -0,0 +1,19 @@
+<doc xmlns:its="http://www.w3.org/2005/11/its" its:version="2.0">
+ <head>
+ <its:rules version="2.0">
+ <its:translateRule selector="//*" translate="no"/>
+ <its:translateRule selector="//p" translate="yes"/>
+ </its:rules>
+ </head>
+ <info>
+ <item type="title" its:translate="yes">The Life of a <b>Simple Man</b></item>
+ <!-- Note that the contents of <b> and <span> should end up
+ *not* translatable with these settings -->
+ <item type="date-main">Dec-05-2006</item>
+ </info>
+ <content>
+ <p>Everything started when Zebulon discovered that he had
+ a <span>doppelgänger</span> who was a
+ serious baseball <span>aficionado</span>.</p>
+ </content>
+</doc>