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

Side by Side Diff: LayoutTests/css3/filters/filter-repaint-shadow-rotated.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 <!-- 2 <!--
3 This tests verifies that blur is repainted using the full source image of th e element instead of just the dirty area. 3 This tests verifies that blur is repainted using the full source image of th e element instead of just the dirty area.
4 Also it tests that the clipping or the transform rectangle of the box is not affecting the shadow. 4 Also it tests that the clipping or the transform rectangle of the box is not affecting the shadow.
5 There should be two boxes on the screen: left one should be green and right one should be green, and both have the same size. 5 There should be two boxes on the screen: left one should be green and right one should be green, and both have the same size.
6 No red should be visible. 6 No red should be visible.
7 --> 7 -->
8 <html> 8 <html>
9 <head> 9 <head>
10 <style> 10 <style>
(...skipping 15 matching lines...) Expand all
26 background-color: green; 26 background-color: green;
27 } 27 }
28 28
29 .before { 29 .before {
30 background-color: transparent; 30 background-color: transparent;
31 } 31 }
32 32
33 .blur { 33 .blur {
34 -webkit-filter: drop-shadow(0px -100px 0px blue); 34 -webkit-filter: drop-shadow(0px -100px 0px blue);
35 -webkit-transform-origin: 50px 50px; 35 -webkit-transform-origin: 50px 50px;
36 -webkit-transform: rotate(90deg); 36 transform: rotate(90deg);
37 } 37 }
38 </style> 38 </style>
39 39
40 <script src="../../resources/run-after-display.js"></script> 40 <script src="../../resources/run-after-display.js"></script>
41 <script> 41 <script>
42 if (window.testRunner) { 42 if (window.testRunner) {
43 testRunner.dumpAsTextWithPixelResults(); 43 testRunner.dumpAsTextWithPixelResults();
44 testRunner.waitUntilDone(); 44 testRunner.waitUntilDone();
45 } 45 }
46 function repaintTest() 46 function repaintTest()
47 { 47 {
48 runAfterDisplay(function() { 48 runAfterDisplay(function() {
49 document.querySelector(".before").classList.remove("before"); 49 document.querySelector(".before").classList.remove("before");
50 if (window.testRunner) 50 if (window.testRunner)
51 testRunner.notifyDone(); 51 testRunner.notifyDone();
52 }); 52 });
53 } 53 }
54 </script> 54 </script>
55 </head> 55 </head>
56 <body onload="repaintTest()"> 56 <body onload="repaintTest()">
57 <div class="clipping_box"> 57 <div class="clipping_box">
58 <div class="blur"> 58 <div class="blur">
59 <div class="empty_box"></div> 59 <div class="empty_box"></div>
60 <div class="box before"></div> 60 <div class="box before"></div>
61 </div> 61 </div>
62 </div> 62 </div>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698