Index: LayoutTests/css3/motion-path/origin.html |
diff --git a/LayoutTests/css3/motion-path/origin.html b/LayoutTests/css3/motion-path/origin.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bc30e3ba78f50a7303e95b380e23e4006bfcb5f9 |
--- /dev/null |
+++ b/LayoutTests/css3/motion-path/origin.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<style> |
+ |
+ .box { |
+ position: absolute; |
+ background-color: lime; |
+ width: 70px; |
+ height: 40px; |
+ line-height: 40px; |
+ transform-origin: 20% 40%; |
+ motion-offset: 50%; |
+ motion-path: path('M 500 0 L 200 300'); |
+ } |
+ |
+</style> |
+</head> |
+<body> |
+ <div class="box">@</div> |
+ <svg width="700" height="300" viewBox="0 0 700 300"> |
+ <path stroke="green" d="M 500 0 L 200 300" /> |
+ </svg> |
+</body> |
+</html> |