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

Re: List item and marker box layout

From: Arron Eicholz <Arron.Eicholz@microsoft.com>
Date: Mon, 21 Jul 2008 16:31:54 -0700
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <66D5CB5D6AB0694592FAF5487C50368B21236A0354@NA-EXMSG-C111.redmond.corp.microsoft.com>

> When a list-style-position is set to outside and the list item
> element contains no content does the marker box change the size
> of the principal box?
>
> <div>
>         <div style="display:list-item;">Text</div>
>         <div style="display:list-item;"></div>
>         <div style="display:list-item;">Text</div>
> </div>
>
> Since the second list item has no content it should have no
> height. Does the marker now determine the height for the second
> div? I don't believe it should since the marker is not part of
> the principal block box. If it does not expand the height of
> the div then it is also possible for makers to overlap in some
> scenarios.

Proposal:
  Add to definition for 'outside': "The size of the marker box
  may affect the height of the principal block box and/or the
  height of its first line box."

--
fantasai and Arron Eicholz
Received on Monday, 21 July 2008 23:32:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:10 GMT