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