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

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

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 -webkit-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;
11 } 11 }
12 12
13 .behind { 13 .behind {
14 position: absolute; 14 position: absolute;
15 z-index: 1; 15 z-index: 1;
(...skipping 23 matching lines...) Expand all
39 .top { 39 .top {
40 position: absolute; 40 position: absolute;
41 z-index: 1; 41 z-index: 1;
42 top: 280px; 42 top: 280px;
43 left: 340px; 43 left: 340px;
44 background-color: cyan; 44 background-color: cyan;
45 } 45 }
46 46
47 div:hover { 47 div:hover {
48 background-color: green; 48 background-color: green;
49 -webkit-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) 55 if (window.internals)
56 internals.settings.setLayerSquashingEnabled(true); 56 internals.settings.setLayerSquashingEnabled(true);
57 57
58 function repaintTest() 58 function repaintTest()
59 { 59 {
60 document.getElementById('repaintdiv').style.background = 'salmon'; 60 document.getElementById('repaintdiv').style.background = 'salmon';
61 } 61 }
62 runRepaintTest(); 62 runRepaintTest();
63 </script> 63 </script>
64 </head> 64 </head>
65 <body> 65 <body>
66 <div class="composited box behind"></div> 66 <div class="composited box behind"></div>
67 <div class="box middle"></div> 67 <div class="box middle"></div>
68 <img id="repaintdiv" class="repaintdiv"></img> 68 <img id="repaintdiv" class="repaintdiv"></img>
69 <div class="box top"></div> 69 <div class="box top"></div>
70 </body> 70 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698