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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/motion-path/combine-offset-translation-and-rotation.html

Issue 2375343002: CSS Motion Path: offset-shorthand requires path before distance rotation (Closed)
Patch Set: path distance rotation all required Created 4 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 <style> 4 <style>
5 #div1 { 5 #div1 {
6 position: absolute; 6 position: absolute;
7 left: 100; 7 left: 100;
8 top: 200; 8 top: 200;
9 transform-origin: 60% 20%; 9 transform-origin: 60% 20%;
10 offset: path('M 20 30 l 100 100') auto -15deg 50%; 10 offset: path('M 20 30 l 100 100') 50% auto -15deg;
11 transform: translate(80px, 60px) rotate(-90deg); 11 transform: translate(80px, 60px) rotate(-90deg);
12 transform-origin: 0% 0%; 12 transform-origin: 0% 0%;
13 } 13 }
14 </style> 14 </style>
15 </head> 15 </head>
16 <body> 16 <body>
17 <div id="div1">div1</div> 17 <div id="div1">div1</div>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698