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.html (479B)


      1 <!doctype html>
      2 <link rel="match" href="dont-share-style-to-top-layer-ref.html">
      3 <link rel="help" href="https://fullscreen.spec.whatwg.org/#new-stacking-layer">
      4 <style>
      5 dialog {
      6  position: static;
      7 }
      8 #modal {
      9  outline: none;
     10 }
     11 </style>
     12 <p>Test that a non-top layer element doesn't share style with a top layer
     13 element. The test passes if you see two boxes.</p>
     14 <dialog open></dialog>
     15 <dialog id="modal"></dialog>
     16 <script>
     17 document.querySelector('#modal').showModal();
     18 </script>