webkit-appearance-textfield-001.html (1286B)
1 <!-- DO NOT EDIT THIS FILE. 2 Edit the appearance-* file instead and then run: 3 ./tools/appearance-build-webkit-reftests.py 4 --> 5 <!DOCTYPE html> 6 <meta charset="utf-8"> 7 <title>CSS Basic User Interface Test: -webkit-appearance: textfield</title> 8 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-switching"> 9 <meta name="assert" content="textfield is an alias to auto except on input type=search."> 10 <link rel="match" href="appearance-textfield-001-ref.html"> 11 <style> 12 #container { width: 500px; } 13 /* 14 * If the value being tested is not supported, then 'none' is used instead, 15 * which is intended to fail the test. 16 */ 17 #container > * { -webkit-appearance: none; -webkit-appearance: textfield; } 18 </style> 19 <div id="container"> 20 <a>a</a> 21 <button>button</button> 22 <input type="text" value="input-text"> 23 <input type="search" value="input-search"> 24 <textarea>textarea</textarea> 25 <input type="button" value="input-button"> 26 <input type="submit" value="input-submit"> 27 <input type="reset" value="input-reset"> 28 <input type="range"> 29 <input type="checkbox"> 30 <input type="radio"> 31 <input type="color"> 32 <select><option>select</option></select> 33 <select multiple><option>select-multiple</option></select> 34 <meter value=0.5></meter> 35 <progress value=0.5></progress> 36 </div>