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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/background-image-paint-invalidation.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/background-image-paint-invalidation.html --> 1 <!-- Based on fast/repaint/background-image-paint-invalidation.html -->
2 <!DOCTYPE html> 2 <!DOCTYPE html>
3 <body style="background: ; width: 800px; height: 2000px;"> 3 <body style="background: ; width: 800px; height: 2000px;">
4 </body> 4 </body>
5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri pt> 5 <script src="resources/paint-invalidation-test.js" type="text/javascript"></scri pt>
6 <script> 6 <script>
7 // Tests that repaint when changing a document background image invalidates the whole document, not just the part that is visible on the screen. 7 // Tests that repaint when changing a document background image invalidates the whole document, not just the part that is visible on the screen.
8 8
9 window.expectedPaintInvalidationObjects = [
10 "LayoutView #document",
11 "LayoutBlockFlow BODY",
12 ];
13 function paintInvalidationTest() { 9 function paintInvalidationTest() {
14 document.body.style.background = 'url(../../../fast/repaint/resources/ducky. png)'; 10 document.body.style.background = 'url(../../../fast/repaint/resources/ducky. png)';
15 } 11 }
16 runPaintInvalidationTest(); 12 runPaintInvalidationTest();
17 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698