mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 19:05:08 +00:00

Currently `calculate_mask()` fails to create bitmap when `maskContentUnits="objectBoundingBox"` is present. Fixes https://github.com/SerenityOS/serenity/issues/22316
8 lines
327 B
HTML
8 lines
327 B
HTML
<!DOCTYPE html>
|
|
<svg width="200" height="200">
|
|
<mask id="myMask" maskContentUnits="objectBoundingBox">
|
|
<rect x="0" y="0" width="1" height="1" fill="white"/>
|
|
<circle cx="0.5" cy="0.5" r="0.4" fill="black"/>
|
|
</mask>
|
|
<rect x="0" y="0" width="200" height="200" fill="green" mask="url(#myMask)"/>
|
|
</svg>
|