Files
sousa-gecko/testing/web-platform/tests/css/css-masking/mask-image/mask-image-svg-loading-error.html
T
Stephen Chenney acbcec5cb9 Bug 2040182 [wpt PR 59931] - [WPT] Move green-100x100 images, a=testonly
Automatic update from web-platform-tests
[WPT] Move green-100x100 images

Move the images from the css-masking directory to the general
/images directory as they will shortly be used by a host
of HTML-in-Canvas tests.

Bug: 507356242
Change-Id: I5916994dd4796410e03ee7fa61652407439894ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7851076
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Auto-Submit: Stephen Chenney <schenney@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1631808}

--

wpt-commits: 84856289b8d5e93e82e5e82bc067c2ca1ce2cf28
wpt-pr: 59931
2026-05-21 07:38:37 +00:00

15 lines
512 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>mask-image with a slow loading image-set() with a truncated image</title>
<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#the-mask-image">
<link rel="match" href="reference/mask-image-ref.html">
<style>
svg > rect {
mask-image: image-set(url("/images/green-100x100.png?pipe=slice(1,200)"));
}
</style>
<p>The test passes if there is a green square and no red below.</p>
<svg height="200">
<rect width="200" height="200" fill="green"/>
</svg>