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

Unified Diff: third_party/WebKit/LayoutTests/css3/motion-path/combine-independent-anchor.html

Issue 2461603003: CSS Motion Path: Place offset-anchor on the path (Closed)
Patch Set: rebase Created 4 years, 1 month 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/css3/motion-path/combine-independent-anchor.html
diff --git a/third_party/WebKit/LayoutTests/css3/motion-path/combine-independent-anchor.html b/third_party/WebKit/LayoutTests/css3/motion-path/combine-independent-anchor.html
new file mode 100644
index 0000000000000000000000000000000000000000..e0788674d5d4d8c1c1e72c781d067b953cdb3cea
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/motion-path/combine-independent-anchor.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<style>
+* {
+ margin: 0;
+ padding: 0;
+}
+span {
+ display: inline-block;
+ width: 100px;
+ height: 100px;
+}
+#span2 {
+ rotate: 90deg;
+ offset: path('m 0 0 v 200') 100px auto;
+ offset-anchor: 15% 40%;
+ transform-origin: 20% 30%;
+}
+</style>
+<span>span1</span>
+<span id="span2">span2</span>
+<span>span3</span>

Powered by Google App Engine
This is Rietveld 408576698