Re: List item and marker box layout

On Monday 2008-07-21 16:31 -0700, Arron Eicholz wrote:
> 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."

I agree that it should affect the height of the div.  I think this
effect should normally happen through influence on the height of a
line box (the same line box that the marker aligns with).  Did you
test what happens when there is no appropriate line box present?

I'd note that if the list-item's first child is a block, the
line-box in question can be inside that block (or its first child
block, etc.).

Are there tests that show whether the height increase happens
through increasing the height of the line box in the case where that
child block has a smaller font-size (and thus smaller line-height)?
(This can be tested by giving the nested block a background and
seeing if its top lines up with the top of its parent.)

Are there tests that show whether the height increase happens
through increasing the height of a line box in the case where there
would otherwise be no line box?  This can be tested in the nested
block case by giving the inner block a background, and without
nested blocks by looking at baseline-alignment of an inline-block
containing such a list-item.


If there's interoperability on these cases, I suspect we'd want to
stick to the interoperable behavior, but if there isn't, I think
we should discuss which we prefer.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Tuesday, 22 July 2008 01:01:10 UTC