C+
+
If I'm not mistaken this didn't happen in Opera 9.2. Is this a bug or an
intentional change?
Boris
Probably an intentional change, but it's hard to say without seeing a
test case. Opera 9.5 includes support for UAX #14 Line Breaking
Properties (http://unicode.org/reports/tr14/) and UAX #29 Text
Boundaries (http://unicode.org/reports/tr29/), which changed the line
wrapping rules compared to 9.27.
--
Tim Altman
Desktop QA
Opera Software
Remove NO SPAM from e-mail address to reply
> [...]
>> If I'm not mistaken this didn't happen in Opera 9.2. Is this a bug or an
>> intentional change?
>
> Probably an intentional change, but it's hard to say without seeing a
> test case. Opera 9.5 includes support for UAX #14 Line Breaking
Here's a simple test case: http://www.highscore.de/browsertest/cpp.html
If you resize Opera and try different window sizes you'll see how "C++" is
wrapped.
> Properties (http://unicode.org/reports/tr14/) and UAX #29 Text
> Boundaries (http://unicode.org/reports/tr29/), which changed the line
> wrapping rules compared to 9.27.
I don't know how other browsers handle this case (quickly checked IE7
which doesn't wrap "C++"; however this doesn't mean much of course). If
"C++" is wrapped now though in Opera a lot of documentation would need to
be updated as the plus signs in different lines look strange?
Boris
> Here's a simple test case:
> http://www.highscore.de/browsertest/cpp.html If you resize Opera
> and try different window sizes you'll see how "C++" is wrapped.
Confirmed with O9.52. "C#" has no such problem, I suspect a Microsoft
conspiracy. ;-)
--
Pete Forman -./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
pete....@westerngeco.com -./\.- the opinion of Schlumberger or
http://petef.22web.net -./\.- WesternGeco.
I have found an undesirable effect of this change, in that InChIs (used by
chemists) that wrapped reasonably well in 9.2x now do not break at hyphens
in 9.5x.
I have a test file here:
http://www.alanwood.net/demos/bug-95067-inchi.html
The latest Firefox alpha has finally started wrapping InChIs nicely, with an
appropriate style. Does anyone know if Opera 9.5 is supposed to support
style="text-wrap:normal; word-wrap:break-word;" ?
--
Alan Wood
http://www.alanwood.net (Unicode, special characters, pesticide names)
>"Tim Altman" <do....@spam.me.invalid> wrote in message
>news:0po2c4pijk604p15n...@4ax.com...
>> Opera 9.5 includes support for UAX #14 Line Breaking
>> Properties (http://unicode.org/reports/tr14/) and UAX #29 Text
>> Boundaries (http://unicode.org/reports/tr29/), which changed the line
>> wrapping rules compared to 9.27.
>
>I have found an undesirable effect of this change, in that InChIs (used by
>chemists) that wrapped reasonably well in 9.2x now do not break at hyphens
>in 9.5x.
>
>I have a test file here:
>http://www.alanwood.net/demos/bug-95067-inchi.html
Your test doesn't demonstrate how a browser should wrap the text.
>The latest Firefox alpha has finally started wrapping InChIs nicely, with an
>appropriate style. Does anyone know if Opera 9.5 is supposed to support
>style="text-wrap:normal; word-wrap:break-word;" ?
No, Opera does not support those properties.
>On Fri, 05 Sep 2008 18:51:05 +0200, Tim Altman <do....@spam.me.invalid>
>wrote:
>
>> [...]
>>> If I'm not mistaken this didn't happen in Opera 9.2. Is this a bug or an
>>> intentional change?
>>
>> Probably an intentional change, but it's hard to say without seeing a
>> test case. Opera 9.5 includes support for UAX #14 Line Breaking
>
>Here's a simple test case: http://www.highscore.de/browsertest/cpp.html
>If you resize Opera and try different window sizes you'll see how "C++" is
>wrapped.
Confirmed. Looking at
http://www.unicode.org/reports/tr14/#DescriptionOfProperties, plus
symbols are PR characters, which have special wrapping rules described
in http://www.unicode.org/reports/tr14/#TailorableBreakingRules LB24.
I can't fully wrap my head around the rules to figure out if Opera is
behaving correctly or not, though.
Assuming Opera is correct, I can understand how this change may be
frustrating, but it is according to the Unicode rules. Your best bet
is to add ⁠ characters, i.e. "C⁠+⁠+". ⁠
is a word joining character described in
http://www.unicode.org/reports/tr14/#DescriptionOfProperties with the
WJ characters.
>>I have a test file here:
>>http://www.alanwood.net/demos/bug-95067-inchi.html
>
> Your test doesn't demonstrate how a browser should wrap the text.
To see how I think the text should be wrapped, view the file in Internet
Explorer 5.5+ or Safari 2+.
Allowing a break immediately after a hyphen-minus enables the InChIs to be
viewed without needing to scroll horizontally.