mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-15 20:24:46 +00:00
The code was assuming the font-weight would be a Length, apparently since NumericStyleValue didn't exist at the time. Now, it's always a numeric value, so treat it as such. We also replace the hardcoded numbers with references to the FontWeight enum. Also, it was always setting the weight to 900, so that has been fixed.