mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
The StyleProperties code for opacity existed before NumericStyleValue was a thing, and was affected by over-enthusiastic unitless-length parsing, so it assumed everything was a length. Now it matches the Color4 spec instead, accepting either a number, or a percentage. We also get to remove the hack! :^)