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 "--".
Created attachment 161656 [details] Patch 1
Created attachment 161852 [details] Patch 2
Comment on attachment 161852 [details] Patch 2 Could you review this patch? Thanks in advance.
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?
(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.
Created attachment 161854 [details] Patch 3
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
Comment on attachment 161854 [details] Patch 3 ok
Comment on attachment 161854 [details] Patch 3 Clearing flags on attachment: 161854 Committed r127398: <http://trac.webkit.org/changeset/127398>
All reviewed patches have been landed. Closing bug.