diff options
author | MacDue <macdue@dueutil.tech> | 2023-04-17 01:20:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-04-17 07:32:31 +0200 |
commit | 5df4e64eb7e7a2556d282b634d66adf7d8edc5ec (patch) | |
tree | 343eb6dca7a90f903fe82ea536a1fc23684bbc08 /Userland/Libraries/LibDeviceTree/FlattenedDeviceTree.h | |
parent | 5a12e9f22292cd6b6393b5d4b09165ebdee3a8bb (diff) | |
download | serenity-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/LibDeviceTree/FlattenedDeviceTree.h')
0 files changed, 0 insertions, 0 deletions