Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / line-layout / selection-highlight-overlap.html
blobe55a61e44c998c09ceedac9fc444a1c1b384be1b
1 <style>
2 body { font-size: 64px; font-family: Ahem; color: transparent; }
3 div { outline: 1px dashed green; }
4 div::selection { background-color: rgba(0, 0, 255, .4); }
5 </style>
6 <div id="start" style="line-height: 30px; outline: none">queue theory</div>
7 <div>problem</div>
8 <div id="end" style="margin-top: -10px;">information</div>
9 <script>
10 getSelection().setBaseAndExtent(document.getElementById("start").firstChild, 2, document.getElementById("end").firstChild, 4);
11 </script>