RESOLVED FIXED95542
[Forms] AM/PM field of multiple fields time input UI should be fixed width
https://bugs.webkit.org/show_bug.cgi?id=95542
Summary [Forms] AM/PM field of multiple fields time input UI should be fixed width
yosin
Reported 2012-08-31 02:42:06 PDT
For Japanese, AM/PM symbols are in Kanji, these texts are longer than "--". For Arabic, AM/PM symbols are one character, these characters are shorter than "--".
Attachments
Patch 1 (5.35 KB, patch)
2012-08-31 03:57 PDT, yosin
no flags
Patch 2 (5.15 KB, patch)
2012-09-02 18:34 PDT, yosin
no flags
Patch 3 (5.12 KB, patch)
2012-09-02 19:06 PDT, yosin
no flags
yosin
Comment 1 2012-08-31 03:57:02 PDT
yosin
Comment 2 2012-09-02 18:34:58 PDT
yosin
Comment 3 2012-09-02 18:35:40 PDT
Comment on attachment 161852 [details] Patch 2 Could you review this patch? Thanks in advance.
Kent Tamura
Comment 4 2012-09-02 18:47:57 PDT
Comment on attachment 161852 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=161852&action=review > Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp:35 > +#include "TextRun.h" > +#include <wtf/text/StringBuilder.h> Are TextRun.h and StringBuilder.h needed?
yosin
Comment 5 2012-09-02 19:05:56 PDT
(In reply to comment #4) > (From update of attachment 161852 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=161852&action=review > > > Source/WebCore/html/shadow/DateTimeSymbolicFieldElement.cpp:35 > > +#include "TextRun.h" > > +#include <wtf/text/StringBuilder.h> > > Are TextRun.h and StringBuilder.h needed? TextRun.h is needed for style()->font().width(). StringBuilder.h isn't needed.
yosin
Comment 6 2012-09-02 19:06:09 PDT
yosin
Comment 7 2012-09-02 19:07:25 PDT
Comment on attachment 161854 [details] Patch 3 Could you review this patch? Thanks in advance. = Changes since the last review = * Remove extra include file StringBuilder.h from DateTimeSymbolicFieldElement.cpp
Kent Tamura
Comment 8 2012-09-02 20:04:21 PDT
Comment on attachment 161854 [details] Patch 3 ok
yosin
Comment 9 2012-09-02 21:02:52 PDT
Comment on attachment 161854 [details] Patch 3 Clearing flags on attachment: 161854 Committed r127398: <http://trac.webkit.org/changeset/127398>
yosin
Comment 10 2012-09-02 21:02:57 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.