Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/relative-positioned-movement-repaint.html

Issue 1366763002: Text expectations of paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- Based on fast/repaint/relative-positioned-movement-repaint.html --> 1 <!-- Based on fast/repaint/relative-positioned-movement-repaint.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <style> 3 <style>
4 #block { 4 #block {
5 display: block; 5 display: block;
6 margin: 10px; 6 margin: 10px;
7 width: 400px; 7 width: 400px;
8 height: 60px; 8 height: 60px;
9 border: 1px solid black; 9 border: 1px solid black;
10 -webkit-backface-visibility: hidden; 10 -webkit-backface-visibility: hidden;
11 position: relative; 11 position: relative;
12 left: 10px; 12 left: 10px;
13 } 13 }
14 </style> 14 </style>
15 <script src="resources/paint-invalidation-test.js"></script> 15 <script src="resources/paint-invalidation-test.js"></script>
16 <script> 16 <script>
17 window.expectedPaintInvalidationObjects = [
18 ];
19 function paintInvalidationTest() 17 function paintInvalidationTest()
20 { 18 {
21 document.body.offsetTop; 19 document.body.offsetTop;
22 var div = document.getElementById("block"); 20 var div = document.getElementById("block");
23 div.style.left = '50px'; 21 div.style.left = '50px';
24 } 22 }
25 window.onload = runPaintInvalidationTest; 23 window.onload = runPaintInvalidationTest;
26 </script> 24 </script>
27 <div id="block">When this layer moves it shouldn't generate a repaint rect.</div > 25 <div id="block">When this layer moves it shouldn't generate a repaint rect.</div >
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698