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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/obscured-background-no-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/obscured-background-no-repaint.html --> 1 <!-- Based on fast/repaint/obscured-background-no-repaint.html -->
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../fast/repaint/../../resources/run-after-layout-and-paint.js "></script> 4 <script src="../../../fast/repaint/../../resources/run-after-layout-and-paint.js "></script>
5 <script src="resources/paint-invalidation-test.js"></script> 5 <script src="resources/paint-invalidation-test.js"></script>
6 <style type="text/css"> 6 <style type="text/css">
7 #test1 div { 7 #test1 div {
8 height: 100px; 8 height: 100px;
9 width: 100px; 9 width: 100px;
10 } 10 }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 background-image: url(../../../fast/repaint/resources/animated.gif) 45 background-image: url(../../../fast/repaint/resources/animated.gif)
46 } 46 }
47 </style> 47 </style>
48 <script> 48 <script>
49 // Test that obscured animated gif does not trigger repaints. 49 // Test that obscured animated gif does not trigger repaints.
50 if (window.testRunner) { 50 if (window.testRunner) {
51 testRunner.waitUntilDone(); 51 testRunner.waitUntilDone();
52 testRunner.dumpAsText(); 52 testRunner.dumpAsText();
53 } 53 }
54 window.testIsAsync = true; 54 window.testIsAsync = true;
55 window.expectedPaintInvalidationObjects = [
56 ];
57 function paintInvalidationTest() 55 function paintInvalidationTest()
58 { 56 {
59 runAfterLayoutAndPaint(finishPaintInvalidationTest); 57 runAfterLayoutAndPaint(finishPaintInvalidationTest);
60 } 58 }
61 59
62 function start() { 60 function start() {
63 if (!window.testRunner || !window.internals) 61 if (!window.testRunner || !window.internals)
64 return; 62 return;
65 63
66 var img = new Image(); 64 var img = new Image();
(...skipping 23 matching lines...) Expand all
90 <a> 88 <a>
91 <div></div> 89 <div></div>
92 <div> 90 <div>
93 <img src="../../../fast/repaint/resources/apple.jpg"> 91 <img src="../../../fast/repaint/resources/apple.jpg">
94 </div> 92 </div>
95 </a> 93 </a>
96 </div> 94 </div>
97 </div> 95 </div>
98 </body> 96 </body>
99 </html> 97 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698