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

On Thu, 13 Jun 2013 22:42:33 +0200, Christian Biesinger  
<> 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