mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
When we know what kind of dimension we want, it's awkward to attempt to parse any dimension type, including quirks that only affect lengths, to then throw it away unless it's the type we wanted in the first place. Additionally, move the unitless angle/length behavior for SVG attributes into these methods, where it belongs. Instead, only try to parse the type of dimension we want. This is currently more code, but some could be factored together later.
413 KiB
413 KiB