Title: [183367] trunk/Source/WebCore/ChangeLog
- Revision
- 183367
- Author
- [email protected]
- Date
- 2015-04-26 14:26:42 -0700 (Sun, 26 Apr 2015)
Log Message
refine
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (183366 => 183367)
--- trunk/Source/WebCore/ChangeLog 2015-04-26 21:25:02 UTC (rev 183366)
+++ trunk/Source/WebCore/ChangeLog 2015-04-26 21:26:42 UTC (rev 183367)
@@ -7,6 +7,11 @@
Test: fast/forms/button-line-height.html
+ The theme code was overriding line heights on all themed form controls.
+ Instead it should have only overridden line height when the theme overrides the font.
+ For <input type=button> on Mac, the theme always overrides the font, but for
+ other elements like <button> it does not.
+
* platform/Theme.h: Changed controlFont to return an Optional so we can tell
when the theme is overriding the font. Otherwise if the font from the user-agent
style sheet and the font from the theme are the same, we will think we are not
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes