Hi, all.

I posted new patch to bug 389056.
https://bugzilla.mozilla.org/show_bug.cgi?id=389056
https://bugzilla.mozilla.org/attachment.cgi?id=275308&action=diff

This patch has many fixes from feedbacks of this thread and other bugs.

> Masayuki Nakano (Mozilla Japan)   2007-08-05 02:31:20 PDT
> 
> Created an attachment (id=275307) [details]
> Patch rv3.0
> 
> This changes many character's behaviors by the feedbacks.
> 
> 1. Added the new class which is not breakable around them even if there are
> breakable. But if there is SPACE, it is breakable. This behavior is defined in
> UAX#14.
> 
> 2. [] is not breakable now if around characters are character/numeric class.
> 
> 3. / and \ are not breakable now. But if a word has two or more /s or \s, they
> are breakable except the first one. And they are breakable *before* them at 
> the
> time. Therefore, the path text always has / or \. I believe that this is best
> way. But / is not breakable everytime if next is numeric for date format.
> (2007/01/01)
> 
> 4. DEGREE SIGN is not breakable if after character is character class. But 
> it's
> still breakable if after character is numeric, for compatibility.
> 
> 5. The hyphen is not breakable if the text doesn't have character class, or
> next is numeric class. Therefore, we cannot break 2007-Aug-07
> 
> 6. Pound/Yen sign are not same behavior with IE7.

the unix/url path is breaking example:

foo/bar/foo2/bar2/

is rendered as:

foo/bar
/foo2
/bar2/

each separated words always have '/', and only '/' lines are not there.

-- 
Masayuki Nakano <[EMAIL PROTECTED]>
Manager, Internationalization, Mozilla Japan.
Personal Web Site (Written in Japanese): http://www.d-toybox.com/studio/

_______________________________________________
dev-tech-layout mailing list
dev-tech-layout@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to