Re: [csswg-drafts] [css-break-3] rules for direction to use when slicing inline borders for box-decoration-break:slice are unclear (#4989)

(Generally, i think it would be helpful to have more diagrams here – at least one for inline text broken across lines.)

I wanted to check what happens when a line break occurs inside a LTR sequence of words that is embedded in a RTL paragraph. Here is an example from https://r12a.github.io/scripts/tutorial/part5#latin-in-rtl

![Screenshot 2020-10-27 at 11 37 05](https://user-images.githubusercontent.com/4839211/97296685-e4301380-1848-11eb-9ca3-5b189b7c9a5b.png)

Note how 'Unicode Conference' (which would have 'Unicode' on the left normally, remains on the first line when rearranged around the line break.  This seems to suggest to me that it's the parent's directionality that needs to be taken into account, rather than the direction of the inline element.

I'd personally expect (though we may want to check with native speakers) to see

![Screenshot 2020-10-27 at 11 44 31](https://user-images.githubusercontent.com/4839211/97297412-ed6db000-1849-11eb-97ea-841103c2e600.png)

become

![Screenshot 2020-10-27 at 11 37 05](https://user-images.githubusercontent.com/4839211/97297438-f6f71800-1849-11eb-8f76-2a59d4943155.png)

even though the 'U' was originally against a vertical line.

Do we need to change anything here to make this work right?

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


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

Received on Tuesday, 27 October 2020 11:48:12 UTC