mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
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
This commit is contained in:
parent
74b44b8672
commit
b9d6703d74
@ -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>
|
@ -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>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user