Re: [css-line-grid] line-grid:match-parent and orthogonal flows

On Tue, Dec 8, 2015 at 3:13 AM, Alan Stearns <stearns@adobe.com> wrote:
> On 10/31/15, 11:01 AM, "Florian Rivoal" <florian@rivoal.net> wrote:
>
>>https://drafts.csswg.org/css-line-grid/#valdef-line-grid-match-parent
>>
>>> line-grid: match-parent
>>> Box assumes the line grid of its parent.
>>
>>The spec needs to say what happens if the parent has a different writing mode.
>>Presumably, in that situation, "line-grid: match-parent" should do the same
>>as "line-grid: create", but that should be made explicit.
>
> I’ve changed the definition to:
>
> Box assumes the line grid of its parent
>                         if its writing mode is the same as its parent.
>                         If the box has a writing mode that is different than its parent,
>                         then the box creates a new line grid as create below.

Presumably it should be okay for, say, vertical-lr and vertical-rl to
share the same line grid?  I think all we need to do is break the
inheritance if the writing modes are orthogonal.

~TJ

Received on Wednesday, 9 December 2015 19:25:47 UTC