W3C home > Mailing lists > Public > www-style@w3.org > June 2010

RE: [css3-flexbox] flexbox questions

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Tue, 1 Jun 2010 18:55:12 +0000
To: Brad Kemper <brad.kemper@gmail.com>
CC: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <5258A1A783764C478A36E2BC4A9C497E0C2477@tk5ex14mbxc105.redmond.corp.microsoft.com>
> -----Original Message-----
> From: Brad Kemper [mailto:brad.kemper@gmail.com]
> Sent: Wednesday, May 26, 2010 9:54 PM
> So, 'text-align:end' would not necessarily align the text with the end of the
> lines of text, if those lines appeared within a flexbox child of a 'pack:end'
> flexbox? Or at if they did, that might not have any relation to where the the
> edge used to pack against, even though it has the same value and no further
> reversal separates them? That doesn't seem like the right thing to do.
> (I think I said that right.)

It would of course simplify the design if textbox direction would simply use text direction. There is a precedent - table column direction switches from LTR to RTL with text direction. And table columns become horizontal in vertical flow.

It seems however that flexbox is meant to be used for special arrangement which has nothing to do with language. Although any use case can be achieved by setting different flow directions on flexbox and content inside flexbox, it somehow doesn't feel right to reuse text direction for box direction, especially when it is expected to be different very often.
Received on Tuesday, 1 June 2010 18:56:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:47 UTC