WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
228315
layout tests should be runnable with non-sRGB color profiles
https://bugs.webkit.org/show_bug.cgi?id=228315
Summary
layout tests should be runnable with non-sRGB color profiles
Cameron McCormack (:heycam)
Reported
2021-07-26 23:07:16 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-07-26 23:07:47 PDT
<
rdar://problem/81147970
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug