Created attachment 465585 [details] "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 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.
<rdar://problem/107506257>
Pull request: https://github.com/WebKit/WebKit/pull/13630
Committed 264172@main (1fb980be68f3): <https://commits.webkit.org/264172@main> Reviewed commits have been landed. Closing PR #13630 and removing active labels.