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

Re: [css3-multicol] spanning element with only block children

From: Gérard Talbot <www-style@gtalbot.org>
Date: Mon, 19 Aug 2013 11:03:52 -0400
Message-ID: <6074e023293450227974457402535847.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Morten Stenshorne" <mstensho@opera.com>
Cc: "www-style mailing list" <www-style@w3.org>

Le Lun 19 août 2013 4:31, Morten Stenshorne a écrit :
> "Gérard Talbot" <www-style@gtalbot.org> writes:
>> I believe this
>> http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/Opera/multicol-span-all-child-001-GT-ref.xht
>> to be a correct reftest for this test:
>> http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/Opera/multicol-span-all-child-001-GT.xht
>> Am I wrong? What am I missing?
>> In my opinion, Chrome 28.0.1500.95 and Prince9 render the test
>> correctly.
>> In my opinion, Firefox 23, IE10, Opera 12.16 get it wrong.
> This one is tricky: http://www.w3.org/TR/css3-multicol/#column-span0
>         When space is limited, it may be impossible to find room for
>         the spanning element. In these cases, user agents may treat the
>         element as if ‘none’ had been specified on this property.
> I must say I wish this wasn't in the spec, though. It's hard to
> implement correctly and adds no value.
> In other words, it is Firefox 23, IE10 and Opera 12.16 that get it
> right. The reftest is invalid.


Thank you for your response. I was puzzled ... and now I am confused :)

The multi-column element (body element) has a set width to 10em and its
'overflow' is by default set to 'visible'. So, when or how could a
multi-column with a spanning (column-span: all) element have limited

In this test, body has a set width of 10em; width is auto for the
column-spanning div. If 'width: auto' for a block is interpreted as "take
as much horizontal space as you can", then why would such situation
considered as limited (constraining) space? or even an "impossible to find
room" situation?

In any case, I see sufficient width to render all of the column-spanning
div within the multi-column element.

Is there a restriction to elements that can be column-spanning elements?
Can a block of blocks be a column-spanning element?


>> -------
>> On the same subject, I believe this
>> http://test.csswg.org/source/contributors/opera/submitted/multicol/multicol-span-all-child-ref.xht
>> to be an _incorrect_ reftest for this test:
>> http://test.csswg.org/source/contributors/opera/submitted/multicol/multicol-span-all-child-001.xht
> Unfortunately not. :) This test is valid, because of what I mentioned
> above.
> --
> ---- Morten Stenshorne, developer, Opera Software ASA ----
> ------------------ http://www.opera.com/ -----------------

CSS 2.1 Test suite RC6, March 23rd 2011

Contributions to CSS 2.1 test suite

Web authors' contributions to CSS 2.1 test suite
Received on Monday, 19 August 2013 15:04:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:33 UTC