mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
The parent's viewBox transform includes both scaling and a centering offset. For nested <svg> elements, this transform was applied once to position the nested SVG's box, then again to position children inside it, double-counting the centering offset. We now apply the parent's transform to the nested SVG box upfront to ensure the transform is only applied once.
30 KiB
30 KiB