Files
ladybird/Tests/LibWeb/Ref/input/mask-image-multiple-same.html
Callum Law 1a5933cb04 LibWeb: Fail less when multiple mask images are defined
We don't yet support multiple images but we at least continue to use the
first rather than having none
2025-12-01 10:16:41 +00:00

15 lines
555 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/mask-image-multiple-same-ref.html" />
<style>
#mask-image-box {
background-color: green;
width: 100px;
height: 200px;
mask-image: url("../data/mask-image-100x200.png"), url("../data/mask-image-100x200.png");
}
</style>
<div id="mask-image-box"></div>
<!-- FIXME: Workaround to ensure CSS mask-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
<img style="display: none" src="../data/mask-image-100x200.png" />