RESOLVED FIXED 133524
[iOS] Input type=time elements styled with SVG fonts have 0 width
https://bugs.webkit.org/show_bug.cgi?id=133524
Summary [iOS] Input type=time elements styled with SVG fonts have 0 width
Myles C. Maxfield
Reported 2014-06-04 13:18:14 PDT
See related bug https://bugs.webkit.org/show_bug.cgi?id=133198. Fixing this requires a somewhat heavyweight refactoring.
Attachments
Patch (13.54 KB, patch)
2014-06-13 19:09 PDT, Myles C. Maxfield
no flags
Patch (26.07 KB, patch)
2014-06-17 12:56 PDT, Myles C. Maxfield
simon.fraser: review+
Myles C. Maxfield
Comment 1 2014-06-04 18:41:57 PDT
Myles C. Maxfield
Comment 2 2014-06-13 19:09:35 PDT
Simon Fraser (smfr)
Comment 3 2014-06-16 12:48:20 PDT
Comment on attachment 233097 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=233097&action=review > Source/WebCore/platform/text/ios/LocalizedDateCache.mm:96 > + if (m_font == font && m_maxWidthMap.contains(key)) { > + cachedResult = m_maxWidthMap.get(key); > + return Vector<String>(); > + } This conflation of caching max widths per type (globally)? and the getting of list of strings is super confusing, and I don't understand the global per-type cache.
Myles C. Maxfield
Comment 4 2014-06-17 12:56:32 PDT
WebKit Commit Bot
Comment 5 2014-06-17 12:57:40 PDT
Attachment 233255 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderThemeIOS.mm:566: This { should be at the end of the previous line [whitespace/braces] [4] Total errors found: 1 in 16 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Fraser (smfr)
Comment 6 2014-06-17 13:09:24 PDT
Comment on attachment 233255 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=233255&action=review > Source/WebCore/platform/text/ios/LocalizedDateCache.h:43 > + virtual ~MeasureTextClient() { } Not sure you want this. See https://bugs.webkit.org/show_bug.cgi?id=133908#c3
Myles C. Maxfield
Comment 7 2014-06-17 14:30:04 PDT
Just talked to Anders, we decided to keep it in. http://trac.webkit.org/changeset/170072
Note You need to log in before you can comment on or make changes to this bug.