tor-browser

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

dont-share-style-to-top-layer-ref.html (355B)


      1 <!doctype html>
      2 <style>
      3 dialog {
      4  outline: none;
      5 }
      6 #non-modal {
      7    position: static;
      8 }
      9 </style>
     10 <p>Test that a non-top layer element doesn't share style with a top layer
     11 element. The test passes if you see two boxes.</p>
     12 <dialog id="non-modal" open></dialog>
     13 <dialog id="modal"></dialog>
     14 <script>
     15 document.querySelector('#modal').showModal();
     16 </script>