Bug 190526

Summary: Add <meta name="supported-color-schemes"> to control what color schemes the page supports
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: CSSAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, dino, ews-watchlist, rniwa, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 190499    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews100 for mac-sierra
none
Archive of layout-test-results from ews106 for mac-sierra-wk2
none
Archive of layout-test-results from ews200 for win-future
none
Archive of layout-test-results from ews115 for mac-sierra
none
Archive of layout-test-results from ews121 for ios-simulator-wk2
none
Patch
none
Archive of layout-test-results from ews107 for mac-sierra-wk2
none
Patch none

Description Timothy Hatcher 2018-10-12 10:36:46 PDT
To know when to allow semantic colors to switch between dark and light mode, as well as form controls, we need a way for the page to tell us what color schemes they support.

Proposal is to add: <meta name="supported-color-schemes" content="light dark">
Comment 1 Radar WebKit Bug Importer 2018-10-12 10:37:12 PDT
<rdar://problem/45230140>
Comment 2 Simon Fraser (smfr) 2018-10-12 11:21:47 PDT
What's the standardization story here?
Comment 3 Timothy Hatcher 2018-10-12 13:05:52 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2018-10-12 14:18:32 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2018-10-12 14:18:34 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2018-10-12 14:28:50 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2018-10-12 14:28:52 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2018-10-12 15:26:16 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2018-10-12 15:26:28 PDT Comment hidden (obsolete)
Comment 10 Timothy Hatcher 2018-10-12 15:30:39 PDT Comment hidden (obsolete)
Comment 11 EWS Watchlist 2018-10-12 16:04:43 PDT Comment hidden (obsolete)
Comment 12 EWS Watchlist 2018-10-12 16:04:45 PDT Comment hidden (obsolete)
Comment 13 Dean Jackson 2018-10-12 16:30:59 PDT Comment hidden (obsolete)
Comment 14 EWS Watchlist 2018-10-14 00:38:10 PDT Comment hidden (obsolete)
Comment 15 EWS Watchlist 2018-10-14 00:38:12 PDT Comment hidden (obsolete)
Comment 16 Timothy Hatcher 2018-10-15 12:21:51 PDT Comment hidden (obsolete)
Comment 17 Timothy Hatcher 2018-10-16 11:50:51 PDT Comment hidden (obsolete)
Comment 18 EWS Watchlist 2018-10-16 13:40:00 PDT Comment hidden (obsolete)
Comment 19 EWS Watchlist 2018-10-16 13:40:02 PDT Comment hidden (obsolete)
Comment 20 Timothy Hatcher 2018-10-16 13:46:41 PDT
Created attachment 352498 [details]
Patch
Comment 21 WebKit Commit Bot 2018-10-16 14:54:05 PDT
Comment on attachment 352498 [details]
Patch

Clearing flags on attachment: 352498

Committed r237204: <https://trac.webkit.org/changeset/237204>
Comment 22 WebKit Commit Bot 2018-10-16 14:54:07 PDT
All reviewed patches have been landed.  Closing bug.