tor-browser

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

select-invalidation.html (781B)


      1 <!DOCTYPE html>
      2 <html class="reftest-wait">
      3 <meta charset="utf-8">
      4 <title>Select rendering invalidation</title>
      5 <link rel="author" href="mailto:masonf@chromium.org">
      6 <link rel="help"  href="https://html.spec.whatwg.org/multipage/form-elements.html#the-select-element">
      7 <link rel="match"  href="select-invalidation-ref.html">
      8 
      9 <style>
     10  select {
     11    color: red;
     12  }
     13 </style>
     14 
     15 <select id=select>
     16  <option>The down arrow should be green</option>
     17  <option>value B</option>
     18 </select>
     19 
     20 <script>
     21  requestAnimationFrame(() => {
     22    requestAnimationFrame(() => {
     23      select.style.color = "lime";
     24      requestAnimationFrame(() => {
     25        requestAnimationFrame(() => {
     26          document.documentElement.classList.remove("reftest-wait");
     27        });
     28      });
     29    });
     30  });
     31 </script>