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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/squashing/repaint-via-layout-offset.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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <style> 3 <style>
4 #container { 4 #container {
5 position: absolute; 5 position: absolute;
6 z-index: 0; 6 z-index: 0;
7 left: 50px; 7 left: 50px;
8 top: 50px; 8 top: 50px;
9 } 9 }
10 10
(...skipping 12 matching lines...) Expand all
23 </style> 23 </style>
24 <div style="width:200px; height:200px; transform: translateZ(0px); background-co lor: lightblue"></div> 24 <div style="width:200px; height:200px; transform: translateZ(0px); background-co lor: lightblue"></div>
25 <div id="container"> 25 <div id="container">
26 <span class="child"></span> 26 <span class="child"></span>
27 <span class="child"></span> 27 <span class="child"></span>
28 </div> 28 </div>
29 <script> 29 <script>
30 function repaintTest() { 30 function repaintTest() {
31 document.querySelectorAll('.child')[1].classList.add('embiggen'); 31 document.querySelectorAll('.child')[1].classList.add('embiggen');
32 } 32 }
33 runRepaintTest(); 33 runRepaintAndPixelTest();
34 </script> 34 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698