[Yosemite] Button text doesn't go white while pushing the button, like it does for real buttons
Created attachment 238581 [details] Patch
rdar://problem/17559038
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.