Closed Bug 1934300 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 49444 - Fix crash on calc() in grid rows/columns.

Categories

(Core :: Layout: Grid, task, P4)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 49444 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/49444
Details from upstream follow.

Steinar H. Gunderson <sesse@chromium.org> wrote:

Fix crash on calc() in grid rows/columns.

Seemingly we already have clamping and all in place computed-value
time, so we just to avoid calling GetIntValue() during parsing.

Note that a test discovered that GetValueIfKnown() did not round
the same way GetDoubleValue() evidently does, so we needed to fix
that.

Bug: 40946458
Change-Id: I51eb467196853cc88ce52d7f307b3aaf7cae4261
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6059011
Commit-Queue: Daniil Sakhapov \<sakhapov@chromium.org>
Auto-Submit: Steinar H Gunderson \<sesse@chromium.org>
Reviewed-by: Daniil Sakhapov \<sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1389876}

Component: web-platform-tests → Layout: Grid
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL : 1

Chrome

OK : 1
PASS : 1

Safari

CRASH: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/465a6385dec0 [wpt PR 49444] - Fix crash on calc() in grid rows/columns., a=testonly https://hg.mozilla.org/integration/autoland/rev/3ddae9287565 [wpt PR 49444] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.