[wpt-sync] Sync PR 53060 - Fix CalculationExpressionOperationNode::CreateSimplified multiply case
Categories
(Core :: CSS Parsing and Computation, task, P4)
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}
Assignee | ||
Updated•8 days ago
|
Assignee | ||
Comment 1•7 days ago
|
||
Assignee | ||
Comment 2•3 days ago
|
||
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
- /css/css-color/parsing/color-computed-relative-color.html [wpt.fyi]
- Property color value 'LCH(from var(--accent) l c calc(h + 180 * sibling-index()))':
FAIL
(Safari:FAIL
)
- Property color value 'LCH(from var(--accent) l c calc(h + 180 * sibling-index()))':
Description
•