[wpt-sync] Sync PR 43391 - Fix progress function calculation
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 43391 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/43391
Details from upstream follow.
Daniil Sakhapov <sakhapov@chromium.org> wrote:
Fix progress function calculation
We can simplify the progress function when either all the operands
resolve to the same canonical unit or all the operands have the same type.
Currentlyprogress(10em from 10em to 100em)fails as we try to compute the
canonical value in either case of simplification.This CL changes this behavior to distinguish which simplification path
to use, so that in the mentioned progress() example we just take the
double values when all the operands are of the same type.Bug: 1503730
Change-Id: I361477ba2a03fd6063861d1d1a82d4b77fa77f2f
Reviewed-on: https://chromium-review.googlesource.com/5067615
WPT-Export-Revision: 5533504606c3c91bfac93ccb056a15a5bb6d4cee
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•1 year ago
|
||
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7d69e94414fa
https://hg.mozilla.org/mozilla-central/rev/5cbd413189d8
Description
•