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

Side by Side Diff: LayoutTests/css3/motion-path/combine-translation-and-rotation-expected.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 transform: translate(70px, 80px) rotate(30deg) translate(80px, 60px) rotate( -90deg); 10 transform: translate(70px, 80px) rotate(30deg) translate(80px, 60px) rotate( -90deg);
11 transform-origin: 0% 0%;
11 } 12 }
12 </style> 13 </style>
13 </head> 14 </head>
14 <body> 15 <body>
15 <div id="div1">div1</div> 16 <div id="div1">div1</div>
16 </body> 17 </body>
17 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698