diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /testing/web-platform/tests/css/css-masking/mask-image | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-masking/mask-image')
-rw-r--r-- | testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-viewport-changed.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-viewport-changed.html b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-viewport-changed.html new file mode 100644 index 0000000000..156317b251 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-viewport-changed.html @@ -0,0 +1,18 @@ +<!doctype html> +<title>Change of viewport affecting mask content</title> +<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#the-mask-image"> +<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#svg-masks"> +<link rel="match" href="../clip-path/reference/green-100x100.html"> +<div id="container" style="width: 0%"> + <svg style="width: 100%"> + <mask id="mask"> + <rect width="100%" height="100%" fill="white"/> + </mask> + <rect width="100" height="100" fill="red"/> + <rect width="100" height="100" fill="green" mask="url(#mask)"/> + </svg> +</div> +<script> + document.body.offsetTop; + document.getElementById('container').style.width = '100%'; +</script> |