[wpt-sync] Sync PR 31282 - Integer interpolation should be rounded towards positive infinity.
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox95 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31282 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31282
Details from upstream follow.
Joonghun Park <pjh0718@gmail.com> wrote:
Integer interpolation should be rounded towards positive infinity.
Currently, interpolation of \<integer> is rounding away from 0.
The interpolation's result should be rounded according to the spec,
https://drafts.csswg.org/css-values-4/#combine-integers, which is"the result is converted to an \<integer> by rounding
to the nearest integer, with values halfway between
adjacent integers rounded towards positive infinity."Bug: 1257732
Change-Id: I0dc9db806b88e66bf326b848c4e4ac90ef868ed4
Reviewed-on: https://chromium-review.googlesource.com/3225842
WPT-Export-Revision: 7c0baabc289c152972ec8cae6cbd347eb7e928ab
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
PASS: 2
Chrome
OK : 2
FAIL: 2
Safari
OK : 2
FAIL: 2
Links
Comment 5•3 years ago
|
||
bugherder |
Description
•