Re: [csswg-drafts] [css-text] Clarify whether soft breaks exist at boundaries of an inline element with `word-break:break-all` (#3897)

Yes, this is covered by the second sentence of the third bullet from the bottom in section [5.1](https://drafts.csswg.org/css-text-3/#line-break-details):

> For soft wrap opportunities defined by the boundary between two characters, the properties on nearest common ancestor of the two characters controls breaking.

So, in this case, as Koji says, at the boundary between c and x, and between z and d, the `word-break:normal` style of the div applies, and this rendering is correct:
```
abcx
y
zdef
```

As for making the spec clearer, if you have a concrete suggestion, I'm happy to take it, but as far as I can tell, the problem isn't that the sentence isn't clear, but rather that there are lots of rules, and that it is easy to fail to notice this one.

WPT has some tests that relate to this, but it could use some more.

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

Received on Thursday, 9 May 2019 07:03:33 UTC