1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:57:35 +00:00

LibWeb: Stub out SVGMaskElement

Just enough that we stop creating layout nodes for mask elements, which
was making some SVG content look very wrong. :^)
This commit is contained in:
Andreas Kling 2023-08-10 09:55:15 +02:00
parent adf70b8a16
commit 9e22f01eba
10 changed files with 99 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<!doctype html>
<svg width="100" height="100" viewBox="0 0 1 1" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width="1" height="1" fill="green"/>
<mask id="mask" x="0" y="0" width="1" height="1">
<rect x="0" y="0" width="1" height="1" fill="red"/>
</mask>
</svg>