[wpt-sync] Sync PR 42992 - Make the css math operation nested after distributing multiplication over sum
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42992 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42992
Details from upstream follow.
Daniil Sakhapov <sakhapov@chromium.org> wrote:
Make the css math operation nested after distributing multiplication over sum
When we distribute multiplication over sum:
A - B * (C + D), we don't know about the minus: A - ..., as it's
B * (C + D) is right part of the A - .... So, when we distribute B,
we end up with A - B * C + B * D, which is incorrect.
Instead, leave the distributed operation nested, e.g.:
A - (B * C + B * D).Fixed: 1499774
Change-Id: If3158af7b2310b48ef6d5e2b0f3f8ecd37f0eb79
Reviewed-on: https://chromium-review.googlesource.com/5009859
WPT-Export-Revision: ce2eddf18114284bd4b0be40bb3c2b653fbdba37
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
Comment 5•2 years ago
|
||
bugherder |
Description
•