[Webkit-unassigned] [Bug 228315] New: layout tests should be runnable with non-sRGB color profiles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 26 23:07:16 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=228315

            Bug ID: 228315
           Summary: layout tests should be runnable with non-sRGB color
                    profiles
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: heycam at apple.com
            Blocks: 188320

Currently if you write a layout test that compares say

  <div style="width: 100px; height: 100px; background-color: red;"></div>

with

  <div style="width: 100px; height: 100px; background-color: color(display-p3 1 0 0 0);"></div>

then the test will pass.  We should probably have a way to run a test in a way that doesn't cause wide gamut colors to get clamped down to sRGB.

On macOS, we switch the display to an sRGB color profile and run all tests in this mode, but it looks like it's not sufficient to leave a Display P3 display with its factory color profile for the tests to pass.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=188320
[Bug 188320] Implement wide-gamut support on Canvas
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210727/2dead33e/attachment-0001.htm>


More information about the webkit-unassigned mailing list