W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-align] Should 'left'/'right' compute to 'start' also for 'align|justify-items'?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 21 Nov 2015 00:30:13 -0500
To: www-style@w3.org
Cc: Daniel Holbert <dholbert@mozilla.com>
Message-ID: <56500165.9090901@inkedblade.net>
On 11/20/2015 06:44 PM, Mats Palmgren wrote:
> Daniel and I disagree about what the spec intends for
> align|justify-items:left/right, can someone please clarify?
>
> The relevant spec sections here (I think) are:
> https://drafts.csswg.org/css-align-3/#valdef-self-position-left
> "left (self, content)
>      Aligns the alignment subject to be flush with the alignment
>      container's line-left edge. If the property's axis is not parallel
>      with the inline axis, this value computes to start."
>
> and:
> https://drafts.csswg.org/css-align-3/#align-items-property
> "This property specifies the default 'align-self' for all of the boxes..."
> "'auto' ..."
> "Other values have no special handling and are merely passed to align-self."

I think the best solution here would be to not compute left/right
to start, but to treat it as start when we're operating in the
wrong axis.

~fantasai
Received on Saturday, 21 November 2015 05:30:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:29 UTC