blob: cf62609173953e30ccce13fd52459c0e48147c63 [file] [log] [blame]
<!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>