LibWeb: Coerce NaNs to 0 when escaping top-level calculations

This commit is contained in:
Jelle Raaijmakers
2025-03-25 18:58:08 +00:00
committed by Sam Atkins
parent 545d151948
commit 6a3c3ee291
Notes: github-actions[bot] 2025-03-25 19:54:37 +00:00
3 changed files with 12 additions and 3 deletions

View File

@@ -25,6 +25,7 @@
"scale(100%, 200%)",
"scale(calc(1 / 2))",
"scale(calc(50% + 25%))",
"scale(calc(NaN))",
"scaleX(2)",
"scaleX(200%)",
"scaleY(2.5)",