RESOLVED FIXED 191655
Have prefers-color-scheme: light always match on macOS versions before Mojave
https://bugs.webkit.org/show_bug.cgi?id=191655
Summary Have prefers-color-scheme: light always match on macOS versions before Mojave
Timothy Hatcher
Reported 2018-11-14 14:05:38 PST
Currently @media (prefers-color-scheme: light) is invalid on macOS before Mojave, but those systems only had light mode and we should match in that case. I'm not sure how common this case might be going forward, given that all other browsers don't support prefers-color-scheme yet.
Attachments
Patch (42.26 KB, patch)
2019-01-11 17:31 PST, Timothy Hatcher
no flags
Patch (42.32 KB, patch)
2019-01-11 21:33 PST, Timothy Hatcher
no flags
Patch (46.27 KB, patch)
2019-01-12 10:06 PST, Timothy Hatcher
no flags
Patch (42.94 KB, patch)
2019-01-12 10:29 PST, Timothy Hatcher
no flags
Archive of layout-test-results from ews106 for mac-highsierra-wk2 (2.61 MB, application/zip)
2019-01-12 17:11 PST, EWS Watchlist
no flags
Patch (42.94 KB, patch)
2019-01-12 18:18 PST, Timothy Hatcher
no flags
Radar WebKit Bug Importer
Comment 1 2018-11-14 14:06:02 PST
Simon Fraser (smfr)
Comment 2 2018-11-14 14:06:44 PST
Seems worth doing.
Timothy Hatcher
Comment 3 2019-01-11 17:31:04 PST Comment hidden (obsolete)
Megan Gardner
Comment 4 2019-01-11 17:40:18 PST
Comment on attachment 358967 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=358967&action=review > Source/WebCore/page/Page.cpp:2679 > } Does 'value' not need to be marked as UNUSED? > Source/WebCore/page/Page.cpp:2704 > +#endif Does 'valueOverride' not need to be marked as UNUSED?
Timothy Hatcher
Comment 5 2019-01-11 21:33:20 PST Comment hidden (obsolete)
Timothy Hatcher
Comment 6 2019-01-12 10:06:30 PST Comment hidden (obsolete)
Timothy Hatcher
Comment 7 2019-01-12 10:29:11 PST Comment hidden (obsolete)
EWS Watchlist
Comment 8 2019-01-12 17:11:37 PST Comment hidden (obsolete)
EWS Watchlist
Comment 9 2019-01-12 17:11:39 PST Comment hidden (obsolete)
Timothy Hatcher
Comment 10 2019-01-12 18:18:03 PST
WebKit Commit Bot
Comment 11 2019-01-12 21:54:13 PST
Comment on attachment 358998 [details] Patch Clearing flags on attachment: 358998 Committed r239904: <https://trac.webkit.org/changeset/239904>
WebKit Commit Bot
Comment 12 2019-01-12 21:54:14 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.