tor-browser

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

select-display-block.tentative.html (914B)


      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/whatwg/html/issues/9799">
      6 <link rel=match href="select-display-block-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 select {
     15  width: 100px;
     16 }
     17 .block {
     18  display: block;
     19 }
     20 </style>
     21 
     22 <select>
     23  <option>one</option>
     24  <option>two</option>
     25 </select>
     26 
     27 <script>
     28 (async () => {
     29  await new Promise(requestAnimationFrame);
     30  await new Promise(requestAnimationFrame);
     31  document.querySelector('select').classList.add('block');
     32  await new Promise(requestAnimationFrame);
     33  await new Promise(requestAnimationFrame);
     34  document.documentElement.classList.remove('reftest-wait');
     35 })();
     36 </script>