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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/squash-partial-repaint-inside-squashed-layer.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 compositing/squashing/squash-partial-repaint-inside-squashed-layer .html --> 1 <!-- Based on compositing/squashing/squash-partial-repaint-inside-squashed-layer .html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .composited { 5 .composited {
6 transform: translatez(0); 6 transform: translatez(0);
7 } 7 }
8 8
9 .box { 9 .box {
10 width: 100px; 10 width: 100px;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 div:hover { 48 div:hover {
49 background-color: green; 49 background-color: green;
50 transform:translatez(0); 50 transform:translatez(0);
51 } 51 }
52 52
53 </style> 53 </style>
54 <script src="resources/paint-invalidation-test.js"></script> 54 <script src="resources/paint-invalidation-test.js"></script>
55 <script> 55 <script>
56 window.expectedPaintInvalidationObjects = [
57 "LayoutImage (positioned) IMG id='repaintdiv' class='repaintdiv'",
58 ];
59 function paintInvalidationTest() 56 function paintInvalidationTest()
60 { 57 {
61 document.getElementById('repaintdiv').style.background = 'salmon'; 58 document.getElementById('repaintdiv').style.background = 'salmon';
62 } 59 }
63 runPaintInvalidationTest(); 60 runPaintInvalidationTest();
64 </script> 61 </script>
65 </head> 62 </head>
66 <body> 63 <body>
67 <div class="composited box behind"></div> 64 <div class="composited box behind"></div>
68 <div class="box middle"></div> 65 <div class="box middle"></div>
69 <img id="repaintdiv" class="repaintdiv"></img> 66 <img id="repaintdiv" class="repaintdiv"></img>
70 <div class="box top"></div> 67 <div class="box top"></div>
71 </body> 68 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698