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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/filters/filter-repaint-shadow.html

Issue 2065593002: Unprefix the CSS 'filter' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disabler. Try different DCHECK expressions. Created 4 years, 6 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 shadow is repainted using the full source image of the element instead of just the dirty area. 3 This tests verifies that shadow is repainted using the full source image of the element instead of just the dirty area.
4 There should be 3 green boxes of same size with blue shadow on the lower rig ht corner. Check that the shadow is not interrupted. 4 There should be 3 green boxes of same size with blue shadow on the lower rig ht corner. Check that the shadow is not interrupted.
5 --> 5 -->
6 <html> 6 <html>
7 <head> 7 <head>
8 <style> 8 <style>
9 .box { 9 .box {
10 margin: 10px; 10 margin: 10px;
11 height: 50px; 11 height: 50px;
12 width: 50px; 12 width: 50px;
13 background-color: green; 13 background-color: green;
14 } 14 }
15 15
16 .before { 16 .before {
17 background-color: red; 17 background-color: red;
18 } 18 }
19 19
20 .shadow { 20 .shadow {
21 margin: 50px; 21 margin: 50px;
22 -webkit-filter: drop-shadow(10px 10px 10px blue); 22 filter: drop-shadow(10px 10px 10px blue);
23 } 23 }
24 </style> 24 </style>
25 25
26 <script src="../../resources/run-after-layout-and-paint.js"></script> 26 <script src="../../resources/run-after-layout-and-paint.js"></script>
27 <script> 27 <script>
28 if (window.testRunner) { 28 if (window.testRunner) {
29 testRunner.dumpAsTextWithPixelResults(); 29 testRunner.dumpAsTextWithPixelResults();
30 testRunner.waitUntilDone(); 30 testRunner.waitUntilDone();
31 } 31 }
32 32
(...skipping 11 matching lines...) Expand all
44 <body onload="repaintTest()"> 44 <body onload="repaintTest()">
45 45
46 <div class="shadow"> 46 <div class="shadow">
47 <div class="box"></div> 47 <div class="box"></div>
48 <div class="box before"></div> 48 <div class="box before"></div>
49 <div class="box"></div> 49 <div class="box"></div>
50 </div> 50 </div>
51 51
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698