W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2017

[csswg-drafts] [css-align] Rename `auto` to `legacy` for `justify-items`

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Tue, 02 May 2017 21:39:10 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-225829596-1493761149-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] Rename `auto` to `legacy` for `justify-items` ==
In the `align-self` and `justify-self` properties, the `auto` keyword looks up to the parent's `align-items` or `justify-items` property. That's fine.

On `justify-items` we also have an `auto` keyword, but it's not there for the general case: it's just there to handle some special computation in case the parent’s value contains a `legacy` keyword alongside an alignment keyword.

It would be equally plausible to just use `legacy` as this magic-computing keyword, and leave `auto` out of the property entirely. Note that `align-items` doesn't have an `auto` keyword, because it doesn't have `legacy`.

Proposal A is to rename `auto` to `legacy`.
Proposal B is to remove `legacy` entirely and leave the handling of `<CENTER>` and friends to UA-specific magic and/or a separate (Yet Another) alignment property.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1318 using your GitHub account
Received on Tuesday, 2 May 2017 21:39:17 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 10:12:53 UTC