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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-descendants-when-receiving-paint-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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() { 4 function repaintTest() {
5 target.style.opacity = 0.2; 5 target.style.opacity = 0.2;
6 } 6 }
7 onload = runRepaintTest; 7 onload = runRepaintAndPixelTest;
8 </script> 8 </script>
9 <!--Tests paint invalidation on a non-stacking-context squashing layer when a su blayer is created 9 <!--Tests paint invalidation on a non-stacking-context squashing layer when a su blayer is created
10 and the descendants of the sublayer changes paint invalidation container. Passes if we invalidate 10 and the descendants of the sublayer changes paint invalidation container. Passes if we invalidate
11 the descendants of the layer on the squashing layer.--> 11 the descendants of the layer on the squashing layer.-->
12 <div style="will-change: transform; position: fixed"></div> 12 <div style="will-change: transform; position: fixed"></div>
13 <div style="position: relative; border: 1px solid black;"> 13 <div style="position: relative; border: 1px solid black;">
14 <div id="target" style="opacity: 1; height: 50px; width: 50px;"> 14 <div id="target" style="opacity: 1; height: 50px; width: 50px;">
15 <div id="child" style="width: 100px; height: 100px"></div> 15 <div id="child" style="width: 100px; height: 100px"></div>
16 </div> 16 </div>
17 </div> 17 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698