Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dynamic / selection-highlight-adjust.html
blobfa677762993a0c36e9921ac8b642a4ca36fbd4b3
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <title></title>
5 <script type="text/javascript">
6 function test()
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";
13 </script>
14 </head>
15 <body onload="test()">
16 <p>
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>.
19 </p>
20 <hr>
21 <div>
22 <img style="height: 2px;" id="image"><br>
23 <br>
24 <span id="span">The highlight should be on this line, not above it.</span>
25 <br>
26 </div>
27 </body>
28 </html>