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

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

Issue 1220793011: CSS Motion Path: Centre transform-origin on the path (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: current-transformation-matrix Created 5 years, 5 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 motion: path('M 20 30 l 100 100') auto -15deg 50%; 10 motion: path('M 20 30 l 100 100') auto -15deg 50%;
11 transform: translate(80px, 60px) rotate(-90deg); 11 transform: translate(80px, 60px) rotate(-90deg);
12 transform-origin: 0% 0%;
12 } 13 }
13 </style> 14 </style>
14 </head> 15 </head>
15 <body> 16 <body>
16 <div id="div1">div1</div> 17 <div id="div1">div1</div>
17 </body> 18 </body>
18 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698