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: L. David Baron <dbaron@dbaron.org>
Date: Thu, 1 Dec 2011 12:39:59 -0800
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: www-style@w3.org
Message-ID: <20111201203959.GA10770@pickering.dbaron.org>
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. 

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.


π„ž   L. David Baron                         http://dbaron.org/   𝄂
𝄒   Mozilla                           http://www.mozilla.org/   𝄂
Received on Thursday, 1 December 2011 20:40:24 UTC

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