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

Side by Side Diff: LayoutTests/css3/filters/composited-layer-bounds-after-sw-blur-animation.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 <html> 1 <html>
2 <head> 2 <head>
3 <!-- 3 <!--
4 On Safari, this test verifies that a composited layer's bounds include f ilter outsets after 4 On Safari, this test verifies that a composited layer's bounds include f ilter outsets after
5 a software-painted blur animation. On Safari, the filter animation is pa inted in software 5 a software-painted blur animation. On Safari, the filter animation is pa inted in software
6 because drop-shadow appears before another filter in the chain. 6 because drop-shadow appears before another filter in the chain.
7 7
8 If the test passes, you should see a blurred-out green element. Its comp osited layer should 8 If the test passes, you should see a blurred-out green element. Its comp osited layer should
9 be large enough so that the blur does not appear clipped. 9 be large enough so that the blur does not appear clipped.
10 --> 10 -->
11 <style> 11 <style>
12 #composited-layer { 12 #composited-layer {
13 background-color: green; 13 background-color: green;
14 -webkit-transform: translateZ(0); 14 transform: translateZ(0);
15 position: absolute; 15 position: absolute;
16 top: 100px; 16 top: 100px;
17 left: 100px; 17 left: 100px;
18 width: 100px; 18 width: 100px;
19 height: 100px; 19 height: 100px;
20 } 20 }
21 .initial-drop-shadow { 21 .initial-drop-shadow {
22 /* Safari paints filters in software when drop-shadow appears before another filter in the chain. */ 22 /* Safari paints filters in software when drop-shadow appears before another filter in the chain. */
23 -webkit-filter: drop-shadow(10px 10px 0px black) blur(0); 23 -webkit-filter: drop-shadow(10px 10px 0px black) blur(0);
24 } 24 }
(...skipping 30 matching lines...) Expand all
55 testRunner.dumpAsText(); 55 testRunner.dumpAsText();
56 testRunner.notifyDone(); 56 testRunner.notifyDone();
57 } 57 }
58 </script> 58 </script>
59 </head> 59 </head>
60 <body onload="startTest()"> 60 <body onload="startTest()">
61 <div id="composited-layer" class="initial-drop-shadow"></div> 61 <div id="composited-layer" class="initial-drop-shadow"></div>
62 <pre id="console"></pre> 62 <pre id="console"></pre>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698