Skip to content

RFC 242: Wide-gamut and HDR screenshot reftests - #242

Draft
Minju-kim-igalia wants to merge 2 commits into
web-platform-tests:mainfrom
Minju-kim-igalia:wide-gamut-hdr-screenshot-reftests
Draft

RFC 242: Wide-gamut and HDR screenshot reftests#242
Minju-kim-igalia wants to merge 2 commits into
web-platform-tests:mainfrom
Minju-kim-igalia:wide-gamut-hdr-screenshot-reftests

Conversation

@Minju-kim-igalia

@Minju-kim-igalia Minju-kim-igalia commented Jul 29, 2026

Copy link
Copy Markdown

This RFC proposes opt-in reftest-color-space metadata for wide-gamut and HDR screenshot reftests.

For opted-in tests, wptrunner requests PNG output in the requested color space through WebDriver BiDi and compares the decoded samples without converting them to sRGB. The same request applies to the root test and its reference graph.

The WebDriver BiDi protocol extension is tracked separately in w3c/webdriver-bidi#1114. The intended first end-to-end target is display-p3 / image/png.

For implementation feasibility, I also uploaded a small Chromium WIP CL stack for that initial path:

The second CL depends on the first. These CLs are supporting feasibility prototypes rather than final landing proposals. The WebDriver BiDi contract and the upstream chromium-bidi and WPT implementation changes remain separate work.

Related:

@Minju-kim-igalia Minju-kim-igalia changed the title Add RFC for wide-gamut and HDR screenshot reftests RFC 242: Wide-gamut and HDR screenshot reftests Jul 29, 2026
Update the RFC number for wide-gamut and HDR screenshot reftests.
@Minju-kim-igalia
Minju-kim-igalia marked this pull request as draft July 29, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant