WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
201670
Web Inspector: Canvas: checkerboard has too much contrast in dark mode
https://bugs.webkit.org/show_bug.cgi?id=201670
Summary
Web Inspector: Canvas: checkerboard has too much contrast in dark mode
Devin Rousso
Reported
2019-09-10 18:14:06 PDT
Created
attachment 378522
[details]
[Image] Screenshot of Issue .
Attachments
[Image] Screenshot of Issue
(599.47 KB, image/png)
2019-09-10 18:14 PDT
,
Devin Rousso
no flags
Details
Patch
(1.49 KB, patch)
2019-09-10 18:18 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
[Image] Screenshot of Issue
(702.99 KB, image/png)
2019-09-10 18:19 PDT
,
Devin Rousso
no flags
Details
[Image] After Patch is applied
(702.58 KB, image/png)
2019-09-10 18:19 PDT
,
Devin Rousso
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2019-09-10 18:18:58 PDT
Created
attachment 378525
[details]
Patch
Devin Rousso
Comment 2
2019-09-10 18:19:27 PDT
Created
attachment 378526
[details]
[Image] Screenshot of Issue
Devin Rousso
Comment 3
2019-09-10 18:19:52 PDT
Created
attachment 378527
[details]
[Image] After Patch is applied
Timothy Hatcher
Comment 4
2019-09-11 07:22:25 PDT
Comment on
attachment 378525
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=378525&action=review
> Source/WebInspectorUI/ChangeLog:10 > + Don't force a `background-color: white;` in dark mode.
I think the right fix for this might be to keep forcing white and correct the checker color to be light, like in light mode. Most of the transparent content will be light mode content and might not look good over a dark mode checkerboard. We might need a dark mode toggle for the checkerboard.
Devin Rousso
Comment 5
2019-09-11 18:47:32 PDT
Comment on
attachment 378525
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=378525&action=review
>> Source/WebInspectorUI/ChangeLog:10 >> + Don't force a `background-color: white;` in dark mode. > > I think the right fix for this might be to keep forcing white and correct the checker color to be light, like in light mode. Most of the transparent content will be light mode content and might not look good over a dark mode checkerboard. We might need a dark mode toggle for the checkerboard.
In addition to "highlighting" transparency, the checkerboard also provides a rough idea of what the content would look like when contrasted with a light/dark background. I don't think we want to show a light checkerboard in dark mode, as that may make it harder for developers to see the content of the canvas, especially if it was drawn for a darker background (e.g. the content is a white blob, which would contrast just fine against the page's darker background, but wouldn't be visible against a white checkerboard). Also, it's really annoying to be in dark mode and then suddenly see some bright white content :( Given all of this, it does make sense for us to provide some sort of toggle/setting for the checkerboard that is independent of the current color scheme.
WebKit Commit Bot
Comment 6
2019-09-11 19:31:13 PDT
Comment on
attachment 378525
[details]
Patch Clearing flags on attachment: 378525 Committed
r249790
: <
https://trac.webkit.org/changeset/249790
>
WebKit Commit Bot
Comment 7
2019-09-11 19:31:15 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2019-09-11 19:32:19 PDT
<
rdar://problem/55287372
>
Radar WebKit Bug Importer
Comment 9
2019-09-11 19:32:19 PDT
<
rdar://problem/55287373
>
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