diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/area')
71 files changed, 450 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/download-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/download-isvalid.html new file mode 100644 index 0000000000..12a881fc6e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/download-isvalid.html @@ -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 --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href-empty-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href-empty-isvalid.html new file mode 100644 index 0000000000..06fd9ac77c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href-empty-isvalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>empty href is valid</title> +<map name=foo><area href="" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href-isvalid.html new file mode 100644 index 0000000000..20c2b3ddf2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href-isvalid.html @@ -0,0 +1,91 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>valid href</title> +<map name=foo><area href="a:foo.com" alt></map><!-- scheme-private --> +<map name=foo><area href="foo:/" alt></map><!-- scheme-private-slash --> +<map name=foo><area href="foo://" alt></map><!-- scheme-private-slash-slash --> +<map name=foo><area href="foo:/bar.com/" alt></map><!-- scheme-private-path --> +<map name=foo><area href="foo://///////" alt></map><!-- scheme-private-path-leading-slashes-only --> +<map name=foo><area href="foo://///////bar.com/" alt></map><!-- scheme-private-path-leading-slashes-chars --> +<map name=foo><area href="foo:////://///" alt></map><!-- scheme-private-path-leading-slashes-colon-slashes --> +<map name=foo><area href="c:/foo" alt></map><!-- scheme-private-single-letter --> +<map name=foo><area href="madeupscheme:/example.com/" alt></map><!-- scheme-private-single-slash --> +<map name=foo><area href="file:/example.com/" alt></map><!-- scheme-file-single-slash --> +<map name=foo><area href="ftps:/example.com/" alt></map><!-- scheme-ftps-single-slash --> +<map name=foo><area href="gopher:/example.com/" alt></map><!-- scheme-gopher-single-slash --> +<map name=foo><area href="ws:/example.com/" alt></map><!-- scheme-ws-single-slash --> +<map name=foo><area href="wss:/example.com/" alt></map><!-- scheme-wss-single-slash --> +<map name=foo><area href="javascript:/example.com/" alt></map><!-- scheme-javascript-single-slash --> +<map name=foo><area href="mailto:/example.com/" alt></map><!-- scheme-mailto-single-slash --> +<map name=foo><area href="madeupscheme:example.com/" alt></map><!-- scheme-private-no-slash --> +<map name=foo><area href="ftps:example.com/" alt></map><!-- scheme-ftps-no-slash --> +<map name=foo><area href="gopher:example.com/" alt></map><!-- scheme-gopher-no-slash --> +<map name=foo><area href="wss:example.com/" alt></map><!-- scheme-wss-no-slash --> +<map name=foo><area href="mailto:example.com/" alt></map><!-- scheme-mailto-no-slash --> +<map name=foo><area href="data:text/plain,foo" alt></map><!-- scheme-data-no-slash --> +<map name=foo><area href="http://user:pass@foo:21/bar;par?b#c" alt></map><!-- userinfo --> +<map name=foo><area href="http://[2001::1]" alt></map><!-- host-ipv6 --> +<map name=foo><area href="http://[2001::1]:80" alt></map><!-- host-ipv6-port --> +<map name=foo><area href="http://f:/c" alt></map><!-- port-none-but-colon --> +<map name=foo><area href="http://f:0/c" alt></map><!-- port-0 --> +<map name=foo><area href="http://f:00000000000000/c" alt></map><!-- port-00000000000000 --> +<map name=foo><area href="http://f:00000000000000000000080/c" alt></map><!-- port-00000000000000000000080 --> +<map name=foo><area href="http://a:b@c:29/d" alt></map><!-- userinfo-host-port-path --> +<map name=foo><area href="http://foo.com:b@d/" alt></map><!-- userinfo-username-non-alpha --> +<map name=foo><area href="http://foo/abcd?efgh?ijkl" alt></map><!-- query-contains-question-mark --> +<map name=foo><area href="http://foo/abcd#foo?bar" alt></map><!-- fragment-contains-question-mark --> +<map name=foo><area href="http://example.com/foo/%2e" alt></map><!-- path-percent-encoded-dot --> +<map name=foo><area href="http://example.com/%20foo" alt></map><!-- path-percent-encoded-space --> +<map name=foo><area href="http://example.com/©zbar" alt></map><!-- path-non-ascii --> +<map name=foo><area href="http://example.com/foo%41%7a" alt></map><!-- path-percent-encoded-multiple --> +<map name=foo><area href="http://example.com/foo%91" alt></map><!-- path-percent-encoded-u0091 --> +<map name=foo><area href="http://example.com/foo%00" alt></map><!-- path-percent-encoded-u0000 --> +<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://example.com/你好你好" alt></map><!-- path-unicode-han --> +<map name=foo><area href="http://example.com//foo" alt></map><!-- path-uFEFF --> +<map name=foo><area href="http://example.com//foo//bar" alt></map><!-- path-u202E-u202D --> +<map name=foo><area href="http://💩" alt></map><!-- host-is-pile-of-poo --> +<map name=foo><area href="http💩//:foo" alt></map><!-- path-contains-pile-of-poo --> +<map name=foo><area href="http://example.com/foo?💩" alt></map><!-- query-contains-pile-of-poo --> +<map name=foo><area href="http://example.com/foo#💩" alt></map><!-- fragment-contains-pile-of-poo --> +<map name=foo><area href="http://192.0x00A80001" alt></map><!-- host-192.0x00A80001 --> +<map name=foo><area href="http://%25DOMAIN:foobar@foodomain.com" alt></map><!-- userinfo-username-contains-percent-encoded --> +<map name=foo><area href="http://@www.example.com" alt></map><!-- userinfo-empty --> +<map name=foo><area href="http://:b@www.example.com" alt></map><!-- userinfo-user-empty --> +<map name=foo><area href="http://a:@www.example.com" alt></map><!-- userinfo-password-empty --> +<map name=foo><area href="http://GOOgoo.com" alt></map><!-- host-exotic-whitespace --> +<map name=foo><area href="http://www.foo。bar.com" alt></map><!-- host-exotic-dot --> +<map name=foo><area href="http://Go.com" alt></map><!-- host-fullwidth --> +<map name=foo><area href="http://你好你好" alt></map><!-- host-idn-unicode-han --> +<map name=foo><area href="http://192.168.0.257/" alt></map><!-- host-IP-address-broken --> +<map name=foo><area href="//foo/bar" alt></map><!-- scheme-schemeless-relative --> +<map name=foo><area href="/" alt></map><!-- path-slash-only-relative --> +<map name=foo><area href="/a/b/c" alt></map><!-- path-simple-relative --> +<map name=foo><area href="/a%2fc" alt></map><!-- path-percent-encoded-slash-relative --> +<map name=foo><area href="/a/%2f/c" alt></map><!-- path-percent-encoded-slash-plus-slashes-relative --> +<map name=foo><area href="?" alt></map><!-- query-empty-no-path-relative --> +<map name=foo><area href="#" alt></map><!-- fragment-empty-hash-only-no-path-relative --> +<map name=foo><area href="#/" alt></map><!-- fragment-slash-relative --> +<map name=foo><area href="#;?" alt></map><!-- fragment-semicolon-question-mark-relative --> +<map name=foo><area href="#β" alt></map><!-- fragment-non-ascii-relative --> +<map name=foo><area href="foo.com" alt></map><!-- scheme-none-relative --> +<map name=foo><area href=":" alt></map><!-- path-colon-relative --> +<map name=foo><area href=":a" alt></map><!-- path-leading-colon-letter-relative --> +<map name=foo><area href=":foo.com" alt></map><!-- path-leading-colon-chars-relative --> +<map name=foo><area href=":/" alt></map><!-- path-leading-colon-slash-relative --> +<map name=foo><area href=":#" alt></map><!-- path-leading-colon-hash-relative --> +<map name=foo><area href=":23" alt></map><!-- path-leading-colon-number-relative --> +<map name=foo><area href="/:23" alt></map><!-- path-slash-colon-number-relative --> +<map name=foo><area href="::" alt></map><!-- path-leading-colon-colon-relative --> +<map name=foo><area href="::23" alt></map><!-- path-colon-colon-number-relative --> +<map name=foo><area href="💩http://foo" alt></map><!-- path-starts-with-pile-of-poo --> +<map name=foo><area href="/💩" alt></map><!-- path-slash-pile-of-poo --> +<map name=foo><area href="File://foo/bar.html" alt></map><!-- scheme-file-uppercase --> +<map name=foo><area href="file://C|/foo/bar" alt></map><!-- scheme-file-slash-slash-c-bar --> +<map name=foo><area href="file://server/foo/bar" alt></map><!-- scheme-file-host-included --> +<map name=foo><area href="file:///foo/bar.txt" alt></map><!-- scheme-file-host-empty --> +<map name=foo><area href="file:" alt></map><!-- scheme-file-scheme-only --> +<map name=foo><area href="file:/" alt></map><!-- scheme-file-slash-only --> +<map name=foo><area href="file://" alt></map><!-- scheme-file-slash-slash-only --> +<map name=foo><area href="file:///" alt></map><!-- scheme-file-slash-slash-slash-only --> +<map name=foo><area href="file:test" alt></map><!-- scheme-file-no-slash --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-backslash-novalid.html new file mode 100644 index 0000000000..2c6df4076c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: fragment-backslash</title> +<map name=foo><area href="#\" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-contains-hash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-contains-hash-novalid.html new file mode 100644 index 0000000000..6e785fcf70 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-contains-hash-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-leading-space-novalid.html new file mode 100644 index 0000000000..6d361df80c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/fragment-leading-space-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-cr-novalid.html new file mode 100644 index 0000000000..f5d426039d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-cr-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-double-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-double-percent-encoded-novalid.html new file mode 100644 index 0000000000..b4231d3fcb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-double-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-double-percent-encoded</title> +<map name=foo><area href="http://%41.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-double-percent-encoded-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-double-percent-encoded-percent-encoded-novalid.html new file mode 100644 index 0000000000..98cb2ac4a3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-double-percent-encoded-percent-encoded-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-novalid.html new file mode 100644 index 0000000000..22684d89dc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-empty</title> +<map name=foo><area href="http://" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-userinfo-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-userinfo-empty-novalid.html new file mode 100644 index 0000000000..d29da93602 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-userinfo-empty-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-with-userinfo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-with-userinfo-novalid.html new file mode 100644 index 0000000000..5ca0ed7648 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-empty-with-userinfo-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-hostname-in-brackets-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-hostname-in-brackets-novalid.html new file mode 100644 index 0000000000..c60734adfc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-hostname-in-brackets-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-invalid-unicode-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-invalid-unicode-novalid.html new file mode 100644 index 0000000000..c7d1111196 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-invalid-unicode-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-invalid-unicode-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-invalid-unicode-percent-encoded-novalid.html new file mode 100644 index 0000000000..ef79d37f59 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-invalid-unicode-percent-encoded-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-newline-novalid.html new file mode 100644 index 0000000000..ece26cf6ad --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-newline-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-space-novalid.html new file mode 100644 index 0000000000..65a3611a45 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-space-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-square-brackets-port-contains-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-square-brackets-port-contains-colon-novalid.html new file mode 100644 index 0000000000..b3a1639547 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-square-brackets-port-contains-colon-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-tab-novalid.html new file mode 100644 index 0000000000..cc58fb54c6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-tab-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-u0000-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-u0000-percent-encoded-novalid.html new file mode 100644 index 0000000000..1200b50e05 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-u0000-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-u0000-percent-encoded</title> +<map name=foo><area href="http://%00.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-u0000-percent-encoded-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-u0000-percent-encoded-percent-encoded-novalid.html new file mode 100644 index 0000000000..fc52797d4e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/host-u0000-percent-encoded-percent-encoded-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-bare-percent-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-bare-percent-sign-novalid.html new file mode 100644 index 0000000000..12a06504b2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-bare-percent-sign-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-contains-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-contains-space-novalid.html new file mode 100644 index 0000000000..ef2889cd75 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-contains-space-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-backslash-at-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-backslash-at-sign-novalid.html new file mode 100644 index 0000000000..667e6313c9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-backslash-at-sign-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-colon-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-colon-backslash-novalid.html new file mode 100644 index 0000000000..7f9994a76e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-colon-backslash-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-colon-chars-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-colon-chars-backslash-novalid.html new file mode 100644 index 0000000000..7eede5dec5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-colon-chars-backslash-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-space-novalid.html new file mode 100644 index 0000000000..ff17389544 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-leading-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-leading-space</title> +<map name=foo><area href="http://f:21/ b" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-percent-encoded-malformed-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-percent-encoded-malformed-novalid.html new file mode 100644 index 0000000000..9e5f0e8e1a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-percent-encoded-malformed-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-percent-encoded-malformed</title> +<map name=foo><area href="http://example.com/foo/%2e%2" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-relative-square-brackets-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-relative-square-brackets-novalid.html new file mode 100644 index 0000000000..69b04b4f21 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-relative-square-brackets-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-relative-square-brackets</title> +<map name=foo><area href="[61:24:74]:98" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-tab-novalid.html new file mode 100644 index 0000000000..a6f023c403 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-tab</title> +<map name=foo><area href="http://example.com/foo bar" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-trailing-space-novalid.html new file mode 100644 index 0000000000..65b1e02a4b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-trailing-space</title> +<map name=foo><area href="http://f:21/b ?" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-u0091-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-u0091-novalid.html new file mode 100644 index 0000000000..aa0fcde344 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/path-u0091-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-u0091</title> +<map name=foo><area href="http://example.com/foo" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-999999-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-999999-novalid.html new file mode 100644 index 0000000000..13106ac227 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-999999-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-999999</title> +<map name=foo><area href="http://f:999999/c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-cr-novalid.html new file mode 100644 index 0000000000..b38c7ba8fe --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-cr</title> +<map name=foo><area href="http://f:
/c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-colon-bracket-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-colon-bracket-colon-novalid.html new file mode 100644 index 0000000000..f6668e1518 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-colon-bracket-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-leading-colon-bracket-colon</title> +<map name=foo><area href="http://2001::1]:80" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-colon-novalid.html new file mode 100644 index 0000000000..6de34e1ada --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-leading-colon</title> +<map name=foo><area href="http://2001::1" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-dash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-dash-novalid.html new file mode 100644 index 0000000000..215197e7b5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-leading-dash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-leading-dash</title> +<map name=foo><area href="http://foo:-80/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-multiple-letters-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-multiple-letters-novalid.html new file mode 100644 index 0000000000..548f239273 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-multiple-letters-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-multiple-letters</title> +<map name=foo><area href="http://f:fifty-two/c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-newline-novalid.html new file mode 100644 index 0000000000..0efb34e3be --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-newline</title> +<map name=foo><area href="http://f: +/c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-single-letter-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-single-letter-novalid.html new file mode 100644 index 0000000000..5efc977c0a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-single-letter-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-single-letter</title> +<map name=foo><area href="http://f:b/c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-space-novalid.html new file mode 100644 index 0000000000..85c7e60dbd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-space</title> +<map name=foo><area href="http://f: /c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-tab-novalid.html new file mode 100644 index 0000000000..591c3c736d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/port-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-tab</title> +<map name=foo><area href="http://f: /c" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/query-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/query-leading-space-novalid.html new file mode 100644 index 0000000000..3843fe5538 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/query-leading-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: query-leading-space</title> +<map name=foo><area href="http://f:21/b? d" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/query-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/query-trailing-space-novalid.html new file mode 100644 index 0000000000..7e2e981f8b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/query-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: query-trailing-space</title> +<map name=foo><area href="http://f:21/b?d #" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-data-contains-fragment-haswarn.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-data-contains-fragment-haswarn.html new file mode 100644 index 0000000000..ba727f5339 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-data-contains-fragment-haswarn.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>href warning: scheme-data-contains-fragment</title> +<map name=foo><area href="data:text/html,test#test" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-data-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-data-single-slash-novalid.html new file mode 100644 index 0000000000..79ee412f8e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-data-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-data-single-slash</title> +<map name=foo><area href="data:/example.com/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-backslash-novalid.html new file mode 100644 index 0000000000..e21e8173d4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-file-backslash</title> +<map name=foo><area href="file:c:\foo\bar.html" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-single-slash-c-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-single-slash-c-bar-novalid.html new file mode 100644 index 0000000000..dbb9912cfd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-single-slash-c-bar-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-file-single-slash-c-bar</title> +<map name=foo><area href="file:/C|/foo/bar" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-slash-slash-abc-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-slash-slash-abc-bar-novalid.html new file mode 100644 index 0000000000..1c8209038b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-slash-slash-abc-bar-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-file-slash-slash-abc-bar</title> +<map name=foo><area href="file://abc|/foo/bar" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-triple-slash-c-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-triple-slash-c-bar-novalid.html new file mode 100644 index 0000000000..07276a244b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-file-triple-slash-c-bar-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-file-triple-slash-c-bar</title> +<map name=foo><area href="file:///C|/foo/bar" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-ftp-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-ftp-no-slash-novalid.html new file mode 100644 index 0000000000..e92a75d01a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-ftp-no-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-ftp-no-slash</title> +<map name=foo><area href="ftp:example.com/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-ftp-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-ftp-single-slash-novalid.html new file mode 100644 index 0000000000..180e0d2721 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-ftp-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-ftp-single-slash</title> +<map name=foo><area href="ftp:/example.com/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-backslash-novalid.html new file mode 100644 index 0000000000..d1281c4de0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-http-backslash</title> +<map name=foo><area href="http:\\foo.com\" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-colon-novalid.html new file mode 100644 index 0000000000..4986f1a224 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-http-no-slash-colon</title> +<map name=foo><area href="http::@c:29" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-novalid.html new file mode 100644 index 0000000000..2d3ba5b5bf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-http-no-slash</title> +<map name=foo><area href="http:foo.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-square-bracket-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-square-bracket-novalid.html new file mode 100644 index 0000000000..bc4ddc247b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-no-slash-square-bracket-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-http-no-slash-square-bracket</title> +<map name=foo><area href="http:[61:27]/:foo" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-single-slash-novalid.html new file mode 100644 index 0000000000..eb2cb78f9d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-http-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-http-single-slash</title> +<map name=foo><area href="http:/example.com/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-https-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-https-no-slash-novalid.html new file mode 100644 index 0000000000..84e8a816c6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-https-no-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-https-no-slash</title> +<map name=foo><area href="https:example.com/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-https-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-https-single-slash-novalid.html new file mode 100644 index 0000000000..cc6ea3237a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-https-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-https-single-slash</title> +<map name=foo><area href="https:/example.com/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-cr-novalid.html new file mode 100644 index 0000000000..5031456354 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-cr</title> +<map name=foo><area href="a:
foo.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-newline-novalid.html new file mode 100644 index 0000000000..422c685e5b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-newline</title> +<map name=foo><area href="a: +foo.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-space-novalid.html new file mode 100644 index 0000000000..aa877fe965 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-space</title> +<map name=foo><area href="a: foo.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-tab-novalid.html new file mode 100644 index 0000000000..fb9055a41c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/scheme-trailing-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-tab</title> +<map name=foo><area href="a: foo.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-backslash-novalid.html new file mode 100644 index 0000000000..9419fd0a76 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: userinfo-backslash</title> +<map name=foo><area href="http://a\b:c\d@foo.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-password-bad-chars-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-password-bad-chars-novalid.html new file mode 100644 index 0000000000..f9d210a064 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-password-bad-chars-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: userinfo-password-bad-chars</title> +<map name=foo><area href="http://&a:foo(b]c@d:2/" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-password-contains-pile-of-poo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-password-contains-pile-of-poo-novalid.html new file mode 100644 index 0000000000..48131d7fb3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-password-contains-pile-of-poo-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: userinfo-password-contains-pile-of-poo</title> +<map name=foo><area href="http://foo:💩@example.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-username-contains-at-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-username-contains-at-sign-novalid.html new file mode 100644 index 0000000000..6404378f37 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-username-contains-at-sign-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: userinfo-username-contains-at-sign</title> +<map name=foo><area href="http://::@c@d:2" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-username-contains-pile-of-poo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-username-contains-pile-of-poo-novalid.html new file mode 100644 index 0000000000..ecbd4bffbb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/href/userinfo-username-contains-pile-of-poo-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: userinfo-username-contains-pile-of-poo</title> +<map name=foo><area href="http://💩:foo@example.com" alt></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/media-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/media-novalid.html new file mode 100644 index 0000000000..c88391e4e6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/media-novalid.html @@ -0,0 +1,4 @@ +<!doctype html> +<meta charset=utf-8> +<title>area element with "media" attribute</title> +<map name=foo><area media=all></map> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/model-isvalid.html new file mode 100644 index 0000000000..6f4504fc8f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/model-isvalid.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><area></title> +</head> +<body> + <map id='foo' name='foo'> + <p>p + <!-- default --> + <area alt="text" shape="default" href='url'> + + <!-- rect --> + <area alt="text" shape="rect" coords="-01,2,3,4" href="url"> + <area alt="text" shape="rect" coords="1,2,3,4" href="url"> + <area alt="text" coords="1,-24,388,45" href="url"> + <area alt="text" coords="1,2,3,4" href="url"> + + <!-- circle --> + <area alt="text" shape="circle" coords="01,-223,32" href="url"> + <area alt="text" shape="circle" coords="1,2,3" href="url"> + + <!-- poly --> + <area alt="text" shape="poly" coords="01,223,42,-35,94,-94" href="url"> + <area alt="text" shape="poly" coords="01,223,42,35,94,94,003,2" href="url"> + <area alt="text" shape="poly" coords="-1,2,3,4,5,6,7,8,9,10" href="url"> + </p> + </map> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/area/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/area/model-novalid.html new file mode 100644 index 0000000000..921ac4494e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/area/model-novalid.html @@ -0,0 +1,53 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><area></title> +</head> +<body> + <map name="map1"> + <!-- default has no coords --> + <area alt="text" shape="default" coords="1,2"> + + <!-- rect, circle, poly must have coords --> + <area alt="text" shape="rect"> + <area alt="text" shape="circle"> + <area alt="text" shape="poly"> + + <!-- rect must have four coords --> + <area alt="text" shape="rect" coords="1,2,3"> + <area alt="text" shape="rect" coords=" 1 , 2 , 3 , 4 , 5, 6"> + <area alt="text" coords="1,2,3,4,5,6"> + <area alt="text" coords=" 1 , 2 , 3 , 4 ,"> + + <!-- circle must have three coords --> + <area alt="text" shape="circle" coords="1,2"> + <area alt="text" shape="circle" coords=" 1 , 2 , 3 , 4 "> + + <!-- poly must have coords in pairs, and at least 3 sets --> + <area alt="text" shape="poly" coords="1,2,3,4,5"> + <area alt="text" shape="poly" coords="1,2,3,4,5,6,7,"> + <area alt="text" shape="poly" coords=" 1 , 2 , 3 ,4 ,5, + 6 ,7 ,8, ,9 "> + + <!-- coords must be int or percent, +/- allowed --> + <area alt="text" shape="rect" coords="1.5,2,3,4"> + <area alt="text" shape="rect" coords="1,2px,3,4"> + <area alt="text" shape="rect" coords="1 %,2,3,4"> + <area alt="text" shape="rect" coords="1,- 2,3,4"> + <area alt="text" shape="rect" coords="1, 2,+ 3,4"> + + <area alt="text" shape="circle" coords="1.5,2,3"> + <area alt="text" shape="circle" coords="1,2px,3"> + <area alt="text" shape="circle" coords="1 %,2,3"> + <area alt="text" shape="circle" coords="1,- 2,3"> + <area alt="text" shape="circle" coords="1, 2,+ 3"> + + <area alt="text" shape="poly" coords="5,6,1.5,2,3,4"> + <area alt="text" shape="poly" coords="5,6,1,2px,3,4"> + <area alt="text" shape="poly" coords="5,6,1 %,2,3,4"> + <area alt="text" shape="poly" coords="5,6,1,- 2,3,4"> + <area alt="text" shape="poly" coords="5,6,1, 2,+ 3,4"> + </map> +</body> +</html> |