Summary: | Don't trust character widths for internal OS X fonts in form controls | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dean Jackson <dino> | ||||
Component: | Text | Assignee: | Dean Jackson <dino> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | enrica, simon.fraser | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Dean Jackson
2013-05-09 17:24:27 PDT
Created attachment 201306 [details]
Patch
Comment on attachment 201306 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=201306&action=review > Source/WebCore/rendering/RenderTextControl.cpp:234 > + if (family.startsWith('.')) > + return false; Needs a “why” comment. Also, I’d put this before the map building code. It seems strange to have this in between the map building and the use of the map. Committed r149880: <http://trac.webkit.org/changeset/149880> This caused bug 123235. |