diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-length-cm-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-length-cm-ref.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-length-cm-ref.html b/testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-length-cm-ref.html new file mode 100644 index 0000000000..8369f6abd8 --- /dev/null +++ b/testing/web-platform/tests/css/css-transforms/transform-origin/reference/svg-origin-length-cm-ref.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> + <head> + <title>CSS Reftest Reference</title> + <link rel="author" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> + <meta name="flags" content="svg"> + <style type="text/css"> + svg { + width: 200px; + height: 200px; + } + </style> + </head> + <body> + <p>The test passes if there is a vertical fuchsia stripe to the left of an orange stripe. You should see no red.</p> + <svg> + <!-- Fill with Gradient to avoid false positive. --> + <defs> + <linearGradient id="grad"> + <stop offset="50%" stop-color="fuchsia"/> + <stop offset="50%" stop-color="orange"/> + </linearGradient> + </defs> + <rect width="2cm" height="2cm" transform="rotate(360)" fill="url(#grad)"/> + </svg> + </body> +</html> |