W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: `overflow: hidden` on tables for border rounding doesn't seem to be supported by the standard

From: Gérard Talbot <www-style@gtalbot.org>
Date: Thu, 1 Dec 2011 18:47:47 -0800
Message-ID: <812cb3c2c74f2c151c27baa20fcdb980.squirrel@gtalbot.org>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "www-style mailing list" <www-style@w3.org>

Le Jeu 1 décembre 2011 12:39, L. David Baron a écrit :
> On Thursday 2011-12-01 15:12 -0500, Boris Zbarsky wrote:
>> On 12/1/11 3:09 PM, Simon Sapin wrote:
>> >Le 01/12/2011 21:06, Kang-Hao (Kenny) Lu a écrit :
>> >>If I understand correctly, 'display: table' is still not mentioned in
>> >>this sentence.
>> >>
>> >>I would sincerely appreciate it if there's venn-diagram here showing
>> >>which of the display types belong to which categories as these are
>> used
>> >>everywhere.
>> >
>> >"Table cells" in this sentence is short for "boxes with `display:
>> >table-cell`".
>> >
>> >What do you mean by "categories"?
>> Right now, answering the question "What elements does the 'overflow'
>> property apply to?" is rocket science.  It says it applies to "block
>> containers", but the text isn't a link, and actually finding the
>> definition of that term, assuming there is one at all, is
>> near-impossible.
> I think the definition it's intending to refer to is the second
> sentence of this:
>   # Except for table boxes, which are described in a later chapter,
>   # and replaced elements, a block-level box is also a block
>   # container box. A block container box either contains only
>   # block-level boxes or establishes an inline formatting context
>   # and thus contains only inline-level boxes. Not all block
>   # container boxes are block-level boxes: non-replaced inline
>   # blocks and non-replaced table cells are block containers but not
>   # block-level boxes. Block-level boxes that are also block
>   # containers are called block boxes.
>    --http://www.w3.org/TR/CSS21/visuren.html#block-boxes
> which is admittedly rather imprecise (since it defines the
> characteristics of a block container box rather than defining what
> causes a box to be one), but I think it's pretty clear that tables
> are not block container boxes, and therefore, according to CSS 2.1,
> the 'overflow' property does not apply to tables.
> -David

Then, this testcase
is invalid (only Opera 11.52 really correctly passes such test; Firefox
8.01, Chrome 15.0.874.121, Konqueror 4.7.3, IE9 fail such test) while that
requires text assert and code corrections.

overflow applies to inline-table elements though according to

I can't help think that it's kinda weird ... overflow applies to
inline-tables but not to fixed-width tables. <shrug>

Gérard Talbot
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 Friday, 2 December 2011 02:48:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:11 UTC