mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-05 00:25:27 +00:00
22 lines
322 B
HTML
22 lines
322 B
HTML
<!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>
|