[Webkit-unassigned] [Bug 261149] New: Navigating away from a meta color-scheme dark page causes dark background color on target page
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 5 05:40:51 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=261149
Bug ID: 261149
Summary: Navigating away from a meta color-scheme dark page
causes dark background color on target page
Product: WebKit
Version: Safari 16
Hardware: Mac (Apple Silicon)
URL: https://markusdosch.github.io/webkit-bug-meta-color-sc
heme-dark/
OS: macOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mail at markusdosch.com
Scenario:
- Originating page A sets <meta name="color-scheme" content="dark" />
- Target page B does not set a color-scheme, and does not set a background-color
When navigating from A to B via a link, the expectation is: The background on B should be white.
Actual result: Target page has a dark background, making the text illegible.
The issue also occurs if the target page explicitly sets color-scheme to light. The issue did only occur when both pages were on the same domain, I could not reproduce it for cross-domain linking.
Demo: https://markusdosch.github.io/webkit-bug-meta-color-scheme-dark/
Chrome & Firefox behave as expected and always show the target page with a white background.
--
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/20230905/f17aae53/attachment.htm>
More information about the webkit-unassigned
mailing list