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

Side by Side Diff: third_party/WebKit/LayoutTests/transitions/transition-not-interpolable.html

Issue 2521493002: CSS Transitions: Reduce usage of -webkit prefix in layout tests (Closed)
Patch Set: Created 4 years 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 <style> 2 <style>
3 #test { 3 #test {
4 height: 0px; 4 height: 0px;
5 -webkit-transition: height 1000s; 5 transition: height 1000s;
6 background: green; 6 background: green;
7 } 7 }
8 </style> 8 </style>
9 <div id="test">Testing...</div> 9 <div id="test">Testing...</div>
10 <script> 10 <script>
11 if (window.testRunner) { 11 if (window.testRunner) {
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 testRunner.waitUntilDone(); 13 testRunner.waitUntilDone();
14 } 14 }
15 15
(...skipping 10 matching lines...) Expand all
26 } 26 }
27 27
28 test.style.height = 'auto'; 28 test.style.height = 'auto';
29 if (test.clientHeight == 0) { 29 if (test.clientHeight == 0) {
30 return finish('FAIL -- transtion should not apply from 0px to auto'); 30 return finish('FAIL -- transtion should not apply from 0px to auto');
31 } 31 }
32 32
33 return finish('PASS'); 33 return finish('PASS');
34 }; 34 };
35 </script> 35 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698