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

Re: [css3-flexbox] alignment test

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 08 Dec 2011 12:15:57 -0800
Message-ID: <4EE11AFD.8030807@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style@w3.org
On 12/07/2011 02:07 PM, Tab Atkins Jr. wrote:
> 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.

I don't think creating elements or pseudo-elements is a good way of
controlling spacing. That's what margins are for. We've come a long
way since using spacer GIFs, please let's not go back to that.

~fantasai
Received on Thursday, 8 December 2011 20:16:38 GMT

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