diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/form')
68 files changed, 363 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action-empty-novalid.html new file mode 100644 index 0000000000..4090e01ce6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action-empty-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>empty action is not valid</title> +<form action=""></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action-isvalid.html new file mode 100644 index 0000000000..d2a0ada83d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action-isvalid.html @@ -0,0 +1,91 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>valid action</title> +<form action="a:foo.com"></form><!-- scheme-private --> +<form action="foo:/"></form><!-- scheme-private-slash --> +<form action="foo://"></form><!-- scheme-private-slash-slash --> +<form action="foo:/bar.com/"></form><!-- scheme-private-path --> +<form action="foo://///////"></form><!-- scheme-private-path-leading-slashes-only --> +<form action="foo://///////bar.com/"></form><!-- scheme-private-path-leading-slashes-chars --> +<form action="foo:////://///"></form><!-- scheme-private-path-leading-slashes-colon-slashes --> +<form action="c:/foo"></form><!-- scheme-private-single-letter --> +<form action="madeupscheme:/example.com/"></form><!-- scheme-private-single-slash --> +<form action="file:/example.com/"></form><!-- scheme-file-single-slash --> +<form action="ftps:/example.com/"></form><!-- scheme-ftps-single-slash --> +<form action="gopher:/example.com/"></form><!-- scheme-gopher-single-slash --> +<form action="ws:/example.com/"></form><!-- scheme-ws-single-slash --> +<form action="wss:/example.com/"></form><!-- scheme-wss-single-slash --> +<form action="javascript:/example.com/"></form><!-- scheme-javascript-single-slash --> +<form action="mailto:/example.com/"></form><!-- scheme-mailto-single-slash --> +<form action="madeupscheme:example.com/"></form><!-- scheme-private-no-slash --> +<form action="ftps:example.com/"></form><!-- scheme-ftps-no-slash --> +<form action="gopher:example.com/"></form><!-- scheme-gopher-no-slash --> +<form action="wss:example.com/"></form><!-- scheme-wss-no-slash --> +<form action="mailto:example.com/"></form><!-- scheme-mailto-no-slash --> +<form action="data:text/plain,foo"></form><!-- scheme-data-no-slash --> +<form action="http://user:pass@foo:21/bar;par?b#c"></form><!-- userinfo --> +<form action="http://[2001::1]"></form><!-- host-ipv6 --> +<form action="http://[2001::1]:80"></form><!-- host-ipv6-port --> +<form action="http://f:/c"></form><!-- port-none-but-colon --> +<form action="http://f:0/c"></form><!-- port-0 --> +<form action="http://f:00000000000000/c"></form><!-- port-00000000000000 --> +<form action="http://f:00000000000000000000080/c"></form><!-- port-00000000000000000000080 --> +<form action="http://a:b@c:29/d"></form><!-- userinfo-host-port-path --> +<form action="http://foo.com:b@d/"></form><!-- userinfo-username-non-alpha --> +<form action="http://foo/abcd?efgh?ijkl"></form><!-- query-contains-question-mark --> +<form action="http://foo/abcd#foo?bar"></form><!-- fragment-contains-question-mark --> +<form action="http://example.com/foo/%2e"></form><!-- path-percent-encoded-dot --> +<form action="http://example.com/%20foo"></form><!-- path-percent-encoded-space --> +<form action="http://example.com/©zbar"></form><!-- path-non-ascii --> +<form action="http://example.com/foo%41%7a"></form><!-- path-percent-encoded-multiple --> +<form action="http://example.com/foo%91"></form><!-- path-percent-encoded-u0091 --> +<form action="http://example.com/foo%00"></form><!-- path-percent-encoded-u0000 --> +<form action="http://example.com/%3A%3a%3C%3c"></form><!-- path-percent-encoded-mixed-case --> +<form action="http://example.com/你好你好"></form><!-- path-unicode-han --> +<form action="http://example.com//foo"></form><!-- path-uFEFF --> +<form action="http://example.com//foo//bar"></form><!-- path-u202E-u202D --> +<form action="http://💩"></form><!-- host-is-pile-of-poo --> +<form action="http💩//:foo"></form><!-- path-contains-pile-of-poo --> +<form action="http://example.com/foo?💩"></form><!-- query-contains-pile-of-poo --> +<form action="http://example.com/foo#💩"></form><!-- fragment-contains-pile-of-poo --> +<form action="http://192.0x00A80001"></form><!-- host-192.0x00A80001 --> +<form action="http://%25DOMAIN:foobar@foodomain.com"></form><!-- userinfo-username-contains-percent-encoded --> +<form action="http://@www.example.com"></form><!-- userinfo-empty --> +<form action="http://:b@www.example.com"></form><!-- userinfo-user-empty --> +<form action="http://a:@www.example.com"></form><!-- userinfo-password-empty --> +<form action="http://GOOgoo.com"></form><!-- host-exotic-whitespace --> +<form action="http://www.foo。bar.com"></form><!-- host-exotic-dot --> +<form action="http://Go.com"></form><!-- host-fullwidth --> +<form action="http://你好你好"></form><!-- host-idn-unicode-han --> +<form action="http://192.168.0.257/"></form><!-- host-IP-address-broken --> +<form action="//foo/bar"></form><!-- scheme-schemeless-relative --> +<form action="/"></form><!-- path-slash-only-relative --> +<form action="/a/b/c"></form><!-- path-simple-relative --> +<form action="/a%2fc"></form><!-- path-percent-encoded-slash-relative --> +<form action="/a/%2f/c"></form><!-- path-percent-encoded-slash-plus-slashes-relative --> +<form action="?"></form><!-- query-empty-no-path-relative --> +<form action="#"></form><!-- fragment-empty-hash-only-no-path-relative --> +<form action="#/"></form><!-- fragment-slash-relative --> +<form action="#;?"></form><!-- fragment-semicolon-question-mark-relative --> +<form action="#β"></form><!-- fragment-non-ascii-relative --> +<form action="foo.com"></form><!-- scheme-none-relative --> +<form action=":"></form><!-- path-colon-relative --> +<form action=":a"></form><!-- path-leading-colon-letter-relative --> +<form action=":foo.com"></form><!-- path-leading-colon-chars-relative --> +<form action=":/"></form><!-- path-leading-colon-slash-relative --> +<form action=":#"></form><!-- path-leading-colon-hash-relative --> +<form action=":23"></form><!-- path-leading-colon-number-relative --> +<form action="/:23"></form><!-- path-slash-colon-number-relative --> +<form action="::"></form><!-- path-leading-colon-colon-relative --> +<form action="::23"></form><!-- path-colon-colon-number-relative --> +<form action="💩http://foo"></form><!-- path-starts-with-pile-of-poo --> +<form action="/💩"></form><!-- path-slash-pile-of-poo --> +<form action="File://foo/bar.html"></form><!-- scheme-file-uppercase --> +<form action="file://C|/foo/bar"></form><!-- scheme-file-slash-slash-c-bar --> +<form action="file://server/foo/bar"></form><!-- scheme-file-host-included --> +<form action="file:///foo/bar.txt"></form><!-- scheme-file-host-empty --> +<form action="file:"></form><!-- scheme-file-scheme-only --> +<form action="file:/"></form><!-- scheme-file-slash-only --> +<form action="file://"></form><!-- scheme-file-slash-slash-only --> +<form action="file:///"></form><!-- scheme-file-slash-slash-slash-only --> +<form action="file:test"></form><!-- scheme-file-no-slash --> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action-whitespace-only-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action-whitespace-only-novalid.html new file mode 100644 index 0000000000..23222c775d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action-whitespace-only-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>empty action is not valid</title> +<form action=" +"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-backslash-novalid.html new file mode 100644 index 0000000000..d5a014727b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: fragment-backslash</title> +<form action="#\"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-contains-hash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-contains-hash-novalid.html new file mode 100644 index 0000000000..8dfcce917a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-contains-hash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: fragment-contains-hash</title> +<form action="http://foo/path#f#g"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-leading-space-novalid.html new file mode 100644 index 0000000000..b95be6bed3 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/fragment-leading-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: fragment-leading-space</title> +<form action="http://f:21/b# e"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-cr-novalid.html new file mode 100644 index 0000000000..57be7114fb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-cr</title> +<form action="http://example.
org"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-double-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-double-percent-encoded-novalid.html new file mode 100644 index 0000000000..df5e0d4a08 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-double-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-double-percent-encoded</title> +<form action="http://%41.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-double-percent-encoded-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-double-percent-encoded-percent-encoded-novalid.html new file mode 100644 index 0000000000..eab6133a82 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-double-percent-encoded-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-double-percent-encoded-percent-encoded</title> +<form action="http://%ef%bc%85%ef%bc%94%ef%bc%91.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-novalid.html new file mode 100644 index 0000000000..1879fc86df --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-empty</title> +<form action="http://"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-userinfo-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-userinfo-empty-novalid.html new file mode 100644 index 0000000000..e768978645 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-userinfo-empty-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-empty-userinfo-empty</title> +<form action="http://@/www.example.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-with-userinfo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-with-userinfo-novalid.html new file mode 100644 index 0000000000..dceaae334d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-empty-with-userinfo-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-empty-with-userinfo</title> +<form action="http://user:pass@/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-hostname-in-brackets-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-hostname-in-brackets-novalid.html new file mode 100644 index 0000000000..9d707cd4da --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-hostname-in-brackets-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-hostname-in-brackets</title> +<form action="http://[www.google.com]/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-invalid-unicode-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-invalid-unicode-novalid.html new file mode 100644 index 0000000000..6613d7ae5c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-invalid-unicode-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-invalid-unicode</title> +<form action="http://zyx.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-invalid-unicode-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-invalid-unicode-percent-encoded-novalid.html new file mode 100644 index 0000000000..cbabc9d37c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-invalid-unicode-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-invalid-unicode-percent-encoded</title> +<form action="http://%ef%b7%90zyx.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-newline-novalid.html new file mode 100644 index 0000000000..f3c90d5ef6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-newline</title> +<form action="http://example. +org"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-space-novalid.html new file mode 100644 index 0000000000..a115595119 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-space</title> +<form action="http://example .org"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-square-brackets-port-contains-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-square-brackets-port-contains-colon-novalid.html new file mode 100644 index 0000000000..88042b5ab8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-square-brackets-port-contains-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-square-brackets-port-contains-colon</title> +<form action="http://[1::2]:3:4"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-tab-novalid.html new file mode 100644 index 0000000000..a36e6597f7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-tab</title> +<form action="http://example .org"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-u0000-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-u0000-percent-encoded-novalid.html new file mode 100644 index 0000000000..fc500a0b08 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-u0000-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-u0000-percent-encoded</title> +<form action="http://%00.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-u0000-percent-encoded-percent-encoded-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-u0000-percent-encoded-percent-encoded-novalid.html new file mode 100644 index 0000000000..0f9f20a4a5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/host-u0000-percent-encoded-percent-encoded-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: host-u0000-percent-encoded-percent-encoded</title> +<form action="http://%ef%bc%85%ef%bc%90%ef%bc%90.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-bare-percent-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-bare-percent-sign-novalid.html new file mode 100644 index 0000000000..be8318b82c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-bare-percent-sign-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-bare-percent-sign</title> +<form action="http://example.com/foo%"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-contains-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-contains-space-novalid.html new file mode 100644 index 0000000000..4194fbad8d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-contains-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-contains-space</title> +<form action="/a/ /c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-backslash-at-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-backslash-at-sign-novalid.html new file mode 100644 index 0000000000..e41abc4a46 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-backslash-at-sign-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-leading-backslash-at-sign</title> +<form action="http://foo.com/\@"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-colon-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-colon-backslash-novalid.html new file mode 100644 index 0000000000..a967ca78a8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-colon-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-leading-colon-backslash</title> +<form action=":\"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-colon-chars-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-colon-chars-backslash-novalid.html new file mode 100644 index 0000000000..2f50a571e8 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-colon-chars-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-leading-colon-chars-backslash</title> +<form action=":foo.com\"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-space-novalid.html new file mode 100644 index 0000000000..fae910c82b --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-leading-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-leading-space</title> +<form action="http://f:21/ b"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-percent-encoded-malformed-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-percent-encoded-malformed-novalid.html new file mode 100644 index 0000000000..cc43c39421 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-percent-encoded-malformed-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-percent-encoded-malformed</title> +<form action="http://example.com/foo/%2e%2"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-relative-square-brackets-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-relative-square-brackets-novalid.html new file mode 100644 index 0000000000..b90ce68330 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-relative-square-brackets-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-relative-square-brackets</title> +<form action="[61:24:74]:98"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-tab-novalid.html new file mode 100644 index 0000000000..c08a28800c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-tab</title> +<form action="http://example.com/foo bar"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-trailing-space-novalid.html new file mode 100644 index 0000000000..866ba41c58 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-trailing-space</title> +<form action="http://f:21/b ?"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-u0091-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-u0091-novalid.html new file mode 100644 index 0000000000..7f2bd6d669 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/path-u0091-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: path-u0091</title> +<form action="http://example.com/foo"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-999999-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-999999-novalid.html new file mode 100644 index 0000000000..fe4932f5f6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-999999-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-999999</title> +<form action="http://f:999999/c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-cr-novalid.html new file mode 100644 index 0000000000..07413a3368 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-cr</title> +<form action="http://f:
/c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-colon-bracket-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-colon-bracket-colon-novalid.html new file mode 100644 index 0000000000..ca12578b0c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-colon-bracket-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-leading-colon-bracket-colon</title> +<form action="http://2001::1]:80"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-colon-novalid.html new file mode 100644 index 0000000000..ab06dfb6fd --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-leading-colon</title> +<form action="http://2001::1"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-dash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-dash-novalid.html new file mode 100644 index 0000000000..2192f87f6d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-leading-dash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-leading-dash</title> +<form action="http://foo:-80/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-multiple-letters-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-multiple-letters-novalid.html new file mode 100644 index 0000000000..def350e6c1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-multiple-letters-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-multiple-letters</title> +<form action="http://f:fifty-two/c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-newline-novalid.html new file mode 100644 index 0000000000..deeaa68a30 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-newline</title> +<form action="http://f: +/c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-single-letter-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-single-letter-novalid.html new file mode 100644 index 0000000000..7aa8b83b63 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-single-letter-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-single-letter</title> +<form action="http://f:b/c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-space-novalid.html new file mode 100644 index 0000000000..27b549e461 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-space</title> +<form action="http://f: /c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-tab-novalid.html new file mode 100644 index 0000000000..99f6b9b0d6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/port-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: port-tab</title> +<form action="http://f: /c"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/query-leading-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/query-leading-space-novalid.html new file mode 100644 index 0000000000..5c18e9aaea --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/query-leading-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: query-leading-space</title> +<form action="http://f:21/b? d"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/query-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/query-trailing-space-novalid.html new file mode 100644 index 0000000000..103f75b79f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/query-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: query-trailing-space</title> +<form action="http://f:21/b?d #"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-data-contains-fragment-haswarn.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-data-contains-fragment-haswarn.html new file mode 100644 index 0000000000..ba826225e7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/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> +<form action="data:text/html,test#test"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-data-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-data-single-slash-novalid.html new file mode 100644 index 0000000000..738714d1a7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-data-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-data-single-slash</title> +<form action="data:/example.com/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-backslash-novalid.html new file mode 100644 index 0000000000..7e944c6572 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-file-backslash</title> +<form action="file:c:\foo\bar.html"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-single-slash-c-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-single-slash-c-bar-novalid.html new file mode 100644 index 0000000000..c72ada0531 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-single-slash-c-bar-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-file-single-slash-c-bar</title> +<form action="file:/C|/foo/bar"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-slash-slash-abc-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-slash-slash-abc-bar-novalid.html new file mode 100644 index 0000000000..f8968f7911 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-slash-slash-abc-bar-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-file-slash-slash-abc-bar</title> +<form action="file://abc|/foo/bar"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-triple-slash-c-bar-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-triple-slash-c-bar-novalid.html new file mode 100644 index 0000000000..e4b1bbaadc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-file-triple-slash-c-bar-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-file-triple-slash-c-bar</title> +<form action="file:///C|/foo/bar"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-ftp-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-ftp-no-slash-novalid.html new file mode 100644 index 0000000000..ea5f35911c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-ftp-no-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-ftp-no-slash</title> +<form action="ftp:example.com/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-ftp-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-ftp-single-slash-novalid.html new file mode 100644 index 0000000000..9629bb8a63 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-ftp-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-ftp-single-slash</title> +<form action="ftp:/example.com/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-backslash-novalid.html new file mode 100644 index 0000000000..672a812f83 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-http-backslash</title> +<form action="http:\\foo.com\"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-colon-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-colon-novalid.html new file mode 100644 index 0000000000..e6f8f724e7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-colon-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-http-no-slash-colon</title> +<form action="http::@c:29"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-novalid.html new file mode 100644 index 0000000000..d53e1a2fd6 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-http-no-slash</title> +<form action="http:foo.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-square-bracket-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-square-bracket-novalid.html new file mode 100644 index 0000000000..506ac46f3a --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-no-slash-square-bracket-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-http-no-slash-square-bracket</title> +<form action="http:[61:27]/:foo"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-single-slash-novalid.html new file mode 100644 index 0000000000..047e218b07 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-http-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-http-single-slash</title> +<form action="http:/example.com/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-https-no-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-https-no-slash-novalid.html new file mode 100644 index 0000000000..8cb2a7f583 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-https-no-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-https-no-slash</title> +<form action="https:example.com/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-https-single-slash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-https-single-slash-novalid.html new file mode 100644 index 0000000000..be422fdbff --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-https-single-slash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-https-single-slash</title> +<form action="https:/example.com/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-cr-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-cr-novalid.html new file mode 100644 index 0000000000..6090097a68 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-cr-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-trailing-cr</title> +<form action="a:
foo.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-newline-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-newline-novalid.html new file mode 100644 index 0000000000..50c64a94f7 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-newline-novalid.html @@ -0,0 +1,5 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-trailing-newline</title> +<form action="a: +foo.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-space-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-space-novalid.html new file mode 100644 index 0000000000..8632616c2c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-space-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-trailing-space</title> +<form action="a: foo.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-tab-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-tab-novalid.html new file mode 100644 index 0000000000..cd39c5ad62 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/scheme-trailing-tab-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: scheme-trailing-tab</title> +<form action="a: foo.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-backslash-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-backslash-novalid.html new file mode 100644 index 0000000000..37ef4f2018 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-backslash-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: userinfo-backslash</title> +<form action="http://a\b:c\d@foo.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-password-bad-chars-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-password-bad-chars-novalid.html new file mode 100644 index 0000000000..1ed632962c --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-password-bad-chars-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: userinfo-password-bad-chars</title> +<form action="http://&a:foo(b]c@d:2/"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-password-contains-pile-of-poo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-password-contains-pile-of-poo-novalid.html new file mode 100644 index 0000000000..33460c9ffb --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-password-contains-pile-of-poo-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: userinfo-password-contains-pile-of-poo</title> +<form action="http://foo:💩@example.com"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-username-contains-at-sign-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-username-contains-at-sign-novalid.html new file mode 100644 index 0000000000..03cf279264 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-username-contains-at-sign-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: userinfo-username-contains-at-sign</title> +<form action="http://::@c@d:2"></form> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-username-contains-pile-of-poo-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-username-contains-pile-of-poo-novalid.html new file mode 100644 index 0000000000..ccc38c24f4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/form/action/userinfo-username-contains-pile-of-poo-novalid.html @@ -0,0 +1,4 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>invalid action: userinfo-username-contains-pile-of-poo</title> +<form action="http://💩:foo@example.com"></form> |