summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/textarea/autocomplete-isvalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/textarea/autocomplete-isvalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/textarea/autocomplete-isvalid.html80
1 files changed, 80 insertions, 0 deletions
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>
+
+