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