blob: 9ab9048d316b8f424c496e256bb17e86502ecb22 [file] [log] [blame]
<!DOCTYPE html>
<html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest()
{
var obj = document.getElementById("test");
var s = window.getSelection();
s.setPosition(obj, 0);
document.body.innerHTML = "PASS";
}
</script>
<body onload="runTest()">
<div>
<object id="test"></object>
<embed type="application/x-webkit-test-netscape" cleardocumentduringnew></embed>
</div>
</body>
</html>