W3C home > Mailing lists > Public > www-style@w3.org > April 2014

[css-text] What line-break loose allow (but otherwise forbid) means when the base rules forbid?

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Fri, 11 Apr 2014 07:58:05 +0000
To: "www-style@w3.org Style" <www-style@w3.org>
Message-ID: <3EE56732-602B-4304-9817-E18A1F6EBCE8@gluesoft.co.jp>
This might be very clear to native speakers, but I’ve got a sentence that I’d appreciate clarification. The line-break property[1] says:

> If the content language is Chinese or Japanese,
> then additionally allow (but otherwise forbid) for ‘loose’:

What exactly does “allow (but otherwise forbid)” means?

The case in question here is for a text stream of “$100” and whether the break after “$” is allowed or not.

I understood the text as “normal/strict forbids the break, but loose does not. It’s still ok not to break if its base rules forbid.”

However, one implementer understood this as "the break must be allowed after “$””. From his patch[2]:
> When in loose mode, we can't use the ASCII shortcut table since
> loose mode allows "$100" to break after '$' in content marked as CJK.

Which is correct understanding?

[1] http://dev.w3.org/csswg/css-text/#line-break-property
[2] https://bugs.webkit.org/attachment.cgi?id=189897&action=prettypatch

Received on Friday, 11 April 2014 07:58:38 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:39 UTC