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

Re: [css3-flexbox] Flexbox issues

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 14 Apr 2010 11:29:51 -0700
Message-ID: <h2qdd0fbad1004141129k6f0e72dcke5e5d0d9cab80dcb@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: www-style list <www-style@w3.org>
On Tue, Apr 13, 2010 at 10:59 PM, Andrew Fedoniouk
<news@terrainformatica.com> wrote:
> In case of flex units and 'flow' property we can use [1]
> CSS property 'clear' with its standard values and exactly
> with the same meaning. No new entities are required.
> This:
> div.container { flow:horizontal-flow; }
> div.container > * { width:*; height:*; }
> div.container > :nth-child(2n+1) { clear:right; }

clear doesn't work sufficiently, though the idea is indeed the same.
clear only allows left or right, which is fine for horizontal
flexboxes, but not vertical ones.  Further, reverse-direction
flexboxes might interact oddly.

Better to have a single value that just means "break the line", than
having to worry about whether you need left or right, or top or
bottom, or what.  I'm fine with 'clear' remaining part of the static
layout model only.

Received on Wednesday, 14 April 2010 18:30:44 UTC

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