diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/textarea')
6 files changed, 160 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-address-novalid.html b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-address-novalid.html new file mode 100644 index 0000000000..1061d9a620 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-address-novalid.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset=utf-8> +<title>autocomplete attribute is invalid</title> +</head> +<body> + + <!-- address type must come before field type --> + <textarea autocomplete="country shipping"> + </textarea> + +</body> +</html> + + diff --git a/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-empty-novalid.html b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-empty-novalid.html new file mode 100644 index 0000000000..d222846b4f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-empty-novalid.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset=utf-8> +<title>autocomplete attribute is invalid</title> +</head> +<body> + + <!-- empty --> + <textarea autocomplete=""> + </textarea> + +</body> +</html> + + diff --git a/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-isvalid.html b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-isvalid.html new file mode 100644 index 0000000000..23bdb9ab8f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-isvalid.html @@ -0,0 +1,80 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset=utf-8> +<title>autocomplete attribute is valid</title> +</head> +<body> + + <textarea autocomplete="on"></textarea> + <textarea autocomplete="off"></textarea> + + <!-- country --> + <textarea autocomplete="country"> + </textarea> + + <textarea autocomplete="billing country"> + </textarea> + + <textarea autocomplete="section-blue country"> + </textarea> + + <textarea autocomplete="section-blue billing country"> + </textarea> + + <!-- cc-type --> + <textarea autocomplete="cc-type"> + </textarea> + + <textarea autocomplete="billing cc-type"> + </textarea> + + <textarea autocomplete="section-blue cc-type"> + </textarea> + + <textarea autocomplete="section-blue billing cc-type"> + </textarea> + + <!-- cc-exp-month --> + <textarea autocomplete="cc-exp-month"> + </textarea> + + <textarea autocomplete="billing cc-exp-month"> + </textarea> + + <textarea autocomplete="section-blue cc-exp-month"> + </textarea> + + <textarea autocomplete="section-blue billing cc-exp-month"> + </textarea> + + <!-- cc-exp-year --> + <textarea autocomplete="cc-exp-year"> + </textarea> + + <textarea autocomplete="billing cc-exp-year"> + </textarea> + + <textarea autocomplete="section-blue cc-exp-year"> + </textarea> + + <textarea autocomplete="section-blue billing cc-exp-year"> + </textarea> + + <!-- tel-country-code --> + <textarea autocomplete="work tel-country-code"> + </textarea> + + <textarea autocomplete="billing work tel-country-code"> + </textarea> + + <textarea autocomplete="section-blue work tel-country-code"> + </textarea> + + <textarea autocomplete="section-blue billing work tel-country-code"> + </textarea> + +</body> +</html> + + diff --git a/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-section-novalid.html b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-section-novalid.html new file mode 100644 index 0000000000..ec1038b00f --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-section-novalid.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset=utf-8> +<title>autocomplete attribute is invalid</title> +</head> +<body> + + <!-- work must come before field type --> + <textarea autocomplete="country section-blue"> + </textarea> + +</body> +</html> + + diff --git a/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-token-novalid.html b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-token-novalid.html new file mode 100644 index 0000000000..761495b52d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-token-novalid.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset=utf-8> +<title>autocomplete attribute is invalid</title> +</head> +<body> + + <!-- unknown field type --> + <textarea autocomplete="qwerty"> + </textarea> + +</body> +</html> + + diff --git a/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-work-novalid.html b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-work-novalid.html new file mode 100644 index 0000000000..6818e26c89 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-work-novalid.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset=utf-8> +<title>autocomplete attribute is invalid</title> +</head> +<body> + + <!-- work must come before field type --> + <textarea autocomplete="country work"> + </textarea> + +</body> +</html> + + |