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

LibWeb: Layout <svg> nested inside <svg>

This is far from perfect, but let's at least make an attempt at laying
out <svg> when encountering it inside another <svg>.

This makes https://awesomekling.substack.com actually load and render
instead of asserting. :^)
This commit is contained in:
Andreas Kling 2023-04-18 19:32:00 +02:00
parent ec5d5918c4
commit ce5a939148
3 changed files with 29 additions and 3 deletions

View file

@ -0,0 +1,12 @@
<!doctype html><body><svg
width="24"
height="24"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
><g><svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
><rect x="0" y="0" width="24" height="24"></svg></g>
</svg>