diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/input/type-url-value-isvalid.html')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/input/type-url-value-isvalid.html | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/input/type-url-value-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/input/type-url-value-isvalid.html new file mode 100644 index 000000000..93f5eb5cc --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/input/type-url-value-isvalid.html @@ -0,0 +1,70 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>valid value attribute</title> +<input type=url value="file:///"><!-- scheme-file-slash-slash-slash-only --> +<input type=url value="http://a:@www.example.com"><!-- userinfo-password-empty --> +<input type=url value="foo://///////"><!-- scheme-private-path-leading-slashes-only --> +<input type=url value="file://abc|/foo/bar"><!-- scheme-file-slash-slash-abc-bar --> +<input type=url value="http://example.com/foo#💩"><!-- fragment-contains-pile-of-poo --> +<input type=url value="http://example.com/你好你好"><!-- path-unicode-han --> +<input type=url value="http://f:/c"><!-- port-none-but-colon --> +<input type=url value="http://example.com/foo%41%7a"><!-- path-percent-encoded-multiple --> +<input type=url value="http://192.168.0.257/"><!-- host-IP-address-broken --> +<input type=url value="madeupscheme:example.com/"><!-- scheme-private-no-slash --> +<input type=url value="http://example.com/%20foo"><!-- path-percent-encoded-space --> +<input type=url value="http://%25DOMAIN:foobar@foodomain.com"><!-- userinfo-username-contains-percent-encoded --> +<input type=url value="http://你好你好"><!-- host-idn-unicode-han --> +<input type=url value="http://example.com/%3A%3a%3C%3c"><!-- path-percent-encoded-mixed-case --> +<input type=url value="http://user:pass@foo:21/bar;par?b#c"><!-- userinfo --> +<input type=url value="ws:/example.com/"><!-- scheme-ws-single-slash --> +<input type=url value="foo://"><!-- scheme-private-slash-slash --> +<input type=url value="http://f:00000000000000/c"><!-- port-00000000000000 --> +<input type=url value="foo:////://///"><!-- scheme-private-path-leading-slashes-colon-slashes --> +<input type=url value="foo:/"><!-- scheme-private-slash --> +<input type=url value="http://💩"><!-- host-is-pile-of-poo --> +<input type=url value="file:test"><!-- scheme-file-no-slash --> +<input type=url value="file://C|/foo/bar"><!-- scheme-file-slash-slash-c-bar --> +<input type=url value="http://192.0x00A80001"><!-- host-192.0x00A80001 --> +<input type=url value="http://example.com/foo/💩"><!-- path-contains-pile-of-poo --> +<input type=url value="File://foo/bar.html"><!-- scheme-file-uppercase --> +<input type=url value="http://www.foo。bar.com"><!-- host-exotic-dot --> +<input type=url value="http://GOOgoo.com"><!-- host-exotic-whitespace --> +<input type=url value="file:///foo/bar.txt"><!-- scheme-file-host-empty --> +<input type=url value="javascript:/example.com/"><!-- scheme-javascript-single-slash --> +<input type=url value="gopher:/example.com/"><!-- scheme-gopher-single-slash --> +<input type=url value="ftps:example.com/"><!-- scheme-ftps-no-slash --> +<input type=url value="file://server/foo/bar"><!-- scheme-file-host-included --> +<input type=url value="http://foo/abcd#foo?bar"><!-- fragment-contains-question-mark --> +<input type=url value="a:foo.com"><!-- scheme-private --> +<input type=url value="http://:b@www.example.com"><!-- userinfo-user-empty --> +<input type=url value="file:/"><!-- scheme-file-slash-only --> +<input type=url value="madeupscheme:/example.com/"><!-- scheme-private-single-slash --> +<input type=url value="http://a:b@c:29/d"><!-- userinfo-host-port-path --> +<input type=url value="gopher:example.com/"><!-- scheme-gopher-no-slash --> +<input type=url value="mailto:example.com/"><!-- scheme-mailto-no-slash --> +<input type=url value="mailto:/example.com/"><!-- scheme-mailto-single-slash --> +<input type=url value="foo://///////bar.com/"><!-- scheme-private-path-leading-slashes-chars --> +<input type=url value="http://[2001::1]:80"><!-- host-ipv6-port --> +<input type=url value="http://example.com/foo/%2e"><!-- path-percent-encoded-dot --> +<input type=url value="file:/example.com/"><!-- scheme-file-single-slash --> +<input type=url value="http://example.com/©zbar"><!-- path-non-ascii --> +<input type=url value="http://example.com//foo"><!-- path-uFEFF --> +<input type=url value="wss:/example.com/"><!-- scheme-wss-single-slash --> +<input type=url value="http://example.com/foo%00"><!-- path-percent-encoded-u0000 --> +<input type=url value="http://example.com/foo%91"><!-- path-percent-encoded-u0091 --> +<input type=url value="c:/foo"><!-- scheme-private-single-letter --> +<input type=url value="wss:example.com/"><!-- scheme-wss-no-slash --> +<input type=url value="http://foo/abcd?efgh?ijkl"><!-- query-contains-question-mark --> +<input type=url value="file:"><!-- scheme-file-scheme-only --> +<input type=url value="foo:/bar.com/"><!-- scheme-private-path --> +<input type=url value="http://f:0/c"><!-- port-0 --> +<input type=url value="http://Go.com"><!-- host-fullwidth --> +<input type=url value="http://@www.example.com"><!-- userinfo-empty --> +<input type=url value="http://example.com//foo//bar"><!-- path-u202E-u202D --> +<input type=url value="http://[2001::1]"><!-- host-ipv6 --> +<input type=url value="ftps:/example.com/"><!-- scheme-ftps-single-slash --> +<input type=url value="http://foo.com:b@d/"><!-- userinfo-username-non-alpha --> +<input type=url value="data:text/plain,foo"><!-- scheme-data-no-slash --> +<input type=url value="http://example.com/foo?💩"><!-- query-contains-pile-of-poo --> +<input type=url value="http://f:00000000000000000000080/c"><!-- port-00000000000000000000080 --> +<input type=url value="file://"><!-- scheme-file-slash-slash-only --> |