OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/polyfill.js"></script> | 4 <script src="resources/polyfill.js"></script> |
5 <style> | 5 <style> |
6 .box { | 6 .box { |
7 height: 100px; | 7 height: 100px; |
8 width: 100px; | 8 width: 100px; |
9 margin: 10px; | 9 margin: 10px; |
10 background-color: gray; | 10 background-color: gray; |
(...skipping 24 matching lines...) Expand all Loading... |
35 box.className = 'box fade'; | 35 box.className = 'box fade'; |
36 }, 0); | 36 }, 0); |
37 } | 37 } |
38 | 38 |
39 runTransitionTest(expectedValues, setupTest, usePauseAPI); | 39 runTransitionTest(expectedValues, setupTest, usePauseAPI); |
40 </script> | 40 </script> |
41 </head> | 41 </head> |
42 <body> | 42 <body> |
43 <!-- Test for [bug 93755] ShadowRoot insertion point change aborts css trans
ition, https://bugs.webkit.org/show_bug.cgi?id=93755 --> | 43 <!-- Test for [bug 93755] ShadowRoot insertion point change aborts css trans
ition, https://bugs.webkit.org/show_bug.cgi?id=93755 --> |
44 <!-- If this test pass, css transition will be started and --> | 44 <!-- If this test pass, css transition will be started and --> |
45 <!-- the css transition will be paused by using pauseTransitionAtTimeOnEleme
nt. --> | 45 <!-- the css transition will be paused by using pauseAnimations. --> |
46 <div id="box" class="box" style="background: green;"> | 46 <div id="box" class="box" style="background: green;"> |
47 <div>Content</div> | 47 <div>Content</div> |
48 <div>New Content</div> | 48 <div>New Content</div> |
49 </div> | 49 </div> |
50 | 50 |
51 <div id="result"></div> | 51 <div id="result"></div> |
52 </body> | 52 </body> |
53 </html> | 53 </html> |
OLD | NEW |