ladybird/Tests/LibWeb/Screenshot/input/css-mask-longhand.html
Tommy van der Vorst 89f8dd9b3b Tests: Do not use data URI in css-mask-longhand test
Instead use an existing image and ensure it loads to prevent
flakiness
2025-03-11 12:16:32 -04:00

15 lines
469 B
HTML

<!DOCTYPE html>
<link rel="match" href="../expected/css-mask-longhand.html" />
<div class="masked"></div>
<style>
.masked {
display: block;
width: 200px;
height: 200px;
mask: url("../data/smiley.png");
background-color: blue;
}
</style>
<!-- FIXME: Workaround to ensure CSS background-image is loaded before taking screenshot: https://github.com/LadybirdBrowser/ladybird/issues/3448 -->
<img src="../data/smiley.png" />