Files
serenity/Userland/Libraries/LibWeb/CSS
Aliaksandr Kalenik ddd5e399e6 LibWeb: Use correct resolved type for round() CSS function
Function is defined as `round(<rounding-strategy>?, A, B?)`

With this change resolved type is `typeof(resolve(A))`, instead of
`typeof(A)`.

For example `round(up, 20%, 1px)` with 200px percentage basis is now
correctly resolved in 40px instead of 40%.

Progress on https://www.notion.so/ landing page.

(cherry picked from commit 41e37f00795920686fad7b211381905618fb345a)
2024-10-20 16:38:56 -04:00
..