[Webkit-unassigned] [Bug 254457] New: Web Inspector: Dark Mode simulation isn't maintained on page change, but remains selected in the UI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 25 02:57:36 PDT 2023


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

            Bug ID: 254457
           Summary: Web Inspector: Dark Mode simulation isn't maintained
                    on page change, but remains selected in the UI
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: macOS 13
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: anon185441 at gmail.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 465585

  --> https://bugs.webkit.org/attachment.cgi?id=465585&action=review

"Color scheme: Dark" was selected on a previous page. It remains selected here, despite (prefers-color-scheme:dark) not taking effect on this site, which has a separate dark theme.

When using Web Inspector, one can use a popover in the Elements tab to simulate (prefers-color-scheme:dark).

Currently, when the "Dark" option is selected, it remains chosen in the UI when changing to another page. However, the actual functionality isn't applied on said subsequent page, meaning the UI is inconsistent with what it controls: one has to change it to Light and then Dark again to view the page with (prefers-color-scheme:dark) applied.

Either the UI should change back to its default selection to indicate that the simulation is no longer applied, or the simulation should be maintained when loading another page, reflecting the UI state.

-- 
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/20230325/5903778e/attachment-0001.htm>


More information about the webkit-unassigned mailing list