mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 06:32:26 +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! :^)
125 KiB
125 KiB