Test for bug 679459.

This commit is contained in:
Jesse Ruderman 2011-09-08 23:32:07 +02:00
parent d77366f05b
commit ab3a8c4bf0
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var t = document.createTextNode("a");
document.body.appendChild(t);
var r1 = document.createRange();
r1.setEnd(t, 1);
var r2 = document.createRange();
r2.setEnd(t, 0);
r2.deleteContents();
}
</script>
</head>
<body onload="boom();"></body>
</html>

View File

@ -93,4 +93,5 @@ load 642022-1.html
load 646184.html
load 658845-1.svg
load 667336-1.html
load 679459.html
load 679689-1.html