Bug 1573483 [wpt PR 14994] - [css-ui] Test appearance: textfield, a=testonly
authorSimon Pieters <zcorpan@gmail.com>
Wed, 14 Aug 2019 10:58:11 +0000
changeset 488133 bc4e4bdc9e5d745b64e28a6aac3703db45f92e42
parent 488132 1c1240e0078c851156d74d9b059cf264ad3f1270
child 488134 259ad71a99a1ac33c138057d624543e2ff37693f
push id36435
push usercbrindusan@mozilla.com
push dateThu, 15 Aug 2019 09:46:49 +0000
treeherdermozilla-central@0db07ff50ab5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1573483, 14994
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1573483 [wpt PR 14994] - [css-ui] Test appearance: textfield, a=testonly Automatic update from web-platform-tests [css-ui] Test appearance: textfield Follows https://github.com/w3c/csswg-drafts/pull/3544 -- wpt-commits: 9f01716569ae5dfd79675ea55718e48017d077a8 wpt-pr: 14994
testing/web-platform/tests/css/css-ui/appearance-textfield-001-ref.html
testing/web-platform/tests/css/css-ui/appearance-textfield-001.html
testing/web-platform/tests/css/css-ui/webkit-appearance-textfield-001.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/appearance-textfield-001-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Reference for CSS Basic User Interface Test: appearance: textfield</title>
+<style>
+ #container { width: 500px; }
+</style>
+<div id="container">
+	<a>a</a>
+	<button>button</button>
+	<input type="text" value="input-text">
+	<input type="text" value="input-search"><!-- intentionally type="text" -->
+	<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>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-ui/appearance-textfield-001.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>CSS Basic User Interface Test: 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 > * { appearance: none; 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>
new file mode 100644
--- /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>