W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2010

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

From: Bruno Fassino <fassino@gmail.com>
Date: Tue, 9 Feb 2010 09:22:45 +0100
Message-ID: <da98bce01002090022p11c5cf58jb4dc7b61193e4370@mail.gmail.com>
To: public-css-testsuite@w3.org
I don't think that


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 Fassino http://www.brunildo.org/test
Received on Tuesday, 9 February 2010 08:23:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:19 UTC