diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html')
-rw-r--r-- | testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html b/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html new file mode 100644 index 0000000000..b80742dfe7 --- /dev/null +++ b/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html> +<head> + <title>CSS Transforms Test: No separations between transform functions on SVG presentation attribute</title> + <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> + <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform"> + <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#svg-transform-list"> + <link rel="help" href="https://www.w3.org/TR/css-transforms-1/#svg-syntax"> + <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-function-lists"> + <link rel="match" href="reference/svg-transform-list-separations-ref.html"> + <meta name="flags" content="svg"> + <meta name="assert" content="The rect in the test should have an x offset of 100, a y offset of 100, and should be rotated 90 degrees clockwise with no separation between the 3 transform functions in the list"> + <style type="text/css"> + svg { + width: 300px; + height: 300px; + } + </style> +</head> +<body> + <p>The test passes if there is a vertical orange stripe to the left of a vertical fuchsia stripe.</p> + <svg> + <!-- Fill with Gradient to avoid false positive. --> + <defs> + <linearGradient id="grad" x1="0%" y1="0%" x2="0%" y2="100%"> + <stop offset="50%" stop-color="fuchsia"/> + <stop offset="50%" stop-color="orange"/> + </linearGradient> + </defs> + <rect width="100" height="100" fill="url(#grad)" transform="translate(200 0)translate(0 100)rotate(90)"/> + </svg> +</body> +</html> |