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

RE: Questions about 'column-span'

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Fri, 21 May 2010 18:37:01 +0000
To: David Hyatt <hyatt@apple.com>, Bert Bos <bert@w3.org>
CC: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <5258A1A783764C478A36E2BC4A9C497E09CCEB@tk5ex14mbxc105.redmond.corp.microsoft.com>
> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of David Hyatt
> Sent: Friday, May 21, 2010 10:42 AM
> >>
> >> (3) Can the column-span element be an inline?  I'm inclined to say
> >> that it has to be a block-level element.  It seems weird to me to
> >> break an inline out of flow like that (that could possibly span
> >> multiple lines).  You'd have to at the very least make an anonymous
> >> block to wrap the inline anyway.
> >
> > It obviously has to be block-level, but that leaves two possibilities:
> >
> >  - 'column-span <> 1' *makes* the element into a block, or
> >  - 'column-span' only *applies* to block-level elements.
> >
> > The second seems by far the easiest to understand and is sufficient, I
> > think.
> >
> 
> I prefer the second also.

What happens when 'column-span:all' is applied to an image (which is not a block by default)? It doesn't seem reasonable to require 'display:block' for that to work.

It seems 'column-span' is more like 'float' than like 'width' and should make the target element into a block.
Received on Friday, 21 May 2010 18:37:35 GMT

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