https://issues.apache.org/bugzilla/show_bug.cgi?id=53146

Vincent Hennebert <vhenneb...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Vincent Hennebert <vhenneb...@gmail.com> 2012-04-26 
14:13:00 UTC ---
Hi Thomas,

you didn't actually specify text-align="justify" on the second block. If you do
then you get the same behaviour as in the first block, which is expected since
the hyphen is explicit. So it's always allowed to break after it even if
hyphenation has been set to false.

As to the fact that when text-align is not set to "justify", then a break is
made after the first "/", then I believe it's compliant with the line-breaking
rules defined in Unicode UAX #14:
http://www.unicode.org/reports/tr14/#SY

In order to prevent that, you would have to define a rule that says something
like "Do not break between a solidus and a letter if that solidus is preceded
by white space." I believe this is outside the scope of UAX #14.

In that case, I think the solution is to put a Word Joiner (U+2060) between the
first "/" and the rest of the URL.

Closing this bug as invalid, feel free to re-open it if you don't agree with
the analysis.

Vincent

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to