Summary: | REGRESSION(r244635): [GTK] Wrong background color used in non-dark mode | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||||||||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | bugs-noreply, ews-watchlist, mcatanzaro, timothy | ||||||||||||
Priority: | P2 | Keywords: | Gtk, LayoutTestFailure, Regression | ||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||
Hardware: | Unspecified | ||||||||||||||
OS: | Unspecified | ||||||||||||||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=126907 https://bugs.webkit.org/show_bug.cgi?id=197947 |
||||||||||||||
Attachments: |
|
Description
Carlos Garcia Campos
2019-04-25 02:49:53 PDT
Created attachment 368224 [details]
Patch
Comment on attachment 368224 [details]
Patch
Makes sense.
The patch is not enough for other test failures, I'll submit an updated one soon. We will need to rebaseline others because of the change in the disabled text for text fields. Created attachment 368233 [details]
Patch
Comment on attachment 368233 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368233&action=review > Source/WebCore/css/CSSValueKeywords.in:272 > +-webkit-text-control-background Can we think of a better name? -webkit-system-control-background? -webkit-text-system-background? (In reply to Michael Catanzaro from comment #5) > Comment on attachment 368233 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=368233&action=review > > > Source/WebCore/css/CSSValueKeywords.in:272 > > +-webkit-text-control-background > > Can we think of a better name? > > -webkit-system-control-background? This would match apple, I added text because this is only used for text fields and text areas, not all form controls have the same background color. > -webkit-text-system-background? This doesn't make any sense to me. I'll use -webkit-system-text-control-background then. Created attachment 368310 [details]
Patch
Comment on attachment 368310 [details] Patch Attachment 368310 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: https://webkit-queues.webkit.org/results/12003555 New failing tests: fast/css/first-letter-anonymous-block-crash.html Created attachment 368314 [details]
Archive of layout-test-results from ews125 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.14.4
(In reply to Build Bot from comment #8) > Comment on attachment 368310 [details] > Patch > > Attachment 368310 [details] did not pass ios-sim-ews (ios-simulator-wk2): > Output: https://webkit-queues.webkit.org/results/12003555 > > New failing tests: > fast/css/first-letter-anonymous-block-crash.html This was not caused by this patch. Maybe Timothy could propose a name; this becomes CSS API forever, so we want to make sure the name makes sense. (In reply to Michael Catanzaro from comment #11) > Maybe Timothy could propose a name; this becomes CSS API forever, so we want > to make sure the name makes sense. I would go with -webkit-text-background or -webkit-view-background. Since we have similar with -apple-system-text-background. This is equivalent to -apple-system-control-background, though. (In reply to Michael Catanzaro from comment #13) > This is equivalent to -apple-system-control-background, though. -apple-system is a prefix, separate from -apple and -webkit. So dropping "system" seems more fitting, and we don't have -webkit-system for any other keywords. I don't understand the difference between -apple-system and -apple, but OK. So would -webkit-control-background be appropriate, then? (In reply to Michael Catanzaro from comment #15) > I don't understand the difference between -apple-system and -apple, but OK. -apple is basically an alias for -webkit and -apple-system is separate and not mapped to -webkit. > So would -webkit-control-background be appropriate, then? That is fine. Created attachment 368445 [details]
Patch for landing
Committed r244731: <https://trac.webkit.org/changeset/244731> |