summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html
parentInitial commit. (diff)
downloadfirefox-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-009.html')
-rw-r--r--testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html b/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html
new file mode 100644
index 0000000000..205931a84f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-transforms/transform-list-separation/svg-transform-list-separations-009.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>CSS Transforms Test: Transform functions separated by commas separations with spaces before and after the commas 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 3 transform functions in the list delimited by commas with whitespace before the commas.">
+ <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>