Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / block-selection-gap-stale-cache-2.html
blobadfd5bc1eb3a5c3a99276572c36b485033978f6a
1 <head>
2 <style>
3 ::selection { background-color: red; }
4 </style>
5 <script type="text/javascript" charset="utf-8">
6 function runTest()
8 sel.empty();
10 </script>
11 </head>
12 <body onload="runTest()">
13 <div style="height: 100px; overflow-y: scroll;">
14 <div style="margin-top: 50px;"><div id="target" style="display: inline-block; width: 100px; height: 100px;"></div><br></div>&nbsp;
15 </div>
16 <script>
17 var sel = getSelection();
18 var target = document.getElementById("target");
20 sel.setBaseAndExtent(target, 0, target.parentElement.nextSibling, 0);
21 document.body.offsetTop;
22 target.parentElement.parentElement.scrollTop = 50;
23 </script>