ladybird/Tests/LibWeb/Ref/expected/css-mask-longhand-ref.html
Jelle Raaijmakers 7fed3f9801 LibWeb: Start fetching CSS image resources before document load event
Both Chromium and Gecko delay the document's load event for CSS image
resource requests (background-image, mask-image, etc). We now start
fetching CSS image resources as soon as their stylesheet is associated
with a document, rather than deferring until layout. This is done by
collecting ImageStyleValues during stylesheet parsing and initiating
their fetches when the stylesheet is added to the document.

Fixes #3448
2026-03-21 10:29:54 +01:00

12 lines
229 B
HTML

<!DOCTYPE html>
<div class="masked"></div>
<style>
.masked {
display: block;
width: 200px;
height: 200px;
mask-image: url("../data/smiley.png");
background-color: blue;
}
</style>