Summary: | Web Inspector: Dark Mode: Layers tab background should be dark | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> | ||||||||
Component: | Web Inspector | Assignee: | Nikita Vasilyev <nvasilyev> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bburg, commit-queue, inspector-bugzilla-changes, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Created attachment 345487 [details]
Patch
Created attachment 345488 [details]
[Screenshot] With patch applied
Comment on attachment 345487 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=345487&action=review r=me > Source/WebInspectorUI/UserInterface/Views/Layers3DContentView.js:146 > + const backgroundColor = window.getComputedStyle(document.documentElement).getPropertyValue("--background-color-content").trim(); 😬 Comment on attachment 345487 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=345487&action=review >> Source/WebInspectorUI/UserInterface/Views/Layers3DContentView.js:146 >> + const backgroundColor = window.getComputedStyle(document.documentElement).getPropertyValue("--background-color-content").trim(); > > 😬 It's verbose, but I don't know any better way. Also, it doesn't work without `trim()` because of the space character in front, e.g. " white". Comment on attachment 345487 [details] Patch Clearing flags on attachment: 345487 Committed r234076: <https://trac.webkit.org/changeset/234076> All reviewed patches have been landed. Closing bug. |
Created attachment 344978 [details] [Screenshot] Bug It's currently white.