Bug 210597
| Summary: | Status bar translucent colors need fixing since dark mode is a thing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Thomas Steiner <tomac> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED MOVED | ||
| Severity: | Normal | CC: | bfulgham, luming_yin, timothy, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | iPhone / iPad | ||
| OS: | Unspecified | ||
Thomas Steiner
The behavior of `<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">` is very confusing (at least) since dark mode is a thing. Text actually renders white instead of black.
Screenshot: https://user-images.githubusercontent.com/145676/79332402-10271f80-7f1d-11ea-814d-2545a7ba0221.png
It turns out that the undocumented value `white-translucent` renders text in black. Ideally, this should simply be `translucent`, and iOS should render the text in the correct color dependent on the color scheme.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/61899929>
Luming Yin
The `black-translucent` tag has been deprecated, and the `white-translucent` is not a supported value. Can you please try <meta name="apple-mobile-web-app-status-bar-style" content="white"> instead?
Brent Fulgham
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.
However, that component believes that it is behaving correctly.