select-appearance-disabled-option.html (745B)
1 <!DOCTYPE html> 2 <html class=reftest-wait> 3 <meta name=fuzzy content="maxDifference=0-41;totalPixels=0-1"> 4 <link rel=author href="mailto:jarhar@chromium.org"> 5 <link rel=help href="https://github.com/whatwg/html/issues/9799"> 6 <link rel=match href="select-appearance-disabled-option-ref.html"> 7 <script src="/resources/testdriver.js"></script> 8 <script src="/resources/testdriver-vendor.js"></script> 9 10 <style> 11 select, select::picker(select) { 12 appearance: base-select; 13 } 14 </style> 15 16 <select> 17 <option>option</option> 18 <option disabled>disabled option</option> 19 </select> 20 21 <script> 22 (async () => { 23 await test_driver.bless(); 24 document.querySelector('select').showPicker(); 25 document.documentElement.classList.remove('reftest-wait'); 26 })(); 27 </script>