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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/background-image-paint-invalidation.html

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body style="background: ; width: 800px; height: 2000px;"> 2 <body style="background: ; width: 800px; height: 2000px;">
3 </body> 3 </body>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></script> 4 <script src="resources/repaint.js" type="text/javascript"></script>
5 <script> 5 <script>
6 // Tests that repaint when changing a document background image invalidates the whole document, not just the part that is visible on the screen. 6 // Tests that repaint when changing a document background image invalidates the whole document, not just the part that is visible on the screen.
7 7
8 function repaintTest() { 8 function repaintTest() {
9 document.body.style.background = 'url(resources/ducky.png)'; 9 document.body.style.background = 'url(resources/ducky.png)';
10 } 10 }
11 runRepaintTest(); 11 runRepaintTest();
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698