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

Side by Side Diff: LayoutTests/css3/filters/composited-layer-promotion-after-outset-overlap-change-using-composited-shadow.html

Issue 637763002: Unprefix usage of -webkit-transform in tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove duplicate transform 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 <html> 1 <html>
2 <head> 2 <head>
3 <!-- 3 <!--
4 This test verifies that software layers are promoted to composited layer s when their filter 4 This test verifies that software layers are promoted to composited layer s when their filter
5 outsets change to overlap a hardware layer. 5 outsets change to overlap a hardware layer.
6 6
7 If the test passes, the green drop-shadow of the black layer should appe ar over the blue 7 If the test passes, the green drop-shadow of the black layer should appe ar over the blue
8 composited layer. 8 composited layer.
9 --> 9 -->
10 <style> 10 <style>
11 #software-layer-to-promote { 11 #software-layer-to-promote {
12 background-color: black; 12 background-color: black;
13 position: absolute; 13 position: absolute;
14 top: 100px; 14 top: 100px;
15 left: 100px; 15 left: 100px;
16 width: 100px; 16 width: 100px;
17 height: 100px; 17 height: 100px;
18 } 18 }
19 .initial-drop-shadow { 19 .initial-drop-shadow {
20 -webkit-filter: drop-shadow(10px 10px 0px green); 20 -webkit-filter: drop-shadow(10px 10px 0px green);
21 } 21 }
22 .final-drop-shadow { 22 .final-drop-shadow {
23 -webkit-filter: drop-shadow(100px 100px 0px green); 23 -webkit-filter: drop-shadow(100px 100px 0px green);
24 } 24 }
25 #composited-layer-to-overlap { 25 #composited-layer-to-overlap {
26 background-color: blue; 26 background-color: blue;
27 -webkit-transform: translateZ(0); 27 transform: translateZ(0);
28 position: absolute; 28 position: absolute;
29 top: 250px; 29 top: 250px;
30 left: 250px; 30 left: 250px;
31 width: 100px; 31 width: 100px;
32 height: 100px; 32 height: 100px;
33 } 33 }
34 </style> 34 </style>
35 <script> 35 <script>
36 if (window.testRunner) 36 if (window.testRunner)
37 testRunner.waitUntilDone(); 37 testRunner.waitUntilDone();
(...skipping 24 matching lines...) Expand all
62 } 62 }
63 } 63 }
64 </script> 64 </script>
65 </head> 65 </head>
66 <body onload="runTest()"> 66 <body onload="runTest()">
67 <div id="composited-layer-to-overlap"></div> 67 <div id="composited-layer-to-overlap"></div>
68 <div id="software-layer-to-promote" class="initial-drop-shadow"></div> 68 <div id="software-layer-to-promote" class="initial-drop-shadow"></div>
69 <pre id="console"></pre> 69 <pre id="console"></pre>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698