Bug 264996 - [GTK] `color-scheme: light dark` shows white text on white
Summary: [GTK] `color-scheme: light dark` shows white text on white
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-16 18:24 PST by johnfactotum1
Modified: 2024-05-25 09:38 PDT (History)
3 users (show)

See Also:


Attachments
Testcase (83 bytes, text/html)
2023-11-16 18:24 PST, johnfactotum1
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnfactotum1 2023-11-16 18:24:49 PST
Created attachment 468636 [details]
Testcase

To reproduce:
- Enable "Dark Style" in GNOME.
- Open Epiphany.
- Open something that has `color-scheme: light dark`.

Expected behavior:
- It renders the page with white text on a dark background.

Actual behavior:
- It show white text on a white background.

Additional context:
- I think this is similar to https://bugs.webkit.org/show_bug.cgi?id=202194 but I'm still seeing this in Epiphany Technology Preview 45.0-51-gbeb7b7222+
- The problem goes away after reloading the page.
Comment 1 Michael Catanzaro 2023-11-17 06:18:45 PST
I wonder when was the last good version. :(
Comment 2 robin 2024-05-25 09:38:05 PDT
I think severity here is quite high, since it can make pages that rely on color-scheme without custom styling appear entirely blank.

Reproduced today on Web 46 (WebKitGTK 2.44.1) and Epiphany Technology Preview 46.0-89-g1aca13c01+ (WebKitGTK 2.45.2).