diff options
author | Ms2ger <Ms2ger@gmail.com> | 2015-11-30 10:23:39 +0100 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2015-11-30 13:44:18 +0100 |
commit | 3bbee99cdb3bbcc322aedc5579c866deb8769188 (patch) | |
tree | 613a534cce47e348811e3e4d7056724aa52db8da | |
parent | 6bb495338bc5dd2ce4e66ca5e0e69b0016319f07 (diff) | |
download | servo-3bbee99cdb3bbcc322aedc5579c866deb8769188.tar.gz servo-3bbee99cdb3bbcc322aedc5579c866deb8769188.zip |
Update web-platform-tests to revision a3b0fadc7f5001bbe52c65e0a354c454981423a3
29 files changed, 730 insertions, 4 deletions
diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index ee3bfd0fecd..c244304742d 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -4290,6 +4290,66 @@ "url": "/html/rendering/non-replaced-elements/flow-content-0/figure.html" }, { + "path": "html/rendering/non-replaced-elements/lists/li-type-supported.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-supported.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/li-type-supported.xhtml", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml" + }, + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html" + }, + { "path": "html/rendering/non-replaced-elements/lists/ol-type-supported.html", "references": [ [ @@ -4400,6 +4460,76 @@ "url": "/html/rendering/non-replaced-elements/lists/ol-type-unsupported-upper-roman.html" }, { + "path": "html/rendering/non-replaced-elements/lists/ul-type-supported.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-supported.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml" + }, + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html" + }, + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html" + }, + { "path": "html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a.html", "references": [ [ @@ -16362,6 +16492,10 @@ "url": "/html/semantics/document-metadata/the-link-element/link-style-error-01.html" }, { + "path": "html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html", + "url": "/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html" + }, + { "path": "html/semantics/document-metadata/the-meta-element/the-lang-attribute-012.html", "url": "/html/semantics/document-metadata/the-meta-element/the-lang-attribute-012.html" }, @@ -26306,6 +26440,14 @@ "url": "/url/a-element.xhtml" }, { + "path": "url/historical.html", + "url": "/url/historical.html" + }, + { + "path": "url/historical.worker.js", + "url": "/url/historical.worker" + }, + { "path": "url/interfaces.html", "url": "/url/interfaces.html" }, @@ -31743,6 +31885,78 @@ "url": "/html/rendering/non-replaced-elements/flow-content-0/figure.html" } ], + "html/rendering/non-replaced-elements/lists/li-type-supported.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/li-type-supported.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-supported.html" + } + ], + "html/rendering/non-replaced-elements/lists/li-type-supported.xhtml": [ + { + "path": "html/rendering/non-replaced-elements/lists/li-type-supported.xhtml", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml" + } + ], + "html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html" + } + ], + "html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html" + } + ], + "html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html" + } + ], + "html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html" + } + ], "html/rendering/non-replaced-elements/lists/ol-type-supported.html": [ { "path": "html/rendering/non-replaced-elements/lists/ol-type-supported.html", @@ -31875,6 +32089,90 @@ "url": "/html/rendering/non-replaced-elements/lists/ol-type-unsupported-upper-roman.html" } ], + "html/rendering/non-replaced-elements/lists/ul-type-supported.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-supported.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-supported.html" + } + ], + "html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml" + } + ], + "html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html" + } + ], + "html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html" + } + ], + "html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html" + } + ], + "html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html" + } + ], + "html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html": [ + { + "path": "html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html", + "references": [ + [ + "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html", + "==" + ] + ], + "url": "/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html" + } + ], "html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a.html": [ { "path": "html/rendering/non-replaced-elements/phrasing-content-0/font-element-text-decoration-color/001-a.html", @@ -35548,7 +35846,7 @@ } ] }, - "rev": "ee40b886c701ffa25a673240cabdedd59ee3ace4", + "rev": "a3b0fadc7f5001bbe52c65e0a354c454981423a3", "url_base": "/", "version": 2 } diff --git a/tests/wpt/metadata/html/rendering/non-replaced-elements/lists/li-type-supported.html.ini b/tests/wpt/metadata/html/rendering/non-replaced-elements/lists/li-type-supported.html.ini new file mode 100644 index 00000000000..1f631a1d1b8 --- /dev/null +++ b/tests/wpt/metadata/html/rendering/non-replaced-elements/lists/li-type-supported.html.ini @@ -0,0 +1,3 @@ +[li-type-supported.html] + type: reftest + expected: FAIL diff --git a/tests/wpt/metadata/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml.ini b/tests/wpt/metadata/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml.ini new file mode 100644 index 00000000000..443d0580876 --- /dev/null +++ b/tests/wpt/metadata/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml.ini @@ -0,0 +1,3 @@ +[li-type-supported.xhtml] + type: reftest + expected: FAIL diff --git a/tests/wpt/metadata/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html.ini b/tests/wpt/metadata/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html.ini new file mode 100644 index 00000000000..42df03935bb --- /dev/null +++ b/tests/wpt/metadata/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html.ini @@ -0,0 +1,3 @@ +[parsing.html] + type: testharness + disabled: https://github.com/servo/servo/issues/8749 diff --git a/tests/wpt/metadata/mozilla-sync b/tests/wpt/metadata/mozilla-sync index fcb3354f713..eafedaf5aae 100644 --- a/tests/wpt/metadata/mozilla-sync +++ b/tests/wpt/metadata/mozilla-sync @@ -1 +1 @@ -a00f2d6310f42d641151d8aa46aef53338e568cc
\ No newline at end of file +ae2754c1700e2617058a8c276b5bc82684d4ee60
\ No newline at end of file diff --git a/tests/wpt/metadata/url/url-constructor.html.ini b/tests/wpt/metadata/url/url-constructor.html.ini index 549c68258ad..ffab6e42a74 100644 --- a/tests/wpt/metadata/url/url-constructor.html.ini +++ b/tests/wpt/metadata/url/url-constructor.html.ini @@ -164,3 +164,4 @@ [Parsing: <sc://ñ.test/> against <about:blank>] expected: FAIL + diff --git a/tests/wpt/mozilla/meta/css/iframe/size_attributes_vertical_writing_mode.html.ini b/tests/wpt/mozilla/meta/css/iframe/size_attributes_vertical_writing_mode.html.ini index 6b6f0d62fe0..b7fd0e36dd6 100644 --- a/tests/wpt/mozilla/meta/css/iframe/size_attributes_vertical_writing_mode.html.ini +++ b/tests/wpt/mozilla/meta/css/iframe/size_attributes_vertical_writing_mode.html.ini @@ -1,3 +1,3 @@ prefs: [layout.writing-mode.enabled:true] -[viewport_meta.html] +[size_attributes_vertical_writing_mode.html] type: reftest diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html new file mode 100644 index 00000000000..3e76576f76c --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported-ref.html @@ -0,0 +1,45 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: supported types</title> +<style> + .decimal { list-style-type: decimal; } + .lower-alpha { list-style-type: lower-alpha; } + .upper-alpha { list-style-type: upper-alpha; } + .lower-roman { list-style-type: lower-roman; } + .upper-roman { list-style-type: upper-roman; } + .disc { list-style-type: disc; } + .circle { list-style-type: circle; } + .square { list-style-type: square; } + .none { list-style-type: none; } +</style> +<li class="decimal">first item</li> +<li class="lower-alpha">second item</li> +<li class="upper-alpha">third item</li> +<li class="lower-roman">fourth item</li> +<li class="upper-roman">fifth item</li> +<li class="disc">sixth item</li> +<li class="circle">seventh item</li> +<li class="square">eigth item</li> +<li class="none">ninth item</li> +<ol> + <li class="decimal">first ordered item</li> + <li class="lower-alpha">second ordered item</li> + <li class="upper-alpha">third ordered item</li> + <li class="lower-roman">fourth ordered item</li> + <li class="upper-roman">fifth ordered item</li> + <li class="disc">sixth ordered item</li> + <li class="circle">seventh ordered item</li> + <li class="square">eigth ordered item</li> + <li class="none">ninth ordered item</li> +</ol> +<ul> + <li class="decimal">first unordered item</li> + <li class="lower-alpha">second unordered item</li> + <li class="upper-alpha">third unordered item</li> + <li class="lower-roman">fourth unordered item</li> + <li class="upper-roman">fifth unordered item</li> + <li class="disc">sixth unordered item</li> + <li class="circle">seventh unordered item</li> + <li class="square">eigth unordered item</li> + <li class="none">ninth unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported.html new file mode 100644 index 00000000000..0fe85bd0492 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported.html @@ -0,0 +1,35 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: supported types</title> +<link rel=match href=li-type-supported-ref.html> +<li type=1>first item</li> +<li type=a>second item</li> +<li type=A>third item</li> +<li type=i>fourth item</li> +<li type=I>fifth item</li> +<li type=disc>sixth item</li> +<li type=circle>seventh item</li> +<li type=square>eigth item</li> +<li type=none>ninth item</li> +<ol> + <li type=1>first ordered item</li> + <li type=a>second ordered item</li> + <li type=A>third ordered item</li> + <li type=i>fourth ordered item</li> + <li type=I>fifth ordered item</li> + <li type=disc>sixth ordered item</li> + <li type=circle>seventh ordered item</li> + <li type=square>eigth ordered item</li> + <li type=none>ninth ordered item</li> +</ol> +<ul> + <li type=1>first unordered item</li> + <li type=a>second unordered item</li> + <li type=A>third unordered item</li> + <li type=i>fourth unordered item</li> + <li type=I>fifth unordered item</li> + <li type=disc>sixth unordered item</li> + <li type=circle>seventh unordered item</li> + <li type=square>eigth unordered item</li> + <li type=none>ninth unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml new file mode 100644 index 00000000000..69f96e894bf --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-supported.xhtml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>li@type: supported types</title> +<link rel="match" href="li-type-supported-ref.html"/> +</head> +<body> +<li type="1">first item</li> +<li type="a">second item</li> +<li type="A">third item</li> +<li type="i">fourth item</li> +<li type="I">fifth item</li> +<li type="disc">sixth item</li> +<li type="circle">seventh item</li> +<li type="square">eigth item</li> +<li type="none">ninth item</li> +<ol> + <li type="1">first ordered item</li> + <li type="a">second ordered item</li> + <li type="A">third ordered item</li> + <li type="i">fourth ordered item</li> + <li type="I">fifth ordered item</li> + <li type="disc">sixth ordered item</li> + <li type="circle">seventh ordered item</li> + <li type="square">eigth ordered item</li> + <li type="none">ninth ordered item</li> +</ol> +<ul> + <li type="1">first unordered item</li> + <li type="a">second unordered item</li> + <li type="A">third unordered item</li> + <li type="i">fourth unordered item</li> + <li type="I">fifth unordered item</li> + <li type="disc">sixth unordered item</li> + <li type="circle">seventh unordered item</li> + <li type="square">eigth unordered item</li> + <li type="none">ninth unordered item</li> +</ul> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html new file mode 100644 index 00000000000..81babe78885 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-alpha.html @@ -0,0 +1,14 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: unsupported type: lower-alpha</title> +<link rel=match href=li-type-unsupported-ref.html> +<li type=lower-alpha>first item</li> +<li type=LOWER-ALPHA>second item</li> +<ol> + <li type=lower-alpha>first ordered item</li> + <li type=LOWER-ALPHA>second ordered item</li> +</ol> +<ul> + <li type=lower-alpha>first unordered item</li> + <li type=LOWER-ALPHA>second unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html new file mode 100644 index 00000000000..e01cfdb72d9 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-lower-roman.html @@ -0,0 +1,14 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: unsupported type: lower-roman</title> +<link rel=match href=li-type-unsupported-ref.html> +<li type=lower-roman>first item</li> +<li type=LOWER-ROMAN>second item</li> +<ol> + <li type=lower-roman>first ordered item</li> + <li type=LOWER-ROMAN>second ordered item</li> +</ol> +<ul> + <li type=lower-roman>first unordered item</li> + <li type=LOWER-ROMAN>second unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html new file mode 100644 index 00000000000..4fbc5aca974 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-ref.html @@ -0,0 +1,13 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: unsupported types</title> +<li>first item</li> +<li>second item</li> +<ol> + <li>first ordered item</li> + <li>second ordered item</li> +</ol> +<ul> + <li>first unordered item</li> + <li>second unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html new file mode 100644 index 00000000000..2efb65dbda4 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-alpha.html @@ -0,0 +1,14 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: unsupported type: upper-alpha</title> +<link rel=match href=li-type-unsupported-ref.html> +<li type=upper-alpha>first item</li> +<li type=UPPER-ALPHA>second item</li> +<ol> + <li type=upper-alpha>first ordered item</li> + <li type=UPPER-ALPHA>second ordered item</li> +</ol> +<ul> + <li type=upper-alpha>first unordered item</li> + <li type=UPPER-ALPHA>second unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html new file mode 100644 index 00000000000..bd8dafc9c25 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/li-type-unsupported-upper-roman.html @@ -0,0 +1,14 @@ +<!doctype html> +<meta charset=utf-8> +<title>li@type: unsupported type: upper-roman</title> +<link rel=match href=li-type-unsupported-ref.html> +<li type=upper-roman>first item</li> +<li type=UPPER-ROMAN>second item</li> +<ol> + <li type=upper-roman>first ordered item</li> + <li type=UPPER-ROMAN>second ordered item</li> +</ol> +<ul> + <li type=upper-roman>first unordered item</li> + <li type=UPPER-ROMAN>second unordered item</li> +</ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html new file mode 100644 index 00000000000..59a0400cc80 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported-ref.html @@ -0,0 +1,21 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: supported types</title> +<style> +.disc { + list-style-type: disc; +} +.circle { + list-style-type: circle; +} +.square { + list-style-type: square; +} +.none { + list-style-type: none; +} +</style> +<ul class="disc"><li>first disc</li><li>second disc</li></ul> +<ul class="circle"><li>first circle</li><li>second circle</li></ul> +<ul class="square"><li>first square</li><li>second square</li></ul> +<ul class="none"><li>first none</li><li>second none</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported.html new file mode 100644 index 00000000000..c2449d7acde --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported.html @@ -0,0 +1,8 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: supported types</title> +<link rel=match href=ul-type-supported-ref.html> +<ul type=disc><li>first disc</li><li>second disc</li></ul> +<ul type=circle><li>first circle</li><li>second circle</li></ul> +<ul type=square><li>first square</li><li>second square</li></ul> +<ul type=none><li>first none</li><li>second none</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml new file mode 100644 index 00000000000..a2e5e0bbf65 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-supported.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>ul@type: supported types</title> +<link rel="match" href="ul-type-supported-ref.html"/> +</head> +<body> +<ul type="disc"><li>first disc</li><li>second disc</li></ul> +<ul type="circle"><li>first circle</li><li>second circle</li></ul> +<ul type="square"><li>first square</li><li>second square</li></ul> +<ul type="none"><li>first none</li><li>second none</li></ul> +</body> +</html> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html new file mode 100644 index 00000000000..0fb0e14abbd --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-decimal.html @@ -0,0 +1,7 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: unsupported type: decimal</title> +<link rel=match href=ul-type-unsupported-ref.html> +<ul type=decimal><li>first item</li><li>second item</li></ul> +<ul type=DECIMAL><li>first item</li><li>second item</li></ul> +<ul type=1><li>first item</li><li>second item</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html new file mode 100644 index 00000000000..f31cc247ca0 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-alpha.html @@ -0,0 +1,7 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: unsupported type: lower-alpha</title> +<link rel=match href=ul-type-unsupported-ref.html> +<ul type=lower-alpha><li>first item</li><li>second item</li></ul> +<ul type=LOWER-ALPHA><li>first item</li><li>second item</li></ul> +<ul type=a><li>first item</li><li>second item</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html new file mode 100644 index 00000000000..bd86861c9d1 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-lower-roman.html @@ -0,0 +1,7 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: unsupported type: lower-roman</title> +<link rel=match href=ul-type-unsupported-ref.html> +<ul type=lower-roman><li>first item</li><li>second item</li></ul> +<ul type=LOWER-ROMAN><li>first item</li><li>second item</li></ul> +<ul type=i><li>first item</li><li>second item</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html new file mode 100644 index 00000000000..c53fe947f24 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-ref.html @@ -0,0 +1,6 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: unsupported types</title> +<ul><li>first item</li><li>second item</li></ul> +<ul><li>first item</li><li>second item</li></ul> +<ul><li>first item</li><li>second item</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html new file mode 100644 index 00000000000..3f880f1dcdf --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-alpha.html @@ -0,0 +1,7 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: unsupported type: upper-alpha</title> +<link rel=match href=ul-type-unsupported-ref.html> +<ul type=upper-alpha><li>first item</li><li>second item</li></ul> +<ul type=UPPER-ALPHA><li>first item</li><li>second item</li></ul> +<ul type=A><li>first item</li><li>second item</li></ul> diff --git a/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html new file mode 100644 index 00000000000..d7f1295d633 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/rendering/non-replaced-elements/lists/ul-type-unsupported-upper-roman.html @@ -0,0 +1,7 @@ +<!doctype html> +<meta charset=utf-8> +<title>ul@type: unsupported type: upper-roman</title> +<link rel=match href=ul-type-unsupported-ref.html> +<ul type=upper-roman><li>first item</li><li>second item</li></ul> +<ul type=UPPER-ROMAN><li>first item</li><li>second item</li></ul> +<ul type=I><li>first item</li><li>second item</li></ul> diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html new file mode 100644 index 00000000000..2fea270d248 --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/parsing.html @@ -0,0 +1,112 @@ +<!doctype html> +<meta charset=utf-8> +<title>Parsing of meta refresh</title> +<script src=/resources/testharness.js></script> +<script src=/resources/testharnessreport.js></script> +<style> +iframe { display:none } +</style> +<body> +<script> + +// failure to parse is [] +// success to parse is [time, url] where url is unresolved + +var tests_arr = [ + {input: '', expected: []}, + {input: '1', expected: [1, 'refresh.sub.html']}, + {input: '1 ', expected: [1, 'refresh.sub.html']}, + {input: '1\t', expected: [1, 'refresh.sub.html']}, + {input: '1\r', expected: [1, 'refresh.sub.html']}, + {input: '1\n', expected: [1, 'refresh.sub.html']}, + {input: '1\f', expected: [1, 'refresh.sub.html']}, + {input: '1;', expected: [1, 'refresh.sub.html']}, + {input: '1,', expected: [1, 'refresh.sub.html']}, + {input: '1; url=foo', expected: [1, 'foo']}, + {input: '1, url=foo', expected: [1, 'foo']}, + {input: '1 url=foo', expected: [1, 'foo']}, + {input: '1;\turl=foo', expected: [1, 'foo']}, + {input: '1,\turl=foo', expected: [1, 'foo']}, + {input: '1\turl=foo', expected: [1, 'foo']}, + {input: '1;\rurl=foo', expected: [1, 'foo']}, + {input: '1,\rurl=foo', expected: [1, 'foo']}, + {input: '1\rurl=foo', expected: [1, 'foo']}, + {input: '1;\nurl=foo', expected: [1, 'foo']}, + {input: '1,\nurl=foo', expected: [1, 'foo']}, + {input: '1\nurl=foo', expected: [1, 'foo']}, + {input: '1;\furl=foo', expected: [1, 'foo']}, + {input: '1,\furl=foo', expected: [1, 'foo']}, + {input: '1\furl=foo', expected: [1, 'foo']}, + {input: '1url=foo', expected: []}, + {input: '1x;url=foo', expected: []}, + {input: '1 x;url=foo', expected: [1, 'x;url=foo']}, + {input: '1;;url=foo', expected: [1, ';url=foo']}, + {input: ' 1 ; url = foo', expected: [1, 'foo']}, + {input: ' 1 , url = foo', expected: [1, 'foo']}, + {input: ' 1 ; foo', expected: [1, 'foo']}, + {input: ' 1 , foo', expected: [1, 'foo']}, + {input: ' 1 url = foo', expected: [1, 'foo']}, + {input: '1; url=foo ', expected: [1, 'foo']}, + {input: '1; url=f\to\no', expected: [1, 'foo']}, + {input: '1; url="foo"bar', expected: [1, 'foo']}, + {input: '1; url=\'foo\'bar', expected: [1, 'foo']}, + {input: '1; url="foo\'bar', expected: [1, 'foo\'bar']}, + {input: '1; url foo', expected: [1, 'url foo']}, + {input: '1; urlfoo', expected: [1, 'urlfoo']}, + {input: '1; urfoo', expected: [1, 'urfoo']}, + {input: '1; ufoo', expected: [1, 'ufoo']}, + {input: '1; "foo"bar', expected: [1, 'foo']}, + {input: '; foo', expected: []}, + {input: ', foo', expected: []}, + {input: 'foo', expected: []}, + {input: '+1; url=foo', expected: []}, + {input: '-1; url=foo', expected: []}, + {input: '+0; url=foo', expected: []}, + {input: '-0; url=foo', expected: []}, + {input: '0; url=foo', expected: [0, 'foo']}, + {input: '+1; foo', expected: []}, + {input: '-1; foo', expected: []}, + {input: '+0; foo', expected: []}, + {input: '-0; foo', expected: []}, + {input: '0; foo', expected: [0, 'foo']}, + {input: '+1', expected: []}, + {input: '-1', expected: []}, + {input: '+0', expected: []}, + {input: '-0', expected: []}, + {input: '0', expected: [0, 'refresh.sub.html']}, + {input: '1.9; url=foo', expected: [1, 'foo']}, + {input: '1.9..5.; url=foo', expected: [1, 'foo']}, + {input: '.9; url=foo', expected: []}, +]; + +tests_arr.forEach(function(test_obj) { + async_test(function(t) { + var iframe = document.createElement('iframe'); + t.add_cleanup(function() { + document.body.removeChild(iframe); + }); + iframe.src = 'support/refresh.sub.html?input=' + encodeURIComponent(test_obj.input); + document.body.appendChild(iframe); + var loadCount = 0; + iframe.onload = t.step_func(function() { + loadCount++; + if (test_obj.expected.length === 0) { + assert_equals(iframe.contentDocument.body.textContent, 'no redirect\n'); + if (loadCount === 1) { + setTimeout(function() { + t.done(); + }, 3000); // want to make sure it doesn't redirect when it shouldn't + } else { + assert_unreached('Got > 1 load events'); + } + } else { + if (loadCount === 2) { + var path = iframe.contentWindow.location.pathname; + assert_equals(decodeURIComponent(path.substr(path.lastIndexOf('/') + 1)), test_obj.expected[1]); + t.done(); + } + } + }); + }, format_value(test_obj.input)); +}); +</script> diff --git a/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/support/refresh.sub.html b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/support/refresh.sub.html new file mode 100644 index 00000000000..aaee1d026aa --- /dev/null +++ b/tests/wpt/web-platform-tests/html/semantics/document-metadata/the-meta-element/pragma-directives/attr-meta-http-equiv-refresh/support/refresh.sub.html @@ -0,0 +1 @@ +<!doctype html><meta http-equiv=refresh content="{{GET[input]}}">no redirect diff --git a/tests/wpt/web-platform-tests/lint.whitelist b/tests/wpt/web-platform-tests/lint.whitelist index 57d307454f8..8a06164cefa 100644 --- a/tests/wpt/web-platform-tests/lint.whitelist +++ b/tests/wpt/web-platform-tests/lint.whitelist @@ -108,4 +108,8 @@ PARSE-FAILED:content-security-policy/svg/including.sub.svg #Helper files that aren't valid XML PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/empty.xml -PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xml
\ No newline at end of file +PARSE-FAILED:dom/nodes/Document-createElement-namespace-tests/minimal_html.xml + +# Git submodules are not currently scanned +*:tools/* +*:resources/* diff --git a/tests/wpt/web-platform-tests/url/historical.html b/tests/wpt/web-platform-tests/url/historical.html new file mode 100644 index 00000000000..41f359d3d67 --- /dev/null +++ b/tests/wpt/web-platform-tests/url/historical.html @@ -0,0 +1,21 @@ +<!doctype html> +<meta charset=utf-8> +<title>URL historical tests</title> +<script src=/resources/testharness.js></script> +<script src=/resources/testharnessreport.js></script> +<div id=log></div> +<script> +var objects = [ + [function() { return window.location }, "location object"], + [function() { return document.createElement("a") }, "a element"], + [function() { return document.createElement("area") }, "area element"], +]; + +objects.forEach(function(o) { + test(function() { + var object = o[0](); + assert_false("searchParams" in object, + o[1] + " should not have a searchParams attribute"); + }, "searchParams on " + o[1]); +}); +</script> diff --git a/tests/wpt/web-platform-tests/url/historical.worker.js b/tests/wpt/web-platform-tests/url/historical.worker.js new file mode 100644 index 00000000000..4fcba6c90ee --- /dev/null +++ b/tests/wpt/web-platform-tests/url/historical.worker.js @@ -0,0 +1,8 @@ +importScripts("/resources/testharness.js"); + +test(function() { + assert_false("searchParams" in self.location, + "location object should not have a searchParams attribute"); +}, "searchParams on location object"); + +done(); |