mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
Having two ways that `<position>` is represented is awkward and unnecessary. So, let's combine the two paths together. This first step copies and modifies the `parse_position()` code to produce a `PositionStyleValue`. Apart from returning a StyleValue, this also makes use of automatic enum parsing instead of manually comparing identifier strings.
1.4 KiB
1.4 KiB