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

Side by Side Diff: third_party/WebKit/ManualTests/animation/compositor-transform-prevented-by-motion-path.html

Issue 2827003002: CSS Motion Path: delete implementation of motion-path property (Closed)
Patch Set: ManualTests Created 3 years, 7 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 <style> 4 <style>
5 5
6 div { 6 div {
7 position: absolute; 7 position: absolute;
8 height: 90px; 8 height: 90px;
9 width: 90px; 9 width: 90px;
10 background: blue; 10 background: blue;
11 } 11 }
12 12
13 #div1 { 13 #div1 {
14 z-index: 4; 14 z-index: 4;
15 left: 100px; 15 left: 100px;
16 top: 200px; 16 top: 200px;
17 motion-path: path('m 0 0 h 800'); 17 offset-path: path('m 0 0 h 800');
18 } 18 }
19 19
20 #div2 { 20 #div2 {
21 z-index: 5; 21 z-index: 5;
22 left: 100px; 22 left: 100px;
23 top: 300px; 23 top: 300px;
24 motion-path: path('m 0 0 h 400 z'); 24 offset-path: path('m 0 0 h 400 z');
25 } 25 }
26 26
27 </style> 27 </style>
28 </head> 28 </head>
29 <body> 29 <body>
30 <p> 30 <p>
31 Tests that motion path animations prevent a future transform animation from bein g composited. 31 Tests that motion path animations prevent a future transform animation from bein g composited.
32 <p> 32 <p>
33 The two squares should make equivalent movements from left to right and back to left. They need not be perfectly in time. 33 The two squares should make equivalent movements from left to right and back to left. They need not be perfectly in time.
34 34
(...skipping 28 matching lines...) Expand all
63 delay: 1000 63 delay: 1000
64 }); 64 });
65 } 65 }
66 66
67 requestAnimationFrame(startAnimations); 67 requestAnimationFrame(startAnimations);
68 68
69 </script> 69 </script>
70 70
71 </body> 71 </body>
72 </html> 72 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698