5 <script type=
"text/javascript">
8 var span
= document
.getElementById('span');
9 window
.getSelection().setBaseAndExtent(span
, 0, span
, 1);
10 var image
= document
.getElementById('image');
11 image
.style
.height
= "30px";
15 <body onload=
"test()">
17 This is a regression test for
<i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=8835">http://bugzilla.opendarwin.org/show_bug.cgi?id=
8835</a>
18 REGRESSION: Line moves but selection highlight stays behind
</i>.
22 <img style=
"height: 2px;" id=
"image"><br>
24 <span id=
"span">The highlight should be on this line, not above it.
</span>