tor-browser

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

select-appearance-font-inheriting.html (932B)


      1 <!DOCTYPE html>
      2 <html class=reftest-wait>
      3 <meta name=fuzzy content="maxDifference=0-55;totalPixels=0-8">
      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-font-inheriting-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 body {
     15  font-style: italic;
     16  font-weight: bold;
     17  font-stretch: expanded;
     18  font-size: 13px;
     19  font-family: monospace;
     20 }
     21 </style>
     22 
     23 <select>
     24  <option>one</option>
     25  <option>two</option>
     26 </select>
     27 
     28 <script>
     29 (async () => {
     30  await new Promise(requestAnimationFrame);
     31  await test_driver.bless();
     32  document.querySelector('select').showPicker();
     33  await new Promise(requestAnimationFrame);
     34  document.documentElement.classList.remove('reftest-wait');
     35 })();
     36 </script>