mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
parent
8b08162942
commit
456608cf03
Notes:
github-actions[bot]
2025-05-30 04:13:32 +00:00
Author: https://github.com/InvalidUsernameException
Commit: 456608cf03
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4923
Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 3 additions and 1 deletions
BIN
Tests/LibWeb/Ref/data/mask-image-100x200.png
Normal file
BIN
Tests/LibWeb/Ref/data/mask-image-100x200.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 B |
|
@ -8,7 +8,7 @@ body { height: 200vh; }
|
||||||
background-color: green;
|
background-color: green;
|
||||||
width: 100px;
|
width: 100px;
|
||||||
height: 200px;
|
height: 200px;
|
||||||
mask-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAADIAQMAAAAk8taCAAAABlBMVEUAAAAAAAClZ7nPAAAAAXRSTlMAQObYZgAAACJJREFUSMftxyEBAAAIA7D3T0sDsBQAtbmll4qZmV0PgFcD8QgJXHxT3vkAAAAASUVORK5CYII=");
|
mask-image: url("../data/mask-image-100x200.png");
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div id="spacer"></div>
|
<div id="spacer"></div>
|
||||||
|
@ -16,3 +16,5 @@ body { height: 200vh; }
|
||||||
<script>
|
<script>
|
||||||
window.scrollTo(0, 100);
|
window.scrollTo(0, 100);
|
||||||
</script>
|
</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">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue