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

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

Issue 785333002: Delete the Layer Squashing runtime feature. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | Annotate | Revision Log
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 } 45 }
46 46
47 div:hover { 47 div:hover {
48 background-color: green; 48 background-color: green;
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 if (window.internals)
56 internals.settings.setLayerSquashingEnabled(true);
57
58 function repaintTest() 55 function repaintTest()
59 { 56 {
60 document.getElementById('repaintdiv').style.background = 'salmon'; 57 document.getElementById('repaintdiv').style.background = 'salmon';
61 } 58 }
62 runRepaintTest(); 59 runRepaintTest();
63 </script> 60 </script>
64 </head> 61 </head>
65 <body> 62 <body>
66 <div class="composited box behind"></div> 63 <div class="composited box behind"></div>
67 <div class="box middle"></div> 64 <div class="box middle"></div>
68 <img id="repaintdiv" class="repaintdiv"></img> 65 <img id="repaintdiv" class="repaintdiv"></img>
69 <div class="box top"></div> 66 <div class="box top"></div>
70 </body> 67 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698