RE: Questions about 'column-span'

> -----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 UTC