summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html')
-rw-r--r--testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html b/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html
new file mode 100644
index 0000000000..058e1be83b
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html
@@ -0,0 +1,36 @@
+<!-- DO NOT EDIT THIS FILE.
+Edit the appearance-* file instead and then run:
+ ./tools/appearance-build-webkit-reftests.py
+-->
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Basic User Interface Test: -webkit-appearance: textfield</title>
+<link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching">
+<meta name="assert" content="textfield is an alias to auto except on input type=search.">
+<link rel="match" href="appearance-textfield-001-ref.html">
+<style>
+ #container { width: 500px; }
+ /*
+ * If the value being tested is not supported, then 'none' is used instead,
+ * which is intended to fail the test.
+ */
+ #container > * { -webkit-appearance: none; -webkit-appearance: textfield; }
+</style>
+<div id="container">
+ <a>a</a>
+ <button>button</button>
+ <input type="text" value="input-text">
+ <input type="search" value="input-search">
+ <textarea>textarea</textarea>
+ <input type="button" value="input-button">
+ <input type="submit" value="input-submit">
+ <input type="reset" value="input-reset">
+ <input type="range">
+ <input type="checkbox">
+ <input type="radio">
+ <input type="color">
+ <select><option>select</option></select>
+ <select multiple><option>select-multiple</option></select>
+ <meter value=0.5></meter>
+ <progress value=0.5></progress>
+</div>