W3C home > Mailing lists > Public > www-style@w3.org > July 2010

Re: [CSS21] The width/height properties list-item, run-in and table-* display types

From: Anton Prowse <prowse@moonhenge.net>
Date: Thu, 29 Jul 2010 23:50:13 +0200
Message-ID: <4C51F795.70204@moonhenge.net>
To: "www-style@w3.org" <www-style@w3.org>
CC: Boris Zbarsky <bzbarsky@MIT.EDU>
Boris Zbarsky wrote:
> On 7/29/10 5:25 PM, Anton Prowse wrote:
>> The word 'element' is used everywhere else, including the subsection
>> headings.
> 
> Yes, and I agree that the playing fast an loose with box vs element is 
> annoying, but "block-level element" doesn't mean "element with 'display' 
> set to 'block'".  It means an element that generates a block-level box.

Precisely; that's the point (and why I was mistaken in my original
post).  List-items are block-level elements (and are therefore covered
by 10.3):

   # 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). Several values
   # of the 'display' property make an element block-level: 'block',
   # 'list-item', and 'run-in' (part of the time; see run-in boxes), and
   # 'table'.


>> On the other hand, the other run-ins are inline-level elements, not 
>> inline elements, and so are not covered.
> 
> "inline element" means "element with an inline box", not "element with 
> 'display' set to 'inline'".

Not so; or at least that's one of the things that hopefully we'll clear
up.  Currently the spec says:

   # 9.2.2 Inline-level elements and inline boxes
   #
   # Inline-level elements are those elements of the source document that
   # do not form new blocks of content; the content is distributed in
   # lines (e.g., emphasized pieces of text within a paragraph, inline
   # images, etc.). Several values of the 'display' property make an
   # element inline: 'inline', 'inline-table', 'inline-block' and
   # 'run-in' (part of the time; see run-in boxes). Inline-level elements
   # generate inline boxes.

and the proposal in [1] is

s/make an element inline/make an element inline-level/

>> But this should be addressed as part of the great box cleanup in [1]
> 
> Yeah.

>> [1] http://lists.w3.org/Archives/Public/www-style/2010Jul/0383.html

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Thursday, 29 July 2010 21:51:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:29 GMT