tor-browser

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

select-appearance-dark-mode.html (747B)


      1 <!DOCTYPE html>
      2 <html class=reftest-wait>
      3 <meta name=fuzzy content="maxDifference=0-2;totalPixels=0-15">
      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-dark-mode-ref.html">
      7 <script src="/resources/testdriver.js"></script>
      8 <script src="/resources/testdriver-vendor.js"></script>
      9 
     10 <style>
     11 :root {
     12  color-scheme: dark;
     13 }
     14 select, select::picker(select) {
     15  appearance: base-select;
     16 }
     17 </style>
     18 
     19 <select>
     20  <option>one</option>
     21  <option>two</option>
     22 </select>
     23 
     24 <script>
     25 (async () => {
     26  await test_driver.bless();
     27  document.querySelector('select').showPicker();
     28  document.documentElement.classList.remove('reftest-wait');
     29 })();
     30 </script>