summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/SVG/SVGElement.h
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2023-04-17 01:20:24 +0100
committerAndreas Kling <kling@serenityos.org>2023-04-17 07:32:31 +0200
commit5df4e64eb7e7a2556d282b634d66adf7d8edc5ec (patch)
tree343eb6dca7a90f903fe82ea536a1fc23684bbc08 /Userland/Libraries/LibWeb/SVG/SVGElement.h
parent5a12e9f22292cd6b6393b5d4b09165ebdee3a8bb (diff)
downloadserenity-5df4e64eb7e7a2556d282b634d66adf7d8edc5ec.zip
LibWeb: Implement SVG `preserveAspectRatio` attribute
This attribute is used to define how the viewBox should be scaled. Previously the behaviour implemented was that of "xMidYMid meet", now all of them work (expect none :P). With this the Discord login backend is now correctly scaled/positioned. This also brings our SVG code a little closer to the spec! With spec comments and all :^) (Minor non-visible update to layout tests)
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGElement.h')
0 files changed, 0 insertions, 0 deletions