Closed Bug 1886786 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 45253 - Fix non-hue channel keyword values for hsl() and hwb()

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
126 Branch
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: I3b3983d73153b035687a262dae9187afea626e6d

Reviewed-on: https://chromium-review.googlesource.com/5383086
WPT-Export-Revision: e925a41d308e9eac31ad4213e2c5ed7f99747da4

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Attached file Notable wpt changes
# CI Results Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 1076 subtests ## Status Summary ### Firefox `OK` : 2 `PASS`: 12 `FAIL`: 2075 ### Chrome `OK` : 2 `PASS`: 1866 `FAIL`: 221 ### Safari `OK` : 2 `PASS`: 1466 `FAIL`: 621 ## Links [GitHub PR Head](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_base) ## Details (See attachment for full changes)
Attached file Notable wpt changes
# CI Results Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 1076 subtests ## Status Summary ### Firefox `OK` : 2 `PASS`: 12 `FAIL`: 2075 ### Chrome `OK` : 2 `PASS`: 1866 `FAIL`: 221 ### Safari `OK` : 2 `PASS`: 1466 `FAIL`: 621 ## Links [GitHub PR Head](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_base) ## Details (See attachment for full changes)
Attached file Notable wpt changes
# CI Results Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 1076 subtests ## Status Summary ### Firefox `OK` : 2 `PASS`: 12 `FAIL`: 2075 ### Chrome `OK` : 2 `PASS`: 1866 `FAIL`: 221 ### Safari `OK` : 2 `PASS`: 1466 `FAIL`: 621 ## Links [GitHub PR Head](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_base) ## Details (See attachment for full changes)
Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 1076 subtests ## Status Summary ### Firefox `OK` : 2 `PASS`: 12 `FAIL`: 2075 ### Chrome `OK` : 2 `PASS`: 1866 `FAIL`: 221 ### Safari `OK` : 2 `PASS`: 1466 `FAIL`: 621 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=fd6a77b6ed1dbece2f7bcf1bc3aa8b96d6f5fb6f) [GitHub PR Head](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_base) ## Details (See attachment for full changes)
Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 1076 subtests ## Status Summary ### Firefox `OK` : 2 `PASS`: 12 `FAIL`: 2075 ### Chrome `OK` : 2 `PASS`: 1866 `FAIL`: 221 ### Safari `OK` : 2 `PASS`: 1466 `FAIL`: 621 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=fd6a77b6ed1dbece2f7bcf1bc3aa8b96d6f5fb6f) [GitHub PR Head](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_base) ## Details (See attachment for full changes)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb2fb8830e11 [wpt PR 45253] - Fix non-hue channel keyword values for hsl() and hwb(), a=testonly
Attached file Notable wpt changes
# CI Results Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI Total 2 tests and 1076 subtests ## Status Summary ### Firefox `OK` : 2 `PASS`: 12 `FAIL`: 2075 ### Chrome `OK` : 2 `PASS`: 1866 `FAIL`: 221 ### Safari `OK` : 2 `PASS`: 1466 `FAIL`: 621 ## Links [Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=fd6a77b6ed1dbece2f7bcf1bc3aa8b96d6f5fb6f) [GitHub PR Head](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_head) [GitHub PR Base](https://wpt.fyi/results/?sha=bd7b999a865dcd08014b4cdc879868486eea026a&label=pr_base) ## Details (See attachment for full changes)
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: