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

[csswg-drafts] [css-align] Should 'left' and 'right' really both fall back to 'start?

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 May 2017 23:47:23 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-230114012-1495237642-sysbot+gh@w3.org>
dbaron has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-align] Should 'left' and 'right' really both fall back to 'start? ==
The [definition of `left`](https://drafts.csswg.org/css-align/#valdef-self-position-left) and [of `right`](https://drafts.csswg.org/css-align/#valdef-self-position-right) alignment currently both say:

> If the property’s axis is not parallel with the inline axis, this value behaves as start.

It seems less than ideal for both of them to fall back to `start`, since there may be an expectation that they end up on opposite sides.

I think one of them should probably fall back to `end`.  I'm inclined to say it should be `right`, given that line-left is equivalent to (see [mappings](https://drafts.csswg.org/css-writing-modes/#logical-to-physical)) inline-start whenever `direction` is `ltr`.  This is for two reasons:
* I believe `direction: ltr` is more widely used (on the Web, and as a share of world population)
* I suspect the main use case for such fallback might be flipping the `writing-mode` of CJK content between vertical and horizontal, where I suspect `direction: rtl` to be particularly rarely used.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1403 using your GitHub account
Received on Friday, 19 May 2017 23:47:29 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:12 UTC