[Webkit-unassigned] [Bug 225281] New: Implement forced-colors media query
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 2 08:41:41 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225281
Bug ID: 225281
Summary: Implement forced-colors media query
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ntim at apple.com
forced-colors mode is a Windows only accessibility feature, Firefox does allow you to force enable it on other platforms, but for by default it's also mostly for Windows (it's enabled with Windows High contrast mode).
For reference, it forces colors on a webpage to be contrasting, by changing them without the webpage's consent.
Since iOS/macOS has no such thing, so it's reasonable to implement a placeholder where: (forced-colors) or (forced-colors: active) return false and (forced-colors: none) returns true.
That will allow webpages to use it (since Firefox & Chromium support it), and expect correct results on WebKit.
--
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/20210502/ce8aabad/attachment.htm>
More information about the webkit-unassigned
mailing list