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

Side by Side Diff: LayoutTests/css3/motion-path/combine-translation.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: rebase 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 motion: path('M 10 20 h 40 v 50') 0rad 100%; 7 motion: path('M 10 20 h 40 v 50') 0rad 100%;
8 transform: translate(70px, 80px); 8 transform: translate(70px, 80px);
9 transform-origin: 0% 0%;
9 } 10 }
10 </style> 11 </style>
11 </head> 12 </head>
12 <body> 13 <body>
13 <div id="div1">div1</div> 14 <div id="div1">div1</div>
14 </body> 15 </body>
15 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698