[wpt-sync] Sync PR 38092 - Set epislon to 1 for integer colors
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 38092 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/38092
Details from upstream follow.
Aaron Krajeski <aaronhk@chromium.org> wrote:
Set epislon to 1 for integer colors
rgb() and rgba() legacy color formats output their colors in integers.
This CL allows for colorValuesAlmostEqual to supply two different
epsilons, one for new color formats (which include decimals) and
the legacy formats that don't.Bug: 1399566
Change-Id: If68ddc7e6fc499f443fecef9f8b89a0048eb8927Reviewed-on: https://chromium-review.googlesource.com/4185117
WPT-Export-Revision: a430ccf995206508c05b4d8d69d0b6ea288980b0
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fcc1998bca38
https://hg.mozilla.org/mozilla-central/rev/a6823085c349
Description
•