Comments about MS test inline-formatting-context-010.xht

I don't think that

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/inline-formatting-context-010.xht

really tests its assertion:

"A line box is always tall enough to contain all the boxes in the line"


The test contains two spans with the same font-size and different line-height.
The black boxes are two X characters, and the blue boxes show the
spans background visible through the space characters.

>From 10.6.1  "The vertical padding, border and margin of an inline,
non-replaced box start at the top and bottom of the content area, not
the 'line-height'. But only the 'line-height' is used when calculating
the height of the line box."

So, I think that showing the background of the two spans the test
shows nothing about the height of the resulting line box.
It simply shows that line-height has no effect on 'characters height'
and 'content area height' of inline boxes.


Best regards,
Bruno

-- 
Bruno Fassino http://www.brunildo.org/test

Received on Tuesday, 9 February 2010 08:23:12 UTC