| Summary: | [Yosemite] Button text doesn't go white while pushing the button, like it does for real buttons | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Dean Jackson <dino> | ||||
| Component: | New Bugs | Assignee: | Dean Jackson <dino> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | ||||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Dean Jackson
2014-09-23 19:59:32 PDT
Created attachment 238581 [details]
Patch
Committed r173928: <http://trac.webkit.org/changeset/173928> Comment on attachment 238581 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=238581&action=review > Source/WebCore/rendering/RenderThemeMac.mm:523 > + case CSSValueActivebuttontext: > +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 > + color = 0xC0FFFFFF; > +#endif > + break; Don’t we want to set the color to something on pre-101000 systems instead of letting it call through to RenderTheme::systemColor? Maybe convertNSColorToColor([NSColor controlTextColor])? No FIXME about this being hardcoded? Same problem as with CSSValueInfobackground, I guess. |