blob: 641515a9a2a4c37e580c13cd1d026836dd4f1aba [file] [log] [blame]
<head>
<script type="text/javascript" charset="utf-8">
if (window.testRunner)
testRunner.waitUntilDone();
function runTest()
{
var target = document.getElementById("target");
getSelection().setBaseAndExtent(target, 0, target.nextSibling, 1);
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<style>
#target::selection { background-color: white; }
</style>
</head>
<body onload="setTimeout(runTest, 10)">
<div style="-webkit-transform: translateZ(0); margin-top: 50px; margin-left: 50px;">
<div id="target" style="background-color: red; width: 100px; height: 100px; position: absolute;"><br></div>a
</div>
<script>
</script>
</body>