Status: PASS | Duration: 9ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-transforms/transform-list-separation/svg-transform-list-separations-001.html
<!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>
/css/css-transforms/transform-list-separation/reference/svg-transform-list-separations-ref.html
<!DOCTYPE html> <html> <head> <title>CSS Reftest Reference</title> <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"> <meta name="flags" content="svg"> <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"> <stop offset="50%" stop-color="orange"/> <stop offset="50%" stop-color="fuchsia"/> </linearGradient> </defs> <rect x="100" y="100" width="100" height="100" fill="url(#grad)"/> </svg> </body> </html>