gecko-dev/dom/base/crashtests/679459.html

22 строки
322 B
HTML
Исходник Обычный вид История

2011-09-09 01:32:07 +04:00
<!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>