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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-ray.html

Issue 2884943002: CSS Motion Path: calculate transform for simple ray() paths (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-ray.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-ray.html b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-ray.html
new file mode 100644
index 0000000000000000000000000000000000000000..4b5e8376f4622994a177f536d43ca3e6ff8e5333
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/css/motion-1/offset-path-ray.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS Motion Path: ray paths</title>
+ <link rel="author" title="Eric Willigers" href="mailto:ericwilligers@google.com">
+ <link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-path-property">
+ <link rel="match" href="offset-path-ray-ref.html">
+ <meta name="assert" content="This tests that ray() generates a rotation and translation.">
+ <style>
+ #target {
+ position: absolute;
pdr. 2017/05/16 22:51:19 Do these have to be position: absolute?
Eric Willigers 2017/05/17 05:47:00 left and top only have effect on positioned elemen
+ left: 300px;
+ top: 100px;
+ width: 300px;
+ height: 200px;
+ background-color: lime;
+ transform-origin: 0px 0px;
+ offset-path: ray(150deg closest-side);
pdr. 2017/05/16 22:51:19 Naive question: when I try the examples from the s
Eric Willigers 2017/05/17 05:47:00 There are three issues. 1. The circles appear bel
+ offset-distance: 20px;
+ }
+ </style>
+ </head>
+ <body>
+ <div id="target"></div>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698