Re: [csswg-drafts] [css-text] Ideographic spaces at the beginning or end of lines (#6903)

> The BA class suppresses breaks before the character. In addition to that, css-text requires end-of-lines U+3000 to hang. For general use, I think that's the expected behavior.

I might be missing something, but it looks like what BA does is the opposite of Nuo tai does. The BA class suppresses breaks *before* the character, while U+3000 in Nuo tai suppresses breaks *after* the character. After reading the definition of [hang](https://www.w3.org/TR/2021/CRD-css-text-3-20210422/#hang) in css-text, I am not sure how it will help this use case either.

The person's name and the ideographic space in [Nuo tai](https://github.com/w3c/clreq/issues/411#issuecomment-997154843), like Arabic numerals and the minus sign or currency symbol before them, cannot be split into two lines. What BA prohibits is the line break *before* the space, not the line break *after* the space.

> The ` 神` usage is very specific, and doesn't follow the usual rules. I would expect text intending to use that convention to adopt special markup. Maybe something like
> 
> ```
> 起初<span class=god> 神</span>创造天地
> ```
> 
> which is then styled as
> 
> ```css
> .god {
>   white-space: break-spaces;
>   line-break: anywhere;
> }
> ```

Sounds fine to me. Thanks.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 22 December 2021 11:40:58 UTC