tor-browser

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

selection-shadow-dom-crash-print.html (551B)


      1 <!doctype html>
      2 <title>Printing with odd selections doesn't crash</title>
      3 <!-- Really a crashtest but since we can't really have print crashtests, we assert that we print something -->
      4 <link rel="mismatch" href="/css/reference/blank.html">
      5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1672856">
      6 <script>
      7 function go() {
      8  var x = document.getSelection()
      9  x.extend(b)
     10  x.modify("move", "left", "word")
     11  a.remove()
     12 }
     13 </script>
     14 <body onload=go()>
     15 <audio id="a" controls="">
     16 <progress contentEditable>
     17 </audio>
     18 <li id="b">x</li>