diff options
Diffstat (limited to 'testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html')
-rw-r--r-- | testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html b/testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html new file mode 100644 index 0000000000..ac893bae65 --- /dev/null +++ b/testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<title>CSS Motion Path: Default offset-anchor with transform-box: fill-box</title> +<link rel="help" href="https://drafts.fxtf.org/motion-1/#offset-anchor-property"> +<link rel="match" href="offset-anchor-transform-box-fill-box-ref.html"> +<meta name="assert" content="Tests default offset-anchor together with a fill-box transform-box"> +<style> +#target { + transform-box: fill-box; + transform-origin: 25% 25%; + offset-path: path("M75,-25v100"); + offset-distance: 50%; +} +</style> +<svg width="400" height="400"> + <rect width="100" height="100" fill="red"/> + <rect id="target" x="150" y="100" width="100" height="100" fill="green"/> +</svg> |