tor-browser

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

modal-dialog-in-replaced-renderer.html (709B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>Modal dialog inside replaced renderer should not generate box</title>
      5 <link rel="match" href="modal-dialog-in-replaced-renderer-ref.html">
      6 <link rel="help" href="https://fullscreen.spec.whatwg.org/#new-stacking-layer">
      7 <style>
      8 dialog {
      9    background: green;
     10    border-color: green;
     11 }
     12 div {
     13    content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPAQMAAAABGAcJAAAAA1BMVEUAgACc+aWRAAAADElEQVR42mNgIAEAAAAtAAH7KhMqAAAAAElFTkSuQmCC);
     14 }
     15 </style>
     16 </head>
     17 <body>
     18 <p>The test passes if you see a green square near the top of the viewport.
     19 <div>
     20 <dialog id="dialog"></dialog>
     21 </div>
     22 <script>
     23 document.getElementById('dialog').showModal();
     24 </script>
     25 </body>
     26 </html>