Open Bug 1971828 Opened 8 days ago Updated 18 hours ago

[wpt-sync] Sync PR 53060 - Fix CalculationExpressionOperationNode::CreateSimplified multiply case

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Fredrik Söderquist <fs@opera.com> wrote:

Fix CalculationExpressionOperationNode::CreateSimplified multiply case

Since there are more types than "operations" and number/pixel-percent
these days, the type checking wasn't strict enough - for example color
keywords could cause incorrect casting in some cases. Adjust the
pre-condition to check both LHS and RHS to match the assumptions in the
rest of the code.

Fixed: 422982562
Change-Id: Iccedc253c87e1d41fe9bb4134ef2cb7019685512
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6630498
Reviewed-by: Daniil Sakhapov \<sakhapov@chromium.org>
Auto-Submit: Fredrik Söderquist \<fs@opera.com>
Commit-Queue: Daniil Sakhapov \<sakhapov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1472269}

Component: web-platform-tests → CSS Parsing and Computation
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 1073 subtests

Status Summary

Firefox

OK : 1
PASS : 1072
FAIL : 1

Chrome

CRASH: 1

Safari

OK : 1
PASS : 1072
FAIL : 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

You need to log in before you can comment on or make changes to this bug.