Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255

This commit is contained in:
James Graham 2015-03-27 09:15:38 +00:00
parent b2a5225831
commit 1a81b18b9f
12321 changed files with 544385 additions and 6 deletions

View file

@ -0,0 +1,5 @@
<!doctype html>
<meta charset=utf-8>
<title>valid download</title>
<a download>foo</a><!-- empty download -->
<a download=baz>foo</a><!-- arbitrary value for download -->

View file

@ -0,0 +1,92 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid href</title>
<a href="file:///"></a><!-- scheme-file-slash-slash-slash-only -->
<a href="http://a:@www.example.com"></a><!-- userinfo-password-empty -->
<a href="foo://///////"></a><!-- scheme-private-path-leading-slashes-only -->
<a href="file://abc|/foo/bar"></a><!-- scheme-file-slash-slash-abc-bar -->
<a href="/a/b/c"></a><!-- path-simple-relative -->
<a href="http://example.com/你好你好"></a><!-- path-unicode-han -->
<a href="/a/%2f/c"></a><!-- path-percent-encoded-slash-plus-slashes-relative -->
<a href="http://f:/c"></a><!-- port-none-but-colon -->
<a href="http://example.com/foo%41%7a"></a><!-- path-percent-encoded-multiple -->
<a href="http://192.168.0.257/"></a><!-- host-IP-address-broken -->
<a href="madeupscheme:example.com/"></a><!-- scheme-private-no-slash -->
<a href="?"></a><!-- query-empty-no-path-relative -->
<a href="http://example.com/%20foo"></a><!-- path-percent-encoded-space -->
<a href="mailto:/example.com/"></a><!-- scheme-mailto-single-slash -->
<a href="::"></a><!-- path-leading-colon-colon-relative -->
<a href="http://example.com/%3A%3a%3C%3c"></a><!-- path-percent-encoded-mixed-case -->
<a href="http://user:pass@foo:21/bar;par?b#c"></a><!-- userinfo -->
<a href="ws:/example.com/"></a><!-- scheme-ws-single-slash -->
<a href="foo://"></a><!-- scheme-private-slash-slash -->
<a href="#"></a><!-- fragment-empty-hash-only-no-path-relative -->
<a href="http://f:00000000000000/c"></a><!-- port-00000000000000 -->
<a href="foo:////://///"></a><!-- scheme-private-path-leading-slashes-colon-slashes -->
<a href=":23"></a><!-- path-leading-colon-number-relative -->
<a href="foo:/"></a><!-- scheme-private-slash -->
<a href="http://💩"></a><!-- host-is-pile-of-poo -->
<a href="file:test"></a><!-- scheme-file-no-slash -->
<a href="file://C|/foo/bar"></a><!-- scheme-file-slash-slash-c-bar -->
<a href="#/"></a><!-- fragment-slash-relative -->
<a href="http://192.0x00A80001"></a><!-- host-192.0x00A80001 -->
<a href="foo.com"></a><!-- scheme-none-relative -->
<a href="http💩//:foo"></a><!-- path-contains-pile-of-poo -->
<a href="File://foo/bar.html"></a><!-- scheme-file-uppercase -->
<a href=":/"></a><!-- path-leading-colon-slash-relative -->
<a href="http://www.foo。bar.com"></a><!-- host-exotic-dot -->
<a href="http://GOOgoo.com"></a><!-- host-exotic-whitespace -->
<a href="file:///foo/bar.txt"></a><!-- scheme-file-host-empty -->
<a href="javascript:/example.com/"></a><!-- scheme-javascript-single-slash -->
<a href="gopher:/example.com/"></a><!-- scheme-gopher-single-slash -->
<a href="ftps:example.com/"></a><!-- scheme-ftps-no-slash -->
<a href="file://server/foo/bar"></a><!-- scheme-file-host-included -->
<a href="http://example.com/foo%00"></a><!-- path-percent-encoded-u0000 -->
<a href="a:foo.com"></a><!-- scheme-private -->
<a href=":"></a><!-- path-colon-relative -->
<a href="http://:b@www.example.com"></a><!-- userinfo-user-empty -->
<a href="file:/"></a><!-- scheme-file-slash-only -->
<a href="wss:example.com/"></a><!-- scheme-wss-no-slash -->
<a href="::23"></a><!-- path-colon-colon-number-relative -->
<a href="/a%2fc"></a><!-- path-percent-encoded-slash-relative -->
<a href="http://a:b@c:29/d"></a><!-- userinfo-host-port-path -->
<a href="gopher:example.com/"></a><!-- scheme-gopher-no-slash -->
<a href="madeupscheme:/example.com/"></a><!-- scheme-private-single-slash -->
<a href="mailto:example.com/"></a><!-- scheme-mailto-no-slash -->
<a href="http://%25DOMAIN:foobar@foodomain.com"></a><!-- userinfo-username-contains-percent-encoded -->
<a href="/:23"></a><!-- path-slash-colon-number-relative -->
<a href="foo://///////bar.com/"></a><!-- scheme-private-path-leading-slashes-chars -->
<a href="http://[2001::1]:80"></a><!-- host-ipv6-port -->
<a href="data:text/plain,foo"></a><!-- scheme-data-no-slash -->
<a href="http://example.com/foo/%2e"></a><!-- path-percent-encoded-dot -->
<a href="file:/example.com/"></a><!-- scheme-file-single-slash -->
<a href="http://example.com/©zbar"></a><!-- path-non-ascii -->
<a href="http://example.com//foo"></a><!-- path-uFEFF -->
<a href="wss:/example.com/"></a><!-- scheme-wss-single-slash -->
<a href="http://foo/abcd#foo?bar"></a><!-- fragment-contains-question-mark -->
<a href=":#"></a><!-- path-leading-colon-hash-relative -->
<a href="http://example.com/foo%91"></a><!-- path-percent-encoded-u0091 -->
<a href="c:/foo"></a><!-- scheme-private-single-letter -->
<a href=":foo.com"></a><!-- path-leading-colon-chars-relative -->
<a href="http://你好你好"></a><!-- host-idn-unicode-han -->
<a href="http://example.com/foo#💩"></a><!-- fragment-contains-pile-of-poo -->
<a href="file:"></a><!-- scheme-file-scheme-only -->
<a href="#β"></a><!-- fragment-non-ascii-relative -->
<a href="foo:/bar.com/"></a><!-- scheme-private-path -->
<a href="http://f:0/c"></a><!-- port-0 -->
<a href="#;?"></a><!-- fragment-semicolon-question-mark-relative -->
<a href="http://.com"></a><!-- host-fullwidth -->
<a href="http://@www.example.com"></a><!-- userinfo-empty -->
<a href="http://example.com//foo//bar"></a><!-- path-u202E-u202D -->
<a href="http://[2001::1]"></a><!-- host-ipv6 -->
<a href="💩http://foo"></a><!-- path-starts-with-pile-of-poo -->
<a href="http://foo/abcd?efgh?ijkl"></a><!-- query-contains-question-mark -->
<a href="//foo/bar"></a><!-- scheme-schemeless-relative -->
<a href="ftps:/example.com/"></a><!-- scheme-ftps-single-slash -->
<a href="http://foo.com:b@d/"></a><!-- userinfo-username-non-alpha -->
<a href=":a"></a><!-- path-leading-colon-letter-relative -->
<a href="/"></a><!-- path-slash-only-relative -->
<a href="http://example.com/foo?💩"></a><!-- query-contains-pile-of-poo -->
<a href="http://f:00000000000000000000080/c"></a><!-- port-00000000000000000000080 -->
<a href="file://"></a><!-- scheme-file-slash-slash-only -->
<a href=""></a><!-- empty-href -->

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: fragment-backslash</title>
<a href="#\"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: fragment-contains-hash</title>
<a href="http://foo/path#f#g"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: fragment-leading-space</title>
<a href="http://f:21/b# e"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-cr</title>
<a href="http://example. org"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-double-percent-encoded</title>
<a href="http://.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-double-percent-encoded-percent-encoded</title>
<a href="http://%ef%bc%85%ef%bc%94%ef%bc%91.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-empty</title>
<a href="http://"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-empty-userinfo-empty</title>
<a href="http://@/www.example.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-empty-with-userinfo</title>
<a href="http://user:pass@/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-hostname-in-brackets</title>
<a href="http://[www.google.com]/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-invalid-unicode</title>
<a href="http://﷐zyx.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-invalid-unicode-percent-encoded</title>
<a href="http://%ef%b7%90zyx.com"></a>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-newline</title>
<a href="http://example.
org"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-space</title>
<a href="http://example .org"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-square-brackets-port-contains-colon</title>
<a href="http://[1::2]:3:4"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-tab</title>
<a href="http://example .org"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-u0000-percent-encoded</title>
<a href="http://.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-u0000-percent-encoded-percent-encoded</title>
<a href="http://%ef%bc%85%ef%bc%90%ef%bc%90.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-bare-percent-sign</title>
<a href="http://example.com/foo%"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-contains-space</title>
<a href="/a/ /c"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-backslash-at-sign</title>
<a href="http://foo.com/\@"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-colon-backslash</title>
<a href=":\"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-colon-chars-backslash</title>
<a href=":foo.com\"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-space</title>
<a href="http://f:21/ b"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-percent-encoded-malformed</title>
<a href="http://example.com/foo/%2e%2"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-relative-square-brackets</title>
<a href="[61:24:74]:98"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-tab</title>
<a href="http://example.com/foo bar"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-trailing-space</title>
<a href="http://f:21/b ?"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-u0091</title>
<a href="http://example.com/foo‘"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-cr</title>
<a href="http://f: /c"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-leading-colon-bracket-colon</title>
<a href="http://2001::1]:80"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-leading-colon</title>
<a href="http://2001::1"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-leading-dash</title>
<a href="http://foo:-80/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-multiple-letters</title>
<a href="http://f:fifty-two/c"></a>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-newline</title>
<a href="http://f:
/c"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-single-letter</title>
<a href="http://f:b/c"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-space</title>
<a href="http://f: /c"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: port-tab</title>
<a href="http://f: /c"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: query-leading-space</title>
<a href="http://f:21/b? d"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: query-trailing-space</title>
<a href="http://f:21/b?d #"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>data:text/html,test#test warning: scheme-data-contains-fragment</title>
<a href="data:text/html,test#test"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-data-single-slash</title>
<a href="data:/example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-backslash</title>
<a href="file:c:\foo\bar.html"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-single-slash-c-bar</title>
<a href="file:/C|/foo/bar"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-file-triple-slash-c-bar</title>
<a href="file:///C|/foo/bar"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-ftp-no-slash</title>
<a href="ftp:example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-ftp-single-slash</title>
<a href="ftp:/example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-http-backslash</title>
<a href="http:\\foo.com\"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-http-no-slash-colon</title>
<a href="http::@c:29"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-http-no-slash</title>
<a href="http:foo.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-http-no-slash-square-bracket</title>
<a href="http:[61:27]/:foo"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-http-single-slash</title>
<a href="http:/example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-https-no-slash</title>
<a href="https:example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-https-single-slash</title>
<a href="https:/example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-javascript-no-slash-malformed</title>
<a href="javascript:example.com/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-trailing-cr</title>
<a href="a: foo.com"></a>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-trailing-newline</title>
<a href="a:
foo.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-trailing-space</title>
<a href="a: foo.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: scheme-trailing-tab</title>
<a href="a: foo.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: userinfo-backslash</title>
<a href="http://a\b:c\d@foo.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: userinfo-password-bad-chars</title>
<a href="http://&a:foo(b]c@d:2/"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: userinfo-password-contains-pile-of-poo</title>
<a href="http://foo:💩@example.com"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: userinfo-username-contains-at-sign</title>
<a href="http://::@c@d:2"></a>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: userinfo-username-contains-pile-of-poo</title>
<a href="http://💩:foo@example.com"></a>

View file

@ -0,0 +1,4 @@
<!doctype html>
<meta charset=utf-8>
<title>anchor element with "media" attribute</title>
<a media=all>foo</a>

View file

@ -0,0 +1,4 @@
<!doctype html>
<meta charset=utf-8>
<title>valid anchor element</title>
<div><a><p>foo</p></a></div><!-- with flow content and flow parent -->

View file

@ -0,0 +1,4 @@
<!doctype html>
<meta charset=utf-8>
<title>anchor with flow content and phrasing parent</title>
<span><a><p>foo</p></a></span>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>invalid empty value for a/@name</title>
<meta charset=utf-8>
</head>
<body>
<a name=''></a>
</body>
</html>

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>&lt;abbr&gt;</title>
</head>
<body>
<!-- is structured inline -->
<p><abbr class="class" lang="en" title=''>text</abbr></p>
<!-- is strictly inline -->
<p><dfn><abbr title="text1" class="class" lang="en">text</abbr></dfn></p>
<!-- can be empty -->
<p>text <abbr title=''></abbr></p>
<p>text <dfn><abbr title=''></abbr></dfn></p>
<!-- can contain interactive -->
<p><abbr title=''><a>text</a></abbr></p>
<p><dfn><abbr title=''><a>text</a></abbr></dfn></p>
<!-- cannot contain structured inline -->
</body>
</html>

View file

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>&lt;abbr&gt;</title>
</head>
<body>
<!-- not a block -->
<abbr>text</abbr>
<!-- cannot contain structured inline -->
<p><abbr><ul><li>text</li></ul></abbr></p>
<!-- cannot contain interactive if parent forbids interactive -->
<p><a><abbr><a>text</a></abbr></a></p>
<p><a><dfn><abbr><a>text</a></abbr></dfn></a></p>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>&lt;address&gt;</title>
</head>
<body>
<!-- is block -->
<address class="class" id="id" lang="en">text</address>
<!-- can contain interactive -->
<address><a>text</a></address>
<!-- cannot contain structured inline -->
<address>text <em>elem</em></address>
</body>
</html>

View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>&lt;address&gt;</title>
</head>
<body>
<!-- is block -->
<address class="class" id="id" lang="en">text</address>
<!-- can contain interactive -->
<address><a>text</a></address>
<!-- cannot contain address inline -->
<address>text <address>elem</address></address>
</body>
</html>

View file

@ -0,0 +1,5 @@
<!doctype html>
<meta charset=utf-8>
<title>valid download</title>
<map name=bar><area download>foo</map><!-- empty download -->
<map name=bar><area download=baz>foo</map><!-- arbitrary value for download -->

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>empty href is valid</title>
<map name=foo><area href="" alt></map>

View file

@ -0,0 +1,91 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid href</title>
<map name=foo><area href="file:///" alt></map><!-- scheme-file-slash-slash-slash-only -->
<map name=foo><area href="http://a:@www.example.com" alt></map><!-- userinfo-password-empty -->
<map name=foo><area href="foo://///////" alt></map><!-- scheme-private-path-leading-slashes-only -->
<map name=foo><area href="file://abc|/foo/bar" alt></map><!-- scheme-file-slash-slash-abc-bar -->
<map name=foo><area href="/a/b/c" alt></map><!-- path-simple-relative -->
<map name=foo><area href="http://example.com/你好你好" alt></map><!-- path-unicode-han -->
<map name=foo><area href="/a/%2f/c" alt></map><!-- path-percent-encoded-slash-plus-slashes-relative -->
<map name=foo><area href="http://f:/c" alt></map><!-- port-none-but-colon -->
<map name=foo><area href="http://example.com/foo%41%7a" alt></map><!-- path-percent-encoded-multiple -->
<map name=foo><area href="http://192.168.0.257/" alt></map><!-- host-IP-address-broken -->
<map name=foo><area href="madeupscheme:example.com/" alt></map><!-- scheme-private-no-slash -->
<map name=foo><area href="?" alt></map><!-- query-empty-no-path-relative -->
<map name=foo><area href="http://example.com/%20foo" alt></map><!-- path-percent-encoded-space -->
<map name=foo><area href="mailto:/example.com/" alt></map><!-- scheme-mailto-single-slash -->
<map name=foo><area href="::" alt></map><!-- path-leading-colon-colon-relative -->
<map name=foo><area href="http://example.com/%3A%3a%3C%3c" alt></map><!-- path-percent-encoded-mixed-case -->
<map name=foo><area href="http://user:pass@foo:21/bar;par?b#c" alt></map><!-- userinfo -->
<map name=foo><area href="ws:/example.com/" alt></map><!-- scheme-ws-single-slash -->
<map name=foo><area href="foo://" alt></map><!-- scheme-private-slash-slash -->
<map name=foo><area href="#" alt></map><!-- fragment-empty-hash-only-no-path-relative -->
<map name=foo><area href="http://f:00000000000000/c" alt></map><!-- port-00000000000000 -->
<map name=foo><area href="foo:////://///" alt></map><!-- scheme-private-path-leading-slashes-colon-slashes -->
<map name=foo><area href=":23" alt></map><!-- path-leading-colon-number-relative -->
<map name=foo><area href="foo:/" alt></map><!-- scheme-private-slash -->
<map name=foo><area href="http://💩" alt></map><!-- host-is-pile-of-poo -->
<map name=foo><area href="file:test" alt></map><!-- scheme-file-no-slash -->
<map name=foo><area href="file://C|/foo/bar" alt></map><!-- scheme-file-slash-slash-c-bar -->
<map name=foo><area href="#/" alt></map><!-- fragment-slash-relative -->
<map name=foo><area href="http://192.0x00A80001" alt></map><!-- host-192.0x00A80001 -->
<map name=foo><area href="foo.com" alt></map><!-- scheme-none-relative -->
<map name=foo><area href="http💩//:foo" alt></map><!-- path-contains-pile-of-poo -->
<map name=foo><area href="File://foo/bar.html" alt></map><!-- scheme-file-uppercase -->
<map name=foo><area href=":/" alt></map><!-- path-leading-colon-slash-relative -->
<map name=foo><area href="http://www.foo。bar.com" alt></map><!-- host-exotic-dot -->
<map name=foo><area href="http://GOOgoo.com" alt></map><!-- host-exotic-whitespace -->
<map name=foo><area href="file:///foo/bar.txt" alt></map><!-- scheme-file-host-empty -->
<map name=foo><area href="javascript:/example.com/" alt></map><!-- scheme-javascript-single-slash -->
<map name=foo><area href="gopher:/example.com/" alt></map><!-- scheme-gopher-single-slash -->
<map name=foo><area href="ftps:example.com/" alt></map><!-- scheme-ftps-no-slash -->
<map name=foo><area href="file://server/foo/bar" alt></map><!-- scheme-file-host-included -->
<map name=foo><area href="http://example.com/foo%00" alt></map><!-- path-percent-encoded-u0000 -->
<map name=foo><area href="a:foo.com" alt></map><!-- scheme-private -->
<map name=foo><area href=":" alt></map><!-- path-colon-relative -->
<map name=foo><area href="http://:b@www.example.com" alt></map><!-- userinfo-user-empty -->
<map name=foo><area href="file:/" alt></map><!-- scheme-file-slash-only -->
<map name=foo><area href="wss:example.com/" alt></map><!-- scheme-wss-no-slash -->
<map name=foo><area href="::23" alt></map><!-- path-colon-colon-number-relative -->
<map name=foo><area href="/a%2fc" alt></map><!-- path-percent-encoded-slash-relative -->
<map name=foo><area href="http://a:b@c:29/d" alt></map><!-- userinfo-host-port-path -->
<map name=foo><area href="gopher:example.com/" alt></map><!-- scheme-gopher-no-slash -->
<map name=foo><area href="madeupscheme:/example.com/" alt></map><!-- scheme-private-single-slash -->
<map name=foo><area href="mailto:example.com/" alt></map><!-- scheme-mailto-no-slash -->
<map name=foo><area href="http://%25DOMAIN:foobar@foodomain.com" alt></map><!-- userinfo-username-contains-percent-encoded -->
<map name=foo><area href="/:23" alt></map><!-- path-slash-colon-number-relative -->
<map name=foo><area href="foo://///////bar.com/" alt></map><!-- scheme-private-path-leading-slashes-chars -->
<map name=foo><area href="http://[2001::1]:80" alt></map><!-- host-ipv6-port -->
<map name=foo><area href="data:text/plain,foo" alt></map><!-- scheme-data-no-slash -->
<map name=foo><area href="http://example.com/foo/%2e" alt></map><!-- path-percent-encoded-dot -->
<map name=foo><area href="file:/example.com/" alt></map><!-- scheme-file-single-slash -->
<map name=foo><area href="http://example.com/©zbar" alt></map><!-- path-non-ascii -->
<map name=foo><area href="http://example.com//foo" alt></map><!-- path-uFEFF -->
<map name=foo><area href="wss:/example.com/" alt></map><!-- scheme-wss-single-slash -->
<map name=foo><area href="http://foo/abcd#foo?bar" alt></map><!-- fragment-contains-question-mark -->
<map name=foo><area href=":#" alt></map><!-- path-leading-colon-hash-relative -->
<map name=foo><area href="http://example.com/foo%91" alt></map><!-- path-percent-encoded-u0091 -->
<map name=foo><area href="c:/foo" alt></map><!-- scheme-private-single-letter -->
<map name=foo><area href=":foo.com" alt></map><!-- path-leading-colon-chars-relative -->
<map name=foo><area href="http://你好你好" alt></map><!-- host-idn-unicode-han -->
<map name=foo><area href="http://example.com/foo#💩" alt></map><!-- fragment-contains-pile-of-poo -->
<map name=foo><area href="file:" alt></map><!-- scheme-file-scheme-only -->
<map name=foo><area href="#β" alt></map><!-- fragment-non-ascii-relative -->
<map name=foo><area href="foo:/bar.com/" alt></map><!-- scheme-private-path -->
<map name=foo><area href="http://f:0/c" alt></map><!-- port-0 -->
<map name=foo><area href="#;?" alt></map><!-- fragment-semicolon-question-mark-relative -->
<map name=foo><area href="http://.com" alt></map><!-- host-fullwidth -->
<map name=foo><area href="http://@www.example.com" alt></map><!-- userinfo-empty -->
<map name=foo><area href="http://example.com//foo//bar" alt></map><!-- path-u202E-u202D -->
<map name=foo><area href="http://[2001::1]" alt></map><!-- host-ipv6 -->
<map name=foo><area href="💩http://foo" alt></map><!-- path-starts-with-pile-of-poo -->
<map name=foo><area href="http://foo/abcd?efgh?ijkl" alt></map><!-- query-contains-question-mark -->
<map name=foo><area href="//foo/bar" alt></map><!-- scheme-schemeless-relative -->
<map name=foo><area href="ftps:/example.com/" alt></map><!-- scheme-ftps-single-slash -->
<map name=foo><area href="http://foo.com:b@d/" alt></map><!-- userinfo-username-non-alpha -->
<map name=foo><area href=":a" alt></map><!-- path-leading-colon-letter-relative -->
<map name=foo><area href="/" alt></map><!-- path-slash-only-relative -->
<map name=foo><area href="http://example.com/foo?💩" alt></map><!-- query-contains-pile-of-poo -->
<map name=foo><area href="http://f:00000000000000000000080/c" alt></map><!-- port-00000000000000000000080 -->
<map name=foo><area href="file://" alt></map><!-- scheme-file-slash-slash-only -->

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: fragment-backslash</title>
<map name=foo><area href="#\" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: fragment-contains-hash</title>
<map name=foo><area href="http://foo/path#f#g" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: fragment-leading-space</title>
<map name=foo><area href="http://f:21/b# e" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-cr</title>
<map name=foo><area href="http://example. org" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-double-percent-encoded</title>
<map name=foo><area href="http://.com" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-double-percent-encoded-percent-encoded</title>
<map name=foo><area href="http://%ef%bc%85%ef%bc%94%ef%bc%91.com" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-empty</title>
<map name=foo><area href="http://" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-empty-userinfo-empty</title>
<map name=foo><area href="http://@/www.example.com" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-empty-with-userinfo</title>
<map name=foo><area href="http://user:pass@/" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-hostname-in-brackets</title>
<map name=foo><area href="http://[www.google.com]/" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-invalid-unicode</title>
<map name=foo><area href="http://﷐zyx.com" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-invalid-unicode-percent-encoded</title>
<map name=foo><area href="http://%ef%b7%90zyx.com" alt></map>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-newline</title>
<map name=foo><area href="http://example.
org" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-space</title>
<map name=foo><area href="http://example .org" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-square-brackets-port-contains-colon</title>
<map name=foo><area href="http://[1::2]:3:4" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-tab</title>
<map name=foo><area href="http://example .org" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-u0000-percent-encoded</title>
<map name=foo><area href="http://.com" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: host-u0000-percent-encoded-percent-encoded</title>
<map name=foo><area href="http://%ef%bc%85%ef%bc%90%ef%bc%90.com" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-bare-percent-sign</title>
<map name=foo><area href="http://example.com/foo%" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-contains-space</title>
<map name=foo><area href="/a/ /c" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-backslash-at-sign</title>
<map name=foo><area href="http://foo.com/\@" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-colon-backslash</title>
<map name=foo><area href=":\" alt></map>

View file

@ -0,0 +1,4 @@
<!DOCTYPE html>
<meta charset=utf-8>
<title>invalid href: path-leading-colon-chars-backslash</title>
<map name=foo><area href=":foo.com\" alt></map>

Some files were not shown because too many files have changed in this diff Show more