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

Re: Tests with difficult/confusing pass condition/wording: c414-flt-ln-002.htm

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Mon, 13 Sep 2010 15:04:26 -0700
Message-ID: <eb0b793a7844fb8c3b14e2ac2d2c2679.squirrel@cp3.shieldhost.com>
To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>, "Geoffrey Sneddon" <gsneddon@opera.com>
Cc: "Øyvind Stenhaug" <oyvinds@opera.com>, "Morten Stenshorne" <mstensho@opera.com>
> On 08/09/10 21:57, "Gérard Talbot" wrote:
>>> ==== CSS1 Test Suite Contributors, Ian Hickson ====
>>> http://test.csswg.org/suites/css2.1/20100815/html4/c414-flt-ln-002.htm
>> * The description is too complicated, and it's difficult to tell easily
>>> if
>>> things are really level.
>>
>> One way to tell is by highlighting the line. And then we realize that
the small coloured boxes ([A][B][C][D]) tops are not perfectly flush
with their correspondent big coloured boxes.
>>
>>> Maybe this can be split up into multiple
>>> simpler
>>> tests?
>>
>>
>> http://test.csswg.org/suites/css2.1/20100815/html4/c414-flt-ln-003.htm
looks like one but it's not a less complex testcase.
>>
>> I examined
>> http://test.csswg.org/suites/css2.1/20100815/html4/c414-flt-ln-002.htm
a bit and I do not see an easy, quick, clear, clean and reliable way
to
>> improve the testcase right now.
>>
>> Odd.. we discussed this c414-flt-ln-002.htm test before:
>>
>> http://lists.w3.org/Archives/Public/public-css-testsuite/2010Jul/0044.html
>>
>> but no one seem to have noticed that the small vs big coloured boxes are
>> not perfectly lined up, flush at their respective top.

> Geoffrey Sneddon wrote:

>
> Highlighting the line is only helpful if they do actually render on
the same line: I've almost never seen them actually all get rendered
on the same line, and I've seen it go both ways, having multiple large
boxes on a single line as well as not having the small box on the same
line as the large one.
>
> The main difficulty with that test is the low likelihood you actually
get all the boxes on the same line.

Geoffrey,

I have triple-checked

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-002-draft.htm

and I have also created

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/section9.5.1-vertical-positioning-float.html

and appended screenshots of what I see/get under Opera 10.62 (build
3500) under Windows XP.

I also started a thread on www-style mailing list:

[CSS 2.1] [Section 9.5.1] Vertical positioning of floating boxes
http://lists.w3.org/Archives/Public/www-style/2010Sep/0351.html

I believe there are some problems under Opera 10.62 (build 3500) under
Windows XP (but not under Linux Kubuntu) which affects the horizontal or
vertical positioning of floats. Such problem, which has been
corroborated by another poster in www-style, may have caused you to say
"I've almost never seen them actually all get rendered on the same
line".

As far as I'm concerned,
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-002-draft.htm
is correct and only needs text tweaking/better wording of expected results.

I want to create and I will create a testcase very close or identical to
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/section9.5.1-vertical-positioning-float.html
because it would come from the spec itself and would therefore be a very
reliable, welcomed and trustworthy inclusing into the test suite.

regards, Gérard
+CC: Morten Stenshorne, Øyvind Stenhaug
-- 
Contributions to the CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (beta 3; August 15th 2010):
http://test.csswg.org/suites/css2.1/20100815/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/
Received on Monday, 13 September 2010 22:05:02 GMT

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