W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

[csswg-drafts] [css-inline-3] vertical-align syntax / canonical ordering (#5235)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jun 2020 01:05:23 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-640832417-1592442322-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline-3] vertical-align syntax / canonical ordering ==
Minor syntactic questions on vertical-align now that it's a multi-valued shorthand:

- Should we allow the `auto` value of `baseline-source` in the shorthand?
It's not clear what it refers to, is not useful (it's the default behavior), and is left out of serialization anyway... and if at some point we have some longhand that has a meaningful `auto` value, it would prevent being able to specify that. So I've a slight preference to keep it out of the shorthand.

- What's the best canonical ordering of the values?
Seems like `baseline-source` should go first since English has that preference built into its grammar, but is there a preferred order for `alignment-baseline` vs. `baseline-shift`? (I'm leaning towards making `alignment-baseline` go first.)

- css-align restricts the position of `first | last` to right before the `baseline` keyword. Should we similarly restrict it in `vertical-align`? Or let it be reordered since it's parseable either way?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5235 using your GitHub account
Received on Thursday, 18 June 2020 01:05:25 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:09 UTC