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

Several Microsoft testcases need corrections, tuning

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 15 May 2010 15:08:57 -0700
Message-ID: <e9b09c0fe1b73940b01f2f0c4d2bbb7c.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Cc: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Hello all,

1-

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/display-005.xht

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/display-005.htm

The test assertion of such testcases say

"The property 'display' set to 'inline-block' behaves in layout as an
inline block."

but there is no such thing as an inline block. I suggested and suggest
to replace this with

"The property 'display' set to 'inline-block' is formatted in layout as
an inline replaced element."

or with

"The property 'display' set to 'inline-block' formatted in layout as an
inline-level replaced element."


--------------

2-

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

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


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

has been updated but

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

which I mentioned in
http://lists.w3.org/Archives/Public/public-css-testsuite/2010Feb/0027.html

has not been updated.

--------------

3-

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/positioning-float-002.xht

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_9/
positioning-float-002.htm

I have a 17 inches monitor screen. If "Floated element" is below or above
"Filler Text" just by a few pixels, say 2px or 4px, then there is no way
I am going to notice this. Imagine the people with much wider monitor
screen.

The pass/fail condition of the testcase is not necessarly easy to figure
out. The testcase could be improved to avoid all this.

--------------

4-
http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_10/block-non-replaced-width-007.htm

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_10/block-non-replaced-width-007.xht

The test assert says: "When 'margin-left' and 'margin-right' are set to
auto and the element has a 'width' then the box will be centered."

but it should be saying

"When 'margin-left' and 'margin-right' are set to auto and the
element has a 'width' then the box will be centered within the edges of
its containing block."

The bit about centering inside the containing block is very important.
Often, beginner and intermediate web authors miss that part which
relates to the containing block.
The spec mentions "with respect to the edges of the containing block."
http://www.w3.org/TR/CSS21/visudet.html#blockwidth


There are lots of other testcases which, I believe, deserve tuning and
tweaking of this sort.

regards, Gérard
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (alpha 2; March 16th 2010):
http://www.w3.org/Style/CSS/Test/CSS2.1/20100316/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Saturday, 15 May 2010 22:10:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 September 2010 17:52:01 GMT