Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / block-selection-gap-in-composited-layer.html
blobdb1713a817217d3d30be5fc30690c598d5674c4f
1 <head>
2 <script type="text/javascript" charset="utf-8">
3 function runTest()
5 var target = document.getElementById("target");
6 getSelection().setBaseAndExtent(target, 0, target.nextSibling, 1);
8 </script>
9 <style>
10 #target::selection { background-color: #0f0; }
11 </style>
12 </head>
13 <body onload="runTest()">
14 <div style="transform: translateZ(0); margin-top: 50px; margin-left: 50px;">
15 <div id="target" style="background-color: red; width: 100px; height: 100px; position: absolute;"><br></div>a
16 </div>
17 <script>
18 </script>
19 </body>