mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
20 lines
638 B
HTML
20 lines
638 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../expected/mask-image-with-scroll-offset-ref.html" />
|
|
<style>
|
|
* { scrollbar-width: none; }
|
|
body { height: 200vh; }
|
|
#spacer { height: 100px; }
|
|
#mask-image-box {
|
|
background-color: green;
|
|
width: 100px;
|
|
height: 200px;
|
|
mask-image: url("../data/mask-image-100x200.png");
|
|
}
|
|
</style>
|
|
<div id="spacer"></div>
|
|
<div id="mask-image-box"></div>
|
|
<script>
|
|
window.scrollTo(0, 100);
|
|
</script>
|
|
<!-- 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">
|