- From: fantasai <fantasai.lists@inkedblade.net>
- Date: Mon, 14 May 2012 12:44:04 -0700
- To: Anton Prowse <prowse@moonhenge.net>
- CC: www-style@w3.org
On 05/14/2012 04:31 AM, Anton Prowse wrote: > On 13/05/2012 12:42, fantasai wrote: >> On 05/11/2012 06:18 AM, Tab Atkins Jr. wrote: >>> On Fri, May 11, 2012 at 2:58 PM, Morten Stenshorne<mstensho@opera.com> >>> wrote: >>>> Should the 'overflow' property apply to flexboxes? Implementations do >>>> support it, and I think it makes sense to do so. >>>> >>>> However, the flexbox spec (20120510) says that "Flexboxes are not block >>>> containers", and CSS21 says that 'overflow' applies to block containers >>>> only. >> >> We could say "block containers and boxes that estabish a formatting >> context", but I'm not sure how that interacts with tables. The table >> box presumably establishes a table formatting context. > > Actually it works fine for tables, since the Applies To line for 'overflow' should have been "block containers and table > boxes" anyway (see https://www.w3.org/Bugs/Public/show_bug.cgi?id=15381 ). > > I support your proposed wording, but I think it ought to be accompanied by a modification to 9.4 in which the term "formatting > context" is introduced, and to Chapter 17, as follows. r=fantasai on all changes proposed :) Let's get these fixed. ~fantasai ====== All changes accumulated below for ease of reference ====== In 11.1.1 (Overflow), replace: | Applies to: block containers with: | Applies to: block containers and boxes that establish a formatting context In 9.4 (Normal flow), replace: # Boxes in the normal flow belong to a formatting context, which may # be block or inline, but not both simultaneously. Block-level boxes # participate in a block formatting context. Inline-level boxes # participate in an inline formatting context. with: | Boxes in the normal flow belong to a formatting context, which in | CSS21 may be block, inline or table. In future levels of CSS, other | types of formatting context will be introduced. Block-level boxes | participate in a block formatting context. Inline-level boxes | participate in an inline formatting context. Table formatting | contexts are described in the chapter on _tables_. In 17.4 (Tables in the visual formatting model), replace: # [...] The table wrapper box establishes a block formatting context. # [...] with: # [...] The table wrapper box establishes a block formatting context, # and the table box establishes a table formatting context. [...] In 17.5 (Visual layout of table contents), replace: # Internal table elements generate rectangular boxes with content and # borders. Cells have padding as well. Internal table elements do not # have margins. with: # Internal table elements generate rectangular boxes which # participate in the table formatting context established by the # table box. These boxes have content and borders, and cells have # padding as well. Internal table elements do not have margins.
Received on Monday, 14 May 2012 19:44:39 UTC