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

Side by Side Diff: LayoutTests/css3/motion-path/origin.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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5
6 .box {
7 position: absolute;
8 background-color: lime;
9 width: 70px;
10 height: 40px;
11 line-height: 40px;
12 transform-origin: 20% 40%;
13 motion-offset: 50%;
14 motion-path: path('M 500 0 L 200 300');
15 }
16
17 </style>
18 </head>
19 <body>
20 <div class="box">@</div>
21 <svg width="700" height="300" viewBox="0 0 700 300">
22 <path stroke="green" d="M 500 0 L 200 300" />
23 </svg>
24 </body>
25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698