Bug 14906 - Line breaks occur at the euro character
Summary: Line breaks occur at the euro character
Status: RESOLVED DUPLICATE of bug 4808
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://warrant.jrj.com.cn/
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-08 16:37 PDT by Matt Perry
Modified: 2007-10-05 05:04 PDT (History)
2 users (show)

See Also:


Attachments
line break examples (377 bytes, text/html)
2007-08-08 16:38 PDT, Matt Perry
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Perry 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.
Comment 1 Matt Perry 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.
Comment 2 Dave Hyatt 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.
Comment 3 Matt Perry 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."
Comment 4 Alexey Proskuryakov 2007-08-09 04:31:48 PDT
Looks like a duplicate of bug 4808 to me.
Comment 5 Alexey Proskuryakov 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 ***