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

Side by Side Diff: LayoutTests/css3/filters/remove-filter-repaint.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 <html> 2 <html>
3 <head> 3 <head>
4 <title>filter-bug</title> 4 <title>filter-bug</title>
5 <style> 5 <style>
6 .backdrop { 6 .backdrop {
7 position: absolute; 7 position: absolute;
8 top: 0; 8 top: 0;
9 left: 0; 9 left: 0;
10 height: 100px; 10 height: 100px;
(...skipping 13 matching lines...) Expand all
24 24
25 .play { 25 .play {
26 font-size: 36pt; 26 font-size: 36pt;
27 background-color: navy; 27 background-color: navy;
28 color: white; 28 color: white;
29 } 29 }
30 .play.changed { 30 .play.changed {
31 -webkit-filter: drop-shadow(black 0 0 5px); 31 -webkit-filter: drop-shadow(black 0 0 5px);
32 } 32 }
33 .composited { 33 .composited {
34 -webkit-transform: translateZ(0); 34 transform: translateZ(0);
35 } 35 }
36 36
37 </style> 37 </style>
38 <script> 38 <script>
39 if (window.testRunner) 39 if (window.testRunner)
40 testRunner.waitUntilDone(); 40 testRunner.waitUntilDone();
41 41
42 function doTest() 42 function doTest()
43 { 43 {
44 window.setTimeout(function() { 44 window.setTimeout(function() {
45 45
46 document.getElementById('play').classList.remove('changed'); 46 document.getElementById('play').classList.remove('changed');
47 if (window.testRunner) 47 if (window.testRunner)
48 testRunner.notifyDone(); 48 testRunner.notifyDone();
49 }, 0); 49 }, 0);
50 } 50 }
51 51
52 window.addEventListener('load', doTest, false); 52 window.addEventListener('load', doTest, false);
53 </script> 53 </script>
54 </head> 54 </head>
55 <body> 55 <body>
56 <div class="composited backdrop"></div> 56 <div class="composited backdrop"></div>
57 <div class="overlay"> 57 <div class="overlay">
58 <span id="play" class="play changed">this should be 58 <span id="play" class="play changed">this should be
59 visible</span> 59 visible</span>
60 </div> 60 </div>
61 </body> 61 </body>
62 </html> 62 </html>
OLDNEW
« no previous file with comments | « LayoutTests/css3/filters/nested-filter.html ('k') | LayoutTests/css3/filters/remove-filter-repaint-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698