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

We re-worded the “otherwise forbid” to make it clear.

Now the spec allows breaks between “$” and “100” for “$100” when the line-break property is “loose", and that behavior was raised as possible issue for implementers, and that not allowing the breaks is fine for Japanese, I changed the definition of the “loose”[1].

Please let me know if any.

[1] http://dev.w3.org/csswg/css-text/#propdef-line-break

/koji


On Apr 11, 2014, at 4:58 PM, Koji Ishii <kojiishi@gluesoft.co.jp> wrote:

> 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
> 
> /koji
> 
> 

Received on Tuesday, 13 May 2014 21:41:01 UTC