[Bug 18346] Desire to define "Block container element"

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18346

--- Comment #2 from Anton P <antonsforums@yahoo.co.uk> 2012-07-21 10:48:49 UTC ---
The following proposal factors the block container stuff out to 9.2 in addition
to the principal box stuff factored out in Proposal B.

Proposal C:

  # 9.2 Controlling box generation
  #
  # The following sections describe the types of boxes that may be
  # generated in CSS 2.1. A box's type affects, in part, its behavior
  # in the visual formatting model. The 'display' property, described
  # below, specifies a box's type.
  #
  # <ins>Each _block-level element_<link to 9.2.1>, inline block,
  # inline table and table cell generates a *principal box* that
  # contains descendant boxes and generated content and is also the
  # box involved in any positioning scheme. Some block-level elements
  # may generate additional boxes in addition to the principal box:
  # 'list-item' elements. These additional boxes are placed with
  # respect to the principal box.</ins>
  #
  # <ins>*Block container elements* are non-replaced elements whose
  # principal box is a block container box. A *block container box*
  # either contains only _block-level boxes_<link to 9.2.1> or
  # establishes an _inline formatting context_<link to 9.4.2> and thus
  # contains only _inline-level boxes_<link to 9.2.2>. The following
  # values of the 'display' property make a non-replaced element a
  # block container: 'block', 'list-item', 'table', 'inline-block',
  # 'inline-table'.</ins>
  #
  #
  # 9.2.1 Block-level elements and block boxes
  #
  # *Block-level elements* are those elements of the source document
  # that are formatted visually as blocks (e.g., paragraphs). The
  # following values of the 'display' property make an element
  # block-level: 'block', 'list-item', and 'table'.
  #
  # <del>Block-level boxes are boxes that participate in a block
  # formatting context. Each block-level element generates a principal
  # block-level box that contains descendant boxes and generated
  # content and is also the box involved in any positioning scheme.
  # Some block-level elements may generate additional boxes in
  # addition to the principal box: 'list-item' elements. These
  # additional boxes are placed with respect to the principal box.</del>
  #
  # <ins>The principal box of a block-level element is a block-level
  # box. *Block-level boxes* are boxes that participate in a block
  # formatting context.</ins> Except for table boxes, which are
  # described in a later chapter, and <ins>the principal box of</ins>
  # replaced elements, a block-level box is also a block container box.
  # <del>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.</del> Block-level boxes
  # that are also block containers are called block boxes.
  #
  # <ins>Non-replaced inline blocks and non-replaced table cells are
  # block containers but are not block-level.</ins>
  #
  # The three terms "block-level box," "block container box," and
  # "block box" are sometimes abbreviated as "block" where unambiguous.


The Notes for Proposal B above apply to Proposal C too.  Proposal C also
reiterates the fact that block container elements are non-replaced.


Proposal: http://lists.w3.org/Archives/Public/www-style/2012Jul/0504.html

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 21 July 2012 10:48:50 UTC