diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-gradient-zoomed.html')
-rw-r--r-- | testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-gradient-zoomed.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-gradient-zoomed.html b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-gradient-zoomed.html new file mode 100644 index 0000000000..17d2869f6e --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-gradient-zoomed.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<title>linear-gradient() mask-image on <rect> in zoomed SVG</title> +<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> +<link rel="help" href="https://drafts.fxtf.org/css-masking/#svg-masks"> +<style> + svg { + zoom: 2; + } +</style> +<p>Test passes if there is a filled green square.</p> +<svg> + <rect width="50" height="100" fill="green" + style="mask-image: linear-gradient(black 50px, transparent 50px)"/> +</svg> |