tor-browser

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

select-in-display-none.html (602B)


      1 <!DOCTYPE html>
      2 <html class="test-wait">
      3 <!-- Ensure that a <select> in an area that becomes display:none after
      4     being parsed as a <details> does not cause instability in the AX tree -->
      5 <body>
      6  <main>
      7    <details>
      8      <summary>Summary</summary>
      9      <input type="checkbox"/>
     10      <select>
     11        <option value="abc">abc</option>
     12      </select>
     13    </details>
     14  </main>
     15 </body>
     16 <script>
     17 document.addEventListener('DOMContentLoaded', () => {
     18  requestAnimationFrame(() => {
     19    requestAnimationFrame(() => {
     20      document.documentElement.className = '';
     21    });
     22  });
     23 });
     24 </script>
     25 </html>