Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / paint / invalidation / spv2 / relative-positioned-movement-repaint.html
blob0e914e1322e9afc212441ea5a802e157661d0291
1 <!-- Based on fast/repaint/relative-positioned-movement-repaint.html -->
2 <!DOCTYPE html>
3 <style>
4 #block {
5 display: block;
6 margin: 10px;
7 width: 400px;
8 height: 60px;
9 border: 1px solid black;
10 -webkit-backface-visibility: hidden;
11 position: relative;
12 left: 10px;
14 </style>
15 <script src="resources/paint-invalidation-test.js"></script>
16 <script>
17 window.expectedPaintInvalidationObjects = [
19 function paintInvalidationTest()
21 document.body.offsetTop;
22 var div = document.getElementById("block");
23 div.style.left = '50px';
25 window.onload = runPaintInvalidationTest;
26 </script>
27 <div id="block">When this layer moves it shouldn't generate a repaint rect.</div>