github web-platform-tests/wpt merge_pr_49455

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
16 days ago

Fix crash in calc() within repeat() in grid.

We need to delay clamping until computed value time, when we are sure
what the value actually is (it can depend on style such as font units,
if e.g. sign() is involved, and we don't know those at parse time).

Note that there's a subtlety in that the Inspector grid editor wants
to know this, and we don't necessarily have the required styles easily
accessible then. However, we already had a similar problem with var(),
in which case we just decline to show the UI; we do the same thing
in this case, since it's obscure.

Bug: 40946458
Change-Id: Ic163646066d7735b059648d29c33cb02f3bd60eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6058152
Reviewed-by: Danil Somsikov dsv@chromium.org
Reviewed-by: Daniil Sakhapov sakhapov@chromium.org
Commit-Queue: Steinar H Gunderson sesse@chromium.org
Cr-Commit-Position: refs/heads/main@{#1390250}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.