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