tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

select-appearance-option-with-label.html (738B)


      1 <!DOCTYPE html>
      2 <html class=reftest-wait>
      3 <meta name=fuzzy content="maxDifference=0-3;totalPixels=0-1">
      4 <link rel=author href="mailto:jarhar@chromium.org">
      5 <link rel=help href="https://github.com/openui/open-ui/issues/1115">
      6 <link rel=match href="select-appearance-button-ref.html">
      7 <script src="/resources/testdriver.js"></script>
      8 <script src="/resources/testdriver-vendor.js"></script>
      9 
     10 <style>
     11 select, ::picker(select) {
     12  appearance: base-select;
     13 }
     14 </style>
     15 
     16 <select>
     17  <option label=one>text one</option>
     18  <option label=two>text two</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>