diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/a')
72 files changed, 388 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/download-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/download-isvalid.html new file mode 100644 index 0000000000..ed85411ccf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/download-isvalid.html @@ -0,0 +1,6 @@ +<!doctype html> +<html lang=""> +<meta charset=utf-8> +<title>valid download</title> +<a href=foo download>foo</a><!-- empty download --> +<a href=foo download=baz>foo</a><!-- arbitrary value for download --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/download-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/download-novalid.html new file mode 100644 index 0000000000..f9b9d13bd0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/download-novalid.html @@ -0,0 +1,5 @@ +<!doctype html> +<html lang=""> +<meta charset=utf-8> +<title>invalid download</title> +<a download>foo</a><!-- download without href --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href-isvalid.html new file mode 100644 index 0000000000..a4be835e67 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href-isvalid.html @@ -0,0 +1,92 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>valid href</title> +<a href="a:foo.com"></a><!-- scheme-private --> +<a href="foo:/"></a><!-- scheme-private-slash --> +<a href="foo://"></a><!-- scheme-private-slash-slash --> +<a href="foo:/bar.com/"></a><!-- scheme-private-path --> +<a href="foo://///////"></a><!-- scheme-private-path-leading-slashes-only --> +<a href="foo://///////bar.com/"></a><!-- scheme-private-path-leading-slashes-chars --> +<a href="foo:////://///"></a><!-- scheme-private-path-leading-slashes-colon-slashes --> +<a href="c:/foo"></a><!-- scheme-private-single-letter --> +<a href="madeupscheme:/example.com/"></a><!-- scheme-private-single-slash --> +<a href="file:/example.com/"></a><!-- scheme-file-single-slash --> +<a href="ftps:/example.com/"></a><!-- scheme-ftps-single-slash --> +<a href="gopher:/example.com/"></a><!-- scheme-gopher-single-slash --> +<a href="ws:/example.com/"></a><!-- scheme-ws-single-slash --> +<a href="wss:/example.com/"></a><!-- scheme-wss-single-slash --> +<a href="javascript:/example.com/"></a><!-- scheme-javascript-single-slash --> +<a href="mailto:/example.com/"></a><!-- scheme-mailto-single-slash --> +<a href="madeupscheme:example.com/"></a><!-- scheme-private-no-slash --> +<a href="ftps:example.com/"></a><!-- scheme-ftps-no-slash --> +<a href="gopher:example.com/"></a><!-- scheme-gopher-no-slash --> +<a href="wss:example.com/"></a><!-- scheme-wss-no-slash --> +<a href="mailto:example.com/"></a><!-- scheme-mailto-no-slash --> +<a href="data:text/plain,foo"></a><!-- scheme-data-no-slash --> +<a href="http://user:pass@foo:21/bar;par?b#c"></a><!-- userinfo --> +<a href="http://[2001::1]"></a><!-- host-ipv6 --> +<a href="http://[2001::1]:80"></a><!-- host-ipv6-port --> +<a href="http://f:/c"></a><!-- port-none-but-colon --> +<a href="http://f:0/c"></a><!-- port-0 --> +<a href="http://f:00000000000000/c"></a><!-- port-00000000000000 --> +<a href="http://f:00000000000000000000080/c"></a><!-- port-00000000000000000000080 --> +<a href="http://a:b@c:29/d"></a><!-- userinfo-host-port-path --> +<a href="http://foo.com:b@d/"></a><!-- userinfo-username-non-alpha --> +<a href="http://foo/abcd?efgh?ijkl"></a><!-- query-contains-question-mark --> +<a href="http://foo/abcd#foo?bar"></a><!-- fragment-contains-question-mark --> +<a href="http://example.com/foo/%2e"></a><!-- path-percent-encoded-dot --> +<a href="http://example.com/%20foo"></a><!-- path-percent-encoded-space --> +<a href="http://example.com/©zbar"></a><!-- path-non-ascii --> +<a href="http://example.com/foo%41%7a"></a><!-- path-percent-encoded-multiple --> +<a href="http://example.com/foo%91"></a><!-- path-percent-encoded-u0091 --> +<a href="http://example.com/foo%00"></a><!-- path-percent-encoded-u0000 --> +<a href="http://example.com/%3A%3a%3C%3c"></a><!-- path-percent-encoded-mixed-case --> +<a href="http://example.com/你好你好"></a><!-- path-unicode-han --> +<a href="http://example.com//foo"></a><!-- path-uFEFF --> +<a href="http://example.com//foo//bar"></a><!-- path-u202E-u202D --> +<a href="http://💩"></a><!-- host-is-pile-of-poo --> +<a href="http💩//:foo"></a><!-- path-contains-pile-of-poo --> +<a href="http://example.com/foo?💩"></a><!-- query-contains-pile-of-poo --> +<a href="http://example.com/foo#💩"></a><!-- fragment-contains-pile-of-poo --> +<a href="http://192.0x00A80001"></a><!-- host-192.0x00A80001 --> +<a href="http://%25DOMAIN:foobar@foodomain.com"></a><!-- userinfo-username-contains-percent-encoded --> +<a href="http://@www.example.com"></a><!-- userinfo-empty --> +<a href="http://:b@www.example.com"></a><!-- userinfo-user-empty --> +<a href="http://a:@www.example.com"></a><!-- userinfo-password-empty --> +<a href="http://GOOgoo.com"></a><!-- host-exotic-whitespace --> +<a href="http://www.foo。bar.com"></a><!-- host-exotic-dot --> +<a href="http://Go.com"></a><!-- host-fullwidth --> +<a href="http://你好你好"></a><!-- host-idn-unicode-han --> +<a href="http://192.168.0.257/"></a><!-- host-IP-address-broken --> +<a href="//foo/bar"></a><!-- scheme-schemeless-relative --> +<a href="/"></a><!-- path-slash-only-relative --> +<a href="/a/b/c"></a><!-- path-simple-relative --> +<a href="/a%2fc"></a><!-- path-percent-encoded-slash-relative --> +<a href="/a/%2f/c"></a><!-- path-percent-encoded-slash-plus-slashes-relative --> +<a href="?"></a><!-- query-empty-no-path-relative --> +<a href="#"></a><!-- fragment-empty-hash-only-no-path-relative --> +<a href="#/"></a><!-- fragment-slash-relative --> +<a href="#;?"></a><!-- fragment-semicolon-question-mark-relative --> +<a href="#β"></a><!-- fragment-non-ascii-relative --> +<a href="foo.com"></a><!-- scheme-none-relative --> +<a href=":"></a><!-- path-colon-relative --> +<a href=":a"></a><!-- path-leading-colon-letter-relative --> +<a href=":foo.com"></a><!-- path-leading-colon-chars-relative --> +<a href=":/"></a><!-- path-leading-colon-slash-relative --> +<a href=":#"></a><!-- path-leading-colon-hash-relative --> +<a href=":23"></a><!-- path-leading-colon-number-relative --> +<a href="/:23"></a><!-- path-slash-colon-number-relative --> +<a href="::"></a><!-- path-leading-colon-colon-relative --> +<a href="::23"></a><!-- path-colon-colon-number-relative --> +<a href="💩http://foo"></a><!-- path-starts-with-pile-of-poo --> +<a href="/💩"></a><!-- path-slash-pile-of-poo --> +<a href="File://foo/bar.html"></a><!-- scheme-file-uppercase --> +<a href="file://C|/foo/bar"></a><!-- scheme-file-slash-slash-c-bar --> +<a href="file://server/foo/bar"></a><!-- scheme-file-host-included --> +<a href="file:///foo/bar.txt"></a><!-- scheme-file-host-empty --> +<a href="file:"></a><!-- scheme-file-scheme-only --> +<a href="file:/"></a><!-- scheme-file-slash-only --> +<a href="file://"></a><!-- scheme-file-slash-slash-only --> +<a href="file:///"></a><!-- scheme-file-slash-slash-slash-only --> +<a href="file:test"></a><!-- scheme-file-no-slash --> +<a href=""></a><!-- empty-href --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-backslash-novalid.html new file mode 100644 index 0000000000..0bcbffd205 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: fragment-backslash</title> +<a href="#\"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-contains-hash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-contains-hash-novalid.html new file mode 100644 index 0000000000..5810a3d8e7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-contains-hash-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-leading-space-novalid.html new file mode 100644 index 0000000000..f1c73cbb7c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/fragment-leading-space-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-cr-novalid.html new file mode 100644 index 0000000000..8d7d4d8e49 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-cr</title> +<a href="http://example.
org"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-double-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-double-percent-encoded-novalid.html new file mode 100644 index 0000000000..20914774bc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://%41.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-double-percent-encoded-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-double-percent-encoded-percent-encoded-novalid.html new file mode 100644 index 0000000000..28ede588d8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://%ef%bc%85%ef%bc%94%ef%bc%91.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-novalid.html new file mode 100644 index 0000000000..cdd21ebff8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-empty</title> +<a href="http://"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-userinfo-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-userinfo-empty-novalid.html new file mode 100644 index 0000000000..c4bcebfc9c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://@/www.example.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-with-userinfo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-empty-with-userinfo-novalid.html new file mode 100644 index 0000000000..33305eda81 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://user:pass@/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-hostname-in-brackets-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-hostname-in-brackets-novalid.html new file mode 100644 index 0000000000..8e99033b28 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://[www.google.com]/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-invalid-unicode-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-invalid-unicode-novalid.html new file mode 100644 index 0000000000..2efec48305 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-invalid-unicode-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-invalid-unicode</title> +<a href="http://zyx.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-invalid-unicode-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-invalid-unicode-percent-encoded-novalid.html new file mode 100644 index 0000000000..faf12df190 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://%ef%b7%90zyx.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-newline-novalid.html new file mode 100644 index 0000000000..20a24039bf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-newline</title> +<a href="http://example. +org"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-space-novalid.html new file mode 100644 index 0000000000..28fbf6839c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-space</title> +<a href="http://example .org"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-square-brackets-port-contains-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-square-brackets-port-contains-colon-novalid.html new file mode 100644 index 0000000000..2032854dc3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://[1::2]:3:4"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-tab-novalid.html new file mode 100644 index 0000000000..0b08104983 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: host-tab</title> +<a href="http://example .org"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-u0000-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-u0000-percent-encoded-novalid.html new file mode 100644 index 0000000000..fefaeb29c8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://%00.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-u0000-percent-encoded-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/host-u0000-percent-encoded-percent-encoded-novalid.html new file mode 100644 index 0000000000..91bca31a02 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://%ef%bc%85%ef%bc%90%ef%bc%90.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-bare-percent-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-bare-percent-sign-novalid.html new file mode 100644 index 0000000000..d473c10fce --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://example.com/foo%"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-contains-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-contains-space-novalid.html new file mode 100644 index 0000000000..2084b1f258 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-contains-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-contains-space</title> +<a href="/a/ /c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-backslash-at-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-backslash-at-sign-novalid.html new file mode 100644 index 0000000000..5e3bad4e2a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://foo.com/\@"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-colon-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-colon-backslash-novalid.html new file mode 100644 index 0000000000..c6a6de865c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href=":\"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-colon-chars-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-colon-chars-backslash-novalid.html new file mode 100644 index 0000000000..333461a2ae --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href=":foo.com\"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-space-novalid.html new file mode 100644 index 0000000000..a247910e49 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-leading-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-leading-space</title> +<a href="http://f:21/ b"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-percent-encoded-malformed-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-percent-encoded-malformed-novalid.html new file mode 100644 index 0000000000..3547c071f3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://example.com/foo/%2e%2"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-relative-square-brackets-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-relative-square-brackets-novalid.html new file mode 100644 index 0000000000..3ca2e6da1e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="[61:24:74]:98"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-tab-novalid.html new file mode 100644 index 0000000000..6ed16e83c2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-tab</title> +<a href="http://example.com/foo bar"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-trailing-space-novalid.html new file mode 100644 index 0000000000..98b950ea55 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-trailing-space</title> +<a href="http://f:21/b ?"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-u0091-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-u0091-novalid.html new file mode 100644 index 0000000000..9a5f8af70e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/path-u0091-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: path-u0091</title> +<a href="http://example.com/foo"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-999999-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-999999-novalid.html new file mode 100644 index 0000000000..8fcc801efb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-999999-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-999999</title> +<a href="http://f:999999/c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-cr-novalid.html new file mode 100644 index 0000000000..beef30828a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-cr</title> +<a href="http://f:
/c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-colon-bracket-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-colon-bracket-colon-novalid.html new file mode 100644 index 0000000000..9d5839c7a0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://2001::1]:80"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-colon-novalid.html new file mode 100644 index 0000000000..b5c692d8a9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-leading-colon</title> +<a href="http://2001::1"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-dash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-dash-novalid.html new file mode 100644 index 0000000000..1a47b2e8b9 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-leading-dash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-leading-dash</title> +<a href="http://foo:-80/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-multiple-letters-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-multiple-letters-novalid.html new file mode 100644 index 0000000000..47d9fd856f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-multiple-letters-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-newline-novalid.html new file mode 100644 index 0000000000..5b1d95d5c5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-newline</title> +<a href="http://f: +/c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-single-letter-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-single-letter-novalid.html new file mode 100644 index 0000000000..9c289ff93e --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-single-letter-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-single-letter</title> +<a href="http://f:b/c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-space-novalid.html new file mode 100644 index 0000000000..219c7345ad --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-space</title> +<a href="http://f: /c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-tab-novalid.html new file mode 100644 index 0000000000..266dc9f222 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/port-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: port-tab</title> +<a href="http://f: /c"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/query-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/query-leading-space-novalid.html new file mode 100644 index 0000000000..d786b5896a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/query-leading-space-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/query-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/query-trailing-space-novalid.html new file mode 100644 index 0000000000..7754c45a26 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/query-trailing-space-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-data-contains-fragment-haswarn.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-data-contains-fragment-haswarn.html new file mode 100644 index 0000000000..069e6ab389 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-data-contains-fragment-haswarn.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-data-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-data-single-slash-novalid.html new file mode 100644 index 0000000000..8474eed4b6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="data:/example.com/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-backslash-novalid.html new file mode 100644 index 0000000000..76564e13b2 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-backslash-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-single-slash-c-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-single-slash-c-bar-novalid.html new file mode 100644 index 0000000000..fecd0b7533 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="file:/C|/foo/bar"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-slash-slash-abc-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-slash-slash-abc-bar-novalid.html new file mode 100644 index 0000000000..5f844682d5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="file://abc|/foo/bar"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-triple-slash-c-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-file-triple-slash-c-bar-novalid.html new file mode 100644 index 0000000000..bf05a0bfa1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="file:///C|/foo/bar"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-ftp-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-ftp-no-slash-novalid.html new file mode 100644 index 0000000000..52a9131f0c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="ftp:example.com/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-ftp-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-ftp-single-slash-novalid.html new file mode 100644 index 0000000000..a885cdf332 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="ftp:/example.com/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-backslash-novalid.html new file mode 100644 index 0000000000..90bf03e8f7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-http-backslash</title> +<a href="http:\\foo.com\"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-no-slash-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-no-slash-colon-novalid.html new file mode 100644 index 0000000000..4c9df61456 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http::@c:29"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-no-slash-novalid.html new file mode 100644 index 0000000000..6797c6be38 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http:foo.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-no-slash-square-bracket-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-no-slash-square-bracket-novalid.html new file mode 100644 index 0000000000..3f3acb11d5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http:[61:27]/:foo"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-http-single-slash-novalid.html new file mode 100644 index 0000000000..e88638d137 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http:/example.com/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-https-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-https-no-slash-novalid.html new file mode 100644 index 0000000000..40325a5c30 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="https:example.com/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-https-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-https-single-slash-novalid.html new file mode 100644 index 0000000000..391c317a11 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="https:/example.com/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-cr-novalid.html new file mode 100644 index 0000000000..784922f510 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-cr</title> +<a href="a:
foo.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-newline-novalid.html new file mode 100644 index 0000000000..12bbe55a70 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-newline</title> +<a href="a: +foo.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-space-novalid.html new file mode 100644 index 0000000000..975a72eb89 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-space</title> +<a href="a: foo.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-tab-novalid.html new file mode 100644 index 0000000000..38a4e338d1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/scheme-trailing-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid href: scheme-trailing-tab</title> +<a href="a: foo.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-backslash-novalid.html new file mode 100644 index 0000000000..c147fea498 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-backslash-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-password-bad-chars-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-password-bad-chars-novalid.html new file mode 100644 index 0000000000..6f344e19a4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://&a:foo(b]c@d:2/"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-password-contains-pile-of-poo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-password-contains-pile-of-poo-novalid.html new file mode 100644 index 0000000000..26add76989 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://foo:💩@example.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-username-contains-at-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-username-contains-at-sign-novalid.html new file mode 100644 index 0000000000..a7c56342bf --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://::@c@d:2"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-username-contains-pile-of-poo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/href/userinfo-username-contains-pile-of-poo-novalid.html new file mode 100644 index 0000000000..6571b3846a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/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> +<a href="http://💩:foo@example.com"></a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/media-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/media-novalid.html new file mode 100644 index 0000000000..756ab76420 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/media-novalid.html @@ -0,0 +1,4 @@ +<!doctype html> +<meta charset=utf-8> +<title>anchor element with "media" attribute</title> +<a media=all>foo</a> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/model-isvalid.html new file mode 100644 index 0000000000..4704893e2c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/model-isvalid.html @@ -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 --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/model-novalid.html new file mode 100644 index 0000000000..86bcdf3fc0 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/model-novalid.html @@ -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> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/a/name-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/a/name-empty-novalid.html new file mode 100644 index 0000000000..21eec58c10 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/a/name-empty-novalid.html @@ -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> |