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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/squashing/squash-partial-repaint-inside-squashed-layer.html

Issue 1994373002: Convert some repaint tests into ref tests (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 <head> 2 <head>
3 <style> 3 <style>
4 .composited { 4 .composited {
5 transform: translatez(0); 5 transform: translatez(0);
6 } 6 }
7 7
8 .box { 8 .box {
9 width: 100px; 9 width: 100px;
10 height: 100px; 10 height: 100px;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 transform:translatez(0); 49 transform:translatez(0);
50 } 50 }
51 51
52 </style> 52 </style>
53 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 53 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
54 <script> 54 <script>
55 function repaintTest() 55 function repaintTest()
56 { 56 {
57 document.getElementById('repaintdiv').style.background = 'salmon'; 57 document.getElementById('repaintdiv').style.background = 'salmon';
58 } 58 }
59 runRepaintTest(); 59 runRepaintAndPixelTest();
60 </script> 60 </script>
61 </head> 61 </head>
62 <body> 62 <body>
63 <div class="composited box behind"></div> 63 <div class="composited box behind"></div>
64 <div class="box middle"></div> 64 <div class="box middle"></div>
65 <img id="repaintdiv" class="repaintdiv"></img> 65 <img id="repaintdiv" class="repaintdiv"></img>
66 <div class="box top"></div> 66 <div class="box top"></div>
67 </body> 67 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698