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

Re: [css-flexbox] [css-align] unprefixing alignment properties before css-align

From: Florian Rivoal <florian@rivoal.net>
Date: Fri, 14 Jun 2013 12:06:08 +0200
To: www-style@w3.org
Message-ID: <op.wynyciaef5de51@localhost.localdomain>
On Thu, 13 Jun 2013 22:42:33 +0200, Christian Biesinger  
<cbiesinger@google.com> wrote:

> I would like to unprefix and ship flexbox in Chrome, and have a patch
> ready to do so.
>
> But before I do that, I wanted to hear opinions about shipping the
> align-*/justify-* properties before we implement the full css-align
> spec. For example, conceivably, web authors will write code like:
>
>   * { justify-content: center; }
>
> And for now it will only apply to flexbox, but once we implement
> css-align, it would start applying to all blocks and mess up layouts.
>
> Now personally, I think that risk is somewhat low and people can just
> fix their sites, but does anyone have other opinions on this?

Even though that would not completely eliminate the risk, maybe you could
do something to increase author's awareness that applying these properties
to non flexbox elements is a bad idea. For example, if they are used on
something whose computed value is not 'flex’ or ‘inline-flex', print some
warning in the console.

  - Florian
Received on Friday, 14 June 2013 10:06:41 UTC

This archive was generated by hypermail 2.3.1 : Friday, 14 June 2013 10:06:41 UTC