blob: 209ec2595a3fb357993cee0cd1ba2c32db98aa21 [file] [log] [blame]
<html>
<head>
<script>
function loaded() {
var selection = window.getSelection();
var range = document.createRange();
range.selectNode(document.getElementById("selectMe"));
selection.addRange(range);
var table = document.createElement("table");
document.getElementById('form').appendChild(table);
}
</script>
</head>
<body onload="loaded()">
<table><tr><td id="selectMe">This test passes if it does not crash.</td></tr><form style="display:inline" id="form"></form></table>
</body>
</html>