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

Re: Questions about 'column-span'

From: David Hyatt <hyatt@apple.com>
Date: Fri, 21 May 2010 15:43:01 -0500
Cc: Bert Bos <bert@w3.org>, "www-style@w3.org list" <www-style@w3.org>
Message-id: <BB783AA7-ED12-4DE6-B537-D12B7A887509@apple.com>
To: Alex Mogilevsky <alexmog@microsoft.com>
On May 21, 2010, at 1:37 PM, Alex Mogilevsky wrote:

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

Yeah, I see your point.

Received on Friday, 21 May 2010 20:43:36 UTC

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