Re: [csswg-drafts] [css-text] full-width spaces not covered in the collapsible/preserved space definition (#4267)

> Since the definition above uses the term "white space", I understand that full-width spaces are excluded from that definition; hence ideographic spaces are never collapsible spaces. Is this correct ?

Yes.

> In the statement above, the term uses is just "space", so I assume that such term includes also the "other space separator" category; hence, there are soft wrap opportunities at the end of the sequence of ideographic spaces. Again, I wonder whether this assumption about full-width spaces is correct.


Ah, no. "space" generally means U+0020, not any kind of space. In this section, you can either considering it to mean U+0020, or the same as "white space", because the previous steps of that section have converted all "white space" other than U+0020 (i.e. tabs and segment breaks) into U+0020.

So in a sequence of ideographic spaces with pre-wrap, they keep their normal line breaking behavior defined in [UAX14's BA class](https://www.unicode.org/reports/tr14/tr14-39.html#BA): a wrapping opportunity is allowed after each (and if due to some other character, there was a wrapping opportunity before, it is not suppressed), and they don't get merged into an unbreakable sequence.

> Again, since the statement above uses the term "white space" it implies that any character in the "other space separators" group is excluded; hence, I understand that full-width spaces, like U+3000, can't be considered preserved spaces. Is this correct ?

Correct. Since U+3000 isn't (white) space, it cannot be "[any adjective] (white) space".

> These definitions are very important

I agree. I'll take a look and see if I can make an editorial update to disambiguate as much as possible.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4267#issuecomment-527283940 using your GitHub account

Received on Tuesday, 3 September 2019 02:50:59 UTC