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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-string.html

Issue 2886703002: CSS Motion Path: Web Platform tests for longhand parsing (Closed)
Patch Set: test Created 3 years, 6 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 <title>CSS Motion Path: path(string) paths</title> 4 <title>CSS Motion Path: path(string) paths</title>
5 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@google. com"> 5 <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@chromiu m.org">
6 <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-propert y"> 6 <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-propert y">
7 <link rel="match" href="offset-path-string-ref.html"> 7 <link rel="match" href="offset-path-string-ref.html">
8 <meta name="assert" content="This tests that path(<string>) generates a rota tion and translation."> 8 <meta name="assert" content="This tests that path(<string>) generates a rota tion and translation.">
9 <style> 9 <style>
10 #target { 10 #target {
11 position: absolute; 11 position: absolute;
12 left: 300px; 12 left: 300px;
13 top: 0px; 13 top: 0px;
14 width: 300px; 14 width: 300px;
15 height: 200px; 15 height: 200px;
16 background-color: lime; 16 background-color: lime;
17 transform-origin: 0px 0px; 17 transform-origin: 0px 0px;
18 offset-path: path('m 0 0 v 200'); 18 offset-path: path('m 0 0 v 200');
19 offset-distance: 120px; 19 offset-distance: 120px;
20 } 20 }
21 </style> 21 </style>
22 </head> 22 </head>
23 <body> 23 <body>
24 <div id="target"></div> 24 <div id="target"></div>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698