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

dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-break-3] rules for direction to use when slicing inline borders for box-decoration-break:slice are unclear ==
The [rules for joining boxes with `box-decoration-break: slice`](https://drafts.csswg.org/css-break-3/#joining-boxes) currently say:

> **For boxes broken across lines**
> First, fragments on the same line are connected in visual order. Then, fragments on subsequent lines are ordered according to the element’s [inline base direction](https://drafts.csswg.org/css-writing-modes-4/#inline-base-direction) and aligned on the element’s dominant baseline. For example, in a left-to-right containing block (direction is ltr), the first fragment is the leftmost fragment on the first line and fragments from subsequent lines are put to the right of it. In a right-to-left containing block, the first fragment is the rightmost on the first line and subsequent fragments are put to the left of it. 

The normative text seems to say that it's the inline element's *own* direction, but the examples both refer to the *containing block's* direction.  It should be clear which one is used.

(I got here as part of filing [Mozilla bug 1632228](https://bugzilla.mozilla.org/show_bug.cgi?id=1632228).)

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4989 using your GitHub account

Received on Wednesday, 22 April 2020 17:01:32 UTC