W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: [css3-flexbox] alignment test

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 7 Dec 2011 14:07:55 -0800
Message-ID: <CAAWBYDAqjn2mbAtPAm97tELbY7omv+LP2djg2vH0g21nvJCTRg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style@w3.org
On Wed, Dec 7, 2011 at 1:54 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> On 12/07/2011 10:59 AM, Tab Atkins Jr. wrote:
>> I was convinced against main-axis auto margins being flexible, since
>> they complicate the layout model without really working well (since
>> you can't control the flexibility - I liked them a lot more when they
>> accepted the flex() function).  So, the spec currently resolves them
>> to 0 instead (or should, if I accidentally left out the detail).  This
>> matches both Firefox's and WebKit's behavior for -prefix-box.
>
> Firefox's flexbox behavior requires adding <spacer> elements in order to
> have some things align to the left and others align to the right.
>
> I would like that not be the case.

I believe it's cleaner and easier to understand if we wait for the
ability to create arbitrary pseudo-elements, which we expect to do
anyway to help out with Regions.  Then you can use pseudo-elements as
spacers, and have more control over alignment as well.

~TJ
Received on Wednesday, 7 December 2011 22:08:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT