RESOLVED FIXED 219875
[macOS] Adjust date input placeholder color based on specified text color
https://bugs.webkit.org/show_bug.cgi?id=219875
Summary [macOS] Adjust date input placeholder color based on specified text color
Aditya Keerthi
Reported 2020-12-14 15:00:12 PST
...
Attachments
Patch (19.63 KB, patch)
2020-12-14 15:03 PST, Aditya Keerthi
darin: review+
Patch for landing (20.36 KB, patch)
2020-12-15 13:29 PST, Aditya Keerthi
no flags
Aditya Keerthi
Comment 1 2020-12-14 15:00:29 PST
Aditya Keerthi
Comment 2 2020-12-14 15:03:56 PST
Darin Adler
Comment 3 2020-12-15 11:50:57 PST
Comment on attachment 416197 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=416197&action=review Really great changes! > LayoutTests/ChangeLog:12 > + * fast/forms/date/date-editable-components/date-editable-components-placeholder-color-expected-mismatch.html: Added. It’s a little disappointing when we can only create a mismatch test, since there are so many ways for such tests to pass (false negative). Can we make a reference test, carefully choosing colors so the placeholder text can be reproduced with some other mechanism. Or is that impractical?
Aditya Keerthi
Comment 4 2020-12-15 13:29:44 PST
Created attachment 416287 [details] Patch for landing
Aditya Keerthi
Comment 5 2020-12-15 13:32:59 PST
(In reply to Darin Adler from comment #3) > Comment on attachment 416197 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=416197&action=review > > Really great changes! Thanks for the review! > > LayoutTests/ChangeLog:12 > > + * fast/forms/date/date-editable-components/date-editable-components-placeholder-color-expected-mismatch.html: Added. > > It’s a little disappointing when we can only create a mismatch test, since > there are so many ways for such tests to pass (false negative). > > Can we make a reference test, carefully choosing colors so the placeholder > text can be reproduced with some other mechanism. Or is that impractical? I removed the mismatch test and replaced it with a reference test that reproduces the placeholder text by setting the value of the input to the current date, and styling the day/month/year fields.
EWS
Comment 6 2020-12-15 17:05:45 PST
Committed r270875: <https://trac.webkit.org/changeset/270875> All reviewed patches have been landed. Closing bug and clearing flags on attachment 416287 [details].
Note You need to log in before you can comment on or make changes to this bug.