On 9 elo, 18:41, Masayuki Nakano <[EMAIL PROTECTED]> wrote:

> https://bugzilla.mozilla.org/attachment.cgi?id=275972

I think there is an error in the "Should break inside" list where the
second item says that the combination SPACE+NBSP is breakable.
According to UAX 14, a non-breaking character prohibits breaks both
before and after:
http://www.unicode.org/reports/tr14/tr14-20.html#Table1

Thus, in practice, SPACE+NBSP is equivalent to NBSP+NBSP (since SPACE
offers a break opportunity only after, and that opportunity is then
overruled by NBSP).

Another small remark: my understanding is that in PHP code there may
occur strings of the following type:

$_GET{'x'}

$_GET['x']

(These should basically mean the same thing, but curly brackets are
recommended over square brackets.)

I know next to nothing about PHP, but I'd assume breaking these
strings would be as unwanted as breaking "Init()" or "sin(x)". Perhaps
these cases too should be added to the "Don't break" list?

--
Simo Kaupinmäki

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to