compute-kind-widget-fallback-props-revert-001.html (3378B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: Compute kind of widget: 'revert' keyword for properties that disable native appearance for widgets</title> 4 <link rel="help" href="https://drafts.csswg.org/css-ui-4/#appearance-disabling-properties"> 5 <link rel="help" href="https://html.spec.whatwg.org/#widgets"> 6 <meta name="assert" content="appropriate widget is used when the property has the value 'revert'."> 7 <link rel="match" href="compute-kind-widget-no-fallback-ref.html"> 8 <style> 9 #container { width: 500px; } 10 #container > * { 11 background-color: revert; 12 border-top-color: revert; 13 border-top-style: revert; 14 border-top-width: revert; 15 border-right-color: revert; 16 border-right-style: revert; 17 border-right-width: revert; 18 border-bottom-color: revert; 19 border-bottom-style: revert; 20 border-bottom-width: revert; 21 border-left-color: revert; 22 border-left-style: revert; 23 border-left-width: revert; 24 border-block-start-color: revert; 25 border-block-end-color: revert; 26 border-inline-start-color: revert; 27 border-inline-end-color: revert; 28 border-block-start-style: revert; 29 border-block-end-style: revert; 30 border-inline-start-style: revert; 31 border-inline-end-style: revert; 32 border-block-start-width: revert; 33 border-block-end-width: revert; 34 border-inline-start-width: revert; 35 border-inline-end-width: revert; 36 background-image: revert; 37 background-attachment: revert; 38 background-position: revert; 39 background-clip: revert; 40 background-origin: revert; 41 background-size: revert; 42 border-image-source: revert; 43 border-image-slice: revert; 44 border-image-width: revert; 45 border-image-outset: revert; 46 border-image-repeat: revert; 47 border-top-left-radius: revert; 48 border-top-right-radius: revert; 49 border-bottom-right-radius: revert; 50 border-bottom-left-radius: revert; 51 border-start-start-radius: revert; 52 border-start-end-radius: revert; 53 border-end-start-radius: revert; 54 border-end-end-radius: revert; 55 } 56 #container > #search-text-input { appearance: textfield; } 57 #container > #select-menulist-button { appearance: none; appearance: menulist-button; } 58 </style> 59 60 <div id="container"> 61 <a>a</a> 62 <button id="button">button</button> 63 <input id="button-input" type="button" value="input-button"> 64 <input id="submit-input" type="submit" value="input-submit"> 65 <input id="reset-input" type="reset" value="input-reset"> 66 67 <input id="text-input" type="text" value="input-text"> 68 <input id="search-text-input" type="search" value="input-search-text"> 69 <input id="search-input" type="search" value="input-search"> 70 71 <input id="range-input" type="range"> 72 <input id="checkbox-input" type="checkbox"> 73 <input id="radio-input" type="radio"> 74 <input id="color-input" type="color"> 75 76 <textarea id="textarea">textarea</textarea> 77 <select multiple id="select-listbox"><option>select-listbox</option></select> 78 <select id="select-dropdown-box"><option>select-dropdown-box</option></select> 79 <select id="select-menulist-button"><option>select-menulist-button</option></select> 80 <meter id="meter" value=0.5></meter> 81 <progress id="progress" value=0.5></progress> 82 </div>