blob: fcc9cef95870208e81615527a912a9fbfc5bf031 [file] [log] [blame]
<html>
<head>
<script>
function doTest()
{
var range = document.createRange();
range.selectNode(document.getElementById("target"));
document.getSelection().addRange(range);
}
</script>
</head>
<body onload="doTest()">
<div>
<p>
For <a href="https://bugs.webkit.org/show_bug.cgi?id=32123">Bug 32123</a>.
Hightlight for Selection should fit the target line.
</p>
<span>a</span><div id="target">should just select me</div><span>c</span>
</div>
</body>
</html>