Bug 14906

Summary: Line breaks occur at the euro character
Product: WebKit Reporter: Matt Perry <mpComplete>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, mitz
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: All   
OS: All   
URL: http://warrant.jrj.com.cn/
Attachments:
Description Flags
line break examples none

Matt Perry
Reported 2007-08-08 16:37:22 PDT
Visit the above URL. Notice how the navigation bar has misaligned entries. This is due to the text of 5th bubble wrapping (at a euro character - #8364). The page renders fine in FF2 and IE7. Reduced test case coming up. Tested in Safari 2.0.4 (419.3), and Safari with a trunk WebKit. Both exhibit this behavior.
Attachments
line break examples (377 bytes, text/html)
2007-08-08 16:38 PDT, Matt Perry
no flags
Matt Perry
Comment 1 2007-08-08 16:38:20 PDT
Created attachment 15875 [details] line break examples View the test case in Safari, and compare to Firefox and IE7. Safari is the only one that breaks at the euro symbol.
Dave Hyatt
Comment 2 2007-08-08 16:43:34 PDT
What is the correct behavior according to the Unicode spec? That's what we're (in theory) using to determine if we can break.
Matt Perry
Comment 3 2007-08-08 18:00:59 PDT
My interpretation of the spec may be wrong, but I think text should not break at a euro symbol. http://www.unicode.org/Public/UNIDATA/LineBreak.txt defines 0x20AC as "PR" - numeric prefix. According to http://www.unicode.org/unicode/reports/tr14/#DescriptionOfProperties (search for "PR:" for the exact section), "the line breaking algorithm, by default, does not break between PR and numbers or letters on either side."
Alexey Proskuryakov
Comment 4 2007-08-09 04:31:48 PDT
Looks like a duplicate of bug 4808 to me.
Alexey Proskuryakov
Comment 5 2007-10-05 05:04:56 PDT
> Looks like a duplicate of bug 4808 to me. No one disagrees == everyone concurs, right? *** This bug has been marked as a duplicate of 4808 ***
Note You need to log in before you can comment on or make changes to this bug.