[wpt-sync] Sync PR 45253 - Fix non-hue channel keyword values for hsl() and hwb()
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(6 files)
Sync web-platform-tests PR 45253 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45253
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Fix non-hue channel keyword values for hsl() and hwb()
SL and WB are stored in blink::Color in range [0 1] range, while the
[0 100] range is expected. Adjust these parameters when setting up the
channel keywords. Make sure that all values - independent of type -
are adjusted in MakePerColorSpaceAdjustments() before writing into the
destination blink::Color.Some testcases expected an alpha value of 1 to be serialized, and one
had a space too many. Fix those up.Bug: 330096624
Change-Id: I3b3983d73153b035687a262dae9187afea626e6dReviewed-on: https://chromium-review.googlesource.com/5383086
WPT-Export-Revision: e925a41d308e9eac31ad4213e2c5ed7f99747da4
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
| Assignee | ||
Comment 5•1 year ago
|
||
| Assignee | ||
Comment 6•1 year ago
|
||
| Assignee | ||
Comment 8•1 year ago
|
||
| Assignee | ||
Comment 9•1 year ago
|
||
Comment 10•1 year ago
|
||
| bugherder | ||
Description
•