W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2012

Re: [RC6] questions and feedback on inline-formatting-context-010 and inline-formatting-context-011

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Fri, 13 Apr 2012 15:27:23 -0400
Message-ID: <382ab9c70519b96b6c87f2046980edf9.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Arron Eicholz" <arron.eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Le Mer 11 avril 2012 23:06, "Gérard Talbot" a écrit :
> Arron,
> I am confused and wondering about 2 tests in the current CSS 2.1 test
> suite.
> First test
> ==========
> [RC6]
> http://test.csswg.org/suites/css2.1/20110323/html4/inline-formatting-context-010.htm
> This test is seemingly trying to verify that "A line box is always tall
> enough for all of the boxes it contains."
> http://www.w3.org/TR/CSS21/visuren.html#inline-formatting
> but I do not understand the test and I do not see how the test is
> actually testing the quoted sentence above.
> 1- If #span2 has a set line-height of 10px, its 50px glyph should bleed
> out of it anyway.
> 2- Within the test design logic, what's the use/purpose of setting a
> defined height of 25px to the wrapping div?
> 3- Do you believe the test is actually testing the assert? I have
> doubts.
> 4- I believe that one reliable way to paint a line box is to set the
> background-color of a wrapping block container. It's not the same when
> setting background-color of an inline non-replaced.
> 5- I believe this test is better:
> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/inline-formatting-context-010a.html

I intend to submit



There is a way to custom tests so that we can paint *separately* the
content area and the top-half-leading and the bottom-half-leading. This
would and should be helpful in tests, especially where line-height will
be greater than font-size. More later on this.



The test assert is not demonstrated or checked or tested by the code of
the test.

The painted 5em inline box has no relationship with the width of the
line box (it is shorter, narrower than line box width). This
inline-formatting-context-014 test would need to be corrected...
although right now I do not see how.

Contributions to the CSS 2.1 test suite:

CSS 2.1 Test suite RC6, March 23rd 2011:

CSS 2.1 test suite harness:

Contributing to to CSS 2.1 test suite:
Received on Friday, 13 April 2012 19:27:55 UTC

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