diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-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/elementswithintext/html')
6 files changed, 124 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext1html.html b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext1html.html new file mode 100644 index 000000000..d1a0595bd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext1html.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> + <html> + <head> + <meta charset=utf-8> + <link href="withintext1htmlrules.xml" rel="its-rules"/> + <title>Appaloosa</title> + </head> + <body> + <section itemscope> + <h2>keywords</h2> + <span itemprop="keyword">horse</span> + <span itemprop="keyword">appaloosa</span> + </section> + <p itemscope> + The Appaloosa + <cite> + The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho. + </cite> + are rugged horses originally breed by the + <span itemprop="keyword">Nez-Perce</span> + tribe in the US Northwest. + </p> + <p> + They are often characterized by their spotted coats, as shown here: + <img src="appaloosa.png" alt="Appaloosa horses"/> + </p> +<!--footer--> + <p> + Copyright: + <em>Zebulon Inc.</em> + </p> + </body> + </html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext1htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext1htmlrules.xml new file mode 100644 index 000000000..5d49bbcd5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext1htmlrules.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:withinTextRule selector="//h:cite" withinText="nested"/> +</its:rules> + diff --git a/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext2html.html b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext2html.html new file mode 100644 index 000000000..ed7e06095 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext2html.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset=utf-8> + <title>Within text test: Default</title> + </head> + <body> + <p>Text with <span its-within-text="YES">bold</span>.</p> + </body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext3html.html b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext3html.html new file mode 100644 index 000000000..d76f7756b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext3html.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> + <html> + <head> + <meta charset=utf-8> + <link href="withintext3htmlrules.xml" rel="its-rules"/> + <title>Appaloosa</title> + </head> + <body> + <section itemscope> + <h2>keywords</h2> + <span itemprop="firstkeyword">horse</span> + <span itemprop="secondkeyword">appaloosa</span> + </section> + <p itemscope> + The Appaloosa + <cite> + The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho. + </cite> + are rugged horses originally breed by the + <span itemprop="keyword">Nez-Perce</span> + tribe in the US Northwest. + </p> + <p> + They are often characterized by their spotted coats, as shown here: + <img src="appaloosa.png" alt="Appaloosa horses"/> + </p> +<!--footer--> + <p> + Copyright: + <em>Zebulon Inc.</em> + </p> + </body> + </html> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext3htmlrules.xml b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext3htmlrules.xml new file mode 100644 index 000000000..127dea6b7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext3htmlrules.xml @@ -0,0 +1,5 @@ +<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="withinTextParam">firstkeyword</its:param> +<its:withinTextRule selector="//h:cite" withinText="nested"/> +<its:withinTextRule selector="//h:section/h:span[@itemprop=$withinTextParam]" withinText="no"/> +</its:rules> diff --git a/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext4html.html b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext4html.html new file mode 100644 index 000000000..ac41d6b33 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html-its/elementswithintext/html/withintext4html.html @@ -0,0 +1,39 @@ +<!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="withinparam">copyright</its:param> +<its:withinTextRule selector="//h:cite" withinText="nested"/> +<its:withinTextRule selector="//h:p[@id=$withinparam]" withinText="yes"/> +</its:rules> +</script> + <meta charset=utf-8> + <title>Appaloosa</title> + </head> + <body> + <section itemscope> + <h2>keywords</h2> + <span itemprop="keyword">horse</span> + <span itemprop="keyword">appaloosa</span> + </section> + <p itemscope> + The Appaloosa + <cite> + The name comes from "Palouse horse" in reference to the Palouse River in Northern Idaho. + </cite> + are rugged horses originally breed by the + <span itemprop="keyword">Nez-Perce</span> + tribe in the US Northwest. + </p> + <p> + They are often characterized by their spotted coats, as shown here: + <img src="appaloosa.png" alt="Appaloosa horses"/> + </p> +<!--footer--> + <p id="copyright"> + Copyright: + <em>Zebulon Inc.</em> + </p> + </body> + </html> |