-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=115883 <rdar://problem/13817757> Reviewed by Darin Adler. We ignore the character width for a bunch of fonts when predicting the width of a form control. Some of the internal fonts in OS X are not in the ignored list. Rather than add them, simply test for fonts whose family begins with a period character ".". * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::hasValidAvgCharWidth): Return false for any family that starts with "." git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
643f50c9