blob: 2b476ada60d211868d8a91474b5fd056a4ab40be [file] [log] [blame]
::selection { background: green; }
Test for <i><a href=""></a>
REGRESSION: Selection rects are wrong for images in search results from</i>.
Tests highlighting of replaced objects in table cells with extra height. You should see a dark green box and no red.
<td id="target" style="height: 100px;"><img width="50" height="50" style="background: red;"></td>
var target = document.getElementById("target");
getSelection().setBaseAndExtent(target, 0, target, 1);