Files
sousa-gecko/testing/web-platform/tests/html/semantics/forms/the-input-element
Jason Leo 08614b7a14 Bug 2050119 [wpt PR 60837] - Support colorspace and alpha attributes on <input type=color>, a=testonly
Automatic update from web-platform-tests
Support colorspace and alpha attributes on <input type=color>

Adds the colorspace/colorSpace[1] and alpha[2] content/IDL attributes
behind the experimental InputTypeColorEnhancements flag, letting color
inputs serialize wide-gamut (Display P3) and alpha-bearing values per
the HTML spec. Achromatic sRGB colors are converted to Display P3
directly to avoid float-matrix white-point drift.

[1]: https://html.spec.whatwg.org/multipage/input.html#dom-input-colorspace
[2]: https://html.spec.whatwg.org/multipage/input.html#attr-input-alpha

ChromeStatus: https://chromestatus.com/feature/5736024861966336
Bug: 368059226
Change-Id: Ib94a600e3b5be2872ab114d30f3681b72e81fef3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7952977
Commit-Queue: Jason Leo <cgqaq@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1651849}

--

wpt-commits: c07926297a56d4ad373146942cc093d24f9610cb
wpt-pr: 60837
2026-07-06 08:44:58 +00:00
..
…
…
…
…
…