REGRESSION (r232799): Form controls are blank in dark mode.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2018 17:32:50 +0000 (17:32 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 15 Jun 2018 17:32:50 +0000 (17:32 +0000)
commita1675998ecaa8cd7c61a04e9a913028c84a4a38a
tree4f52ef64175faaef7f71eea4562a3016ebf59b7d
parent6439f7ba954d86bf4229fc56770ba8f9bb786ff0
REGRESSION (r232799): Form controls are blank in dark mode.

https://bugs.webkit.org/show_bug.cgi?id=186677
rdar://problem/41162899

Reviewed by Wenson Hsieh.

* rendering/RenderThemeMac.mm:
(-[WebCoreTextFieldCell _adjustedCoreUIDrawOptionsForDrawingBordersOnly:]):
Dark mode controls don't have borders, just a semi-transparent background of shadows.
In the dark mode case we can't disable borders, or we will not paint anything for the control.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderThemeMac.mm