Bug 187072

Summary: Find on page selection color isn't adapted for dark mode
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Layout and RenderingAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, commit-queue, dbates, ews-watchlist, megan_gardner, rniwa, ryanhaddad, simon.fraser, thorton, tsavell, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Archive of layout-test-results from ews100 for mac-sierra
none
Archive of layout-test-results from ews117 for mac-sierra
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from webkit-cq-03 for mac-sierra
none
Patch
none
Patch
none
Archive of layout-test-results from webkit-cq-01 for mac-sierra
none
Patch
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from ews103 for mac-sierra
none
Archive of layout-test-results from ews115 for mac-sierra
none
Patch none

Description Timothy Hatcher 2018-06-26 17:13:22 PDT
White text on a yellow background is hard to read.

<rdar://problem/40354841>
Comment 1 Timothy Hatcher 2018-06-26 17:35:18 PDT Comment hidden (obsolete)
Comment 2 Timothy Hatcher 2018-06-26 18:33:22 PDT Comment hidden (obsolete)
Comment 3 Tim Horton 2018-06-26 19:09:52 PDT Comment hidden (obsolete)
Comment 4 EWS Watchlist 2018-06-26 19:41:23 PDT Comment hidden (obsolete)
Comment 5 EWS Watchlist 2018-06-26 19:41:25 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2018-06-26 20:16:26 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2018-06-26 20:16:28 PDT Comment hidden (obsolete)
Comment 8 Timothy Hatcher 2018-06-26 20:40:14 PDT Comment hidden (obsolete)
Comment 9 Tim Horton 2018-06-26 21:04:35 PDT Comment hidden (obsolete)
Comment 10 Timothy Hatcher 2018-06-26 21:16:39 PDT Comment hidden (obsolete)
Comment 11 Timothy Hatcher 2018-06-26 21:21:34 PDT Comment hidden (obsolete)
Comment 12 Timothy Hatcher 2018-06-26 21:37:33 PDT Comment hidden (obsolete)
Comment 13 WebKit Commit Bot 2018-06-27 08:54:16 PDT Comment hidden (obsolete)
Comment 14 Timothy Hatcher 2018-06-27 09:10:19 PDT Comment hidden (obsolete)
Comment 15 WebKit Commit Bot 2018-06-27 11:02:46 PDT Comment hidden (obsolete)
Comment 16 WebKit Commit Bot 2018-06-27 11:02:48 PDT Comment hidden (obsolete)
Comment 17 Timothy Hatcher 2018-06-27 11:38:46 PDT Comment hidden (obsolete)
Comment 18 Timothy Hatcher 2018-06-27 13:13:56 PDT Comment hidden (obsolete)
Comment 19 WebKit Commit Bot 2018-06-27 14:21:32 PDT Comment hidden (obsolete)
Comment 20 WebKit Commit Bot 2018-06-27 14:21:34 PDT Comment hidden (obsolete)
Comment 21 Timothy Hatcher 2018-06-27 14:33:26 PDT
Created attachment 343753 [details]
Patch
Comment 22 WebKit Commit Bot 2018-06-27 15:14:17 PDT Comment hidden (obsolete)
Comment 23 WebKit Commit Bot 2018-06-27 15:15:01 PDT
Comment on attachment 343753 [details]
Patch

Clearing flags on attachment: 343753

Committed r233280: <https://trac.webkit.org/changeset/233280>
Comment 24 WebKit Commit Bot 2018-06-27 15:15:03 PDT Comment hidden (obsolete)
Comment 25 Truitt Savell 2018-06-28 08:24:50 PDT Comment hidden (obsolete)
Comment 26 Ryan Haddad 2018-06-28 09:23:00 PDT Comment hidden (obsolete)
Comment 27 Tim Horton 2018-06-28 09:24:58 PDT
On 10.12 it *is* still yellow, and just needs a rebaseline there, probably?
Comment 28 Ryan Haddad 2018-06-28 09:29:04 PDT
(In reply to Tim Horton from comment #27)
> On 10.12 it *is* still yellow, and just needs a rebaseline there, probably?
It is also still yellow on 10.13 and 10.14 when dark mode isn't enabled, right?
Comment 29 Tim Horton 2018-06-28 09:35:13 PDT
No, now it uses findHighlightColor, which is likely not precisely the same color.
Comment 30 Timothy Hatcher 2018-06-28 10:47:11 PDT Comment hidden (obsolete)
Comment 31 Timothy Hatcher 2018-06-28 10:53:35 PDT
(In reply to Ryan Haddad from comment #28)
> (In reply to Tim Horton from comment #27)
> > On 10.12 it *is* still yellow, and just needs a rebaseline there, probably?
> It is also still yellow on 10.13 and 10.14 when dark mode isn't enabled,
> right?

Yes, it is the same color in light and dark modes.
Comment 32 Timothy Hatcher 2018-06-28 10:54:10 PDT
Reopening to update layout tests.
Comment 33 Timothy Hatcher 2018-06-28 10:56:24 PDT Comment hidden (obsolete)
Comment 34 Timothy Hatcher 2018-06-28 11:09:16 PDT Comment hidden (obsolete)
Comment 35 Timothy Hatcher 2018-06-28 11:55:37 PDT Comment hidden (obsolete)
Comment 36 EWS Watchlist 2018-06-28 13:03:51 PDT Comment hidden (obsolete)
Comment 37 EWS Watchlist 2018-06-28 13:03:53 PDT Comment hidden (obsolete)
Comment 38 EWS Watchlist 2018-06-28 13:59:53 PDT Comment hidden (obsolete)
Comment 39 EWS Watchlist 2018-06-28 13:59:55 PDT Comment hidden (obsolete)
Comment 40 Timothy Hatcher 2018-06-28 14:08:12 PDT
Created attachment 343848 [details]
Patch
Comment 41 WebKit Commit Bot 2018-06-28 14:48:52 PDT
Comment on attachment 343848 [details]
Patch

Clearing flags on attachment: 343848

Committed r233329: <https://trac.webkit.org/changeset/233329>
Comment 42 WebKit Commit Bot 2018-06-28 14:48:54 PDT
All reviewed patches have been landed.  Closing bug.