Re: Additional possible improvements to c414-flt-ln-000, c414-flt-ln-001 and c414-flt-ln-003

Le Lun 26 mars 2012 18:51, "Gérard Talbot" a écrit :
>
> Le Ven 2 mars 2012 23:21, "Gérard Talbot" a écrit :
>>
>> Le Sam 29 octobre 2011 19:02, "Gérard Talbot" a écrit :
>>> Hello,
>>>
>>> [RC6]
>>> http://test.csswg.org/suites/css2.1/20110323/html4/c414-flt-ln-000.htm
>>>
>>> [nightly-unstable]
>>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c414-flt-ln-000.htm
>>>
>>>
>>> [RC6]
>>> http://test.csswg.org/suites/css2.1/20110323/html4/c414-flt-ln-001.htm
>>>
>>> [nightly-unstable]
>>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c414-flt-ln-001.htm
>>>
>>>
>>> [RC6]
>>> http://test.csswg.org/suites/css2.1/20110323/html4/c414-flt-ln-003.htm
>>>
>>> [nightly-unstable]
>>> http://test.csswg.org/suites/css2.1/nightly-unstable/html4/c414-flt-ln-003.htm
>>>
>>>
>>> Proposed improvements to those 3 testcases
>>> ------------------------------------------
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-000-ahem.xht
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-000-ahem.html
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-001-ahem.xht
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-001-ahem.html
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-003-ahem.xht
>>>
>>> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-003-ahem.html
>>>
>>>
>>> - ahem font have been used to better control content area
>>> - font-size has been increased font-size to 2em (32px),
>>
>>
>> font-size has been increased to 30px so that accurate positioning of
>> baseline can be achieved without fractional pixel
>>
>>
>>> - size of big squares/rectangles has been reduced from 7em to 4em,
>>> - size of small squares has been increased to 1em by 1em  (32px by
>>> 32px),
>>
>>
>> Now it's 30px by 30px
>>
>>
>>> - "boxes" have been renamed "squares"/"rectangles" in sentences
>>> - 102-108 "dummy text" have been removed to reduce document box
>>> height
>>> - the tester is invited to resize window viewport
>>> - overall, the task of the tester (when verifying vertical position
>>> of
>>> involved squares and rectangles is greatly simplified thanks to
>>> bottom-line-box-32px.png as background-image
>>
>>
>> Now, it's bottom-line-box-30px.png
>>
>>
>>> - the sentences now refer to the top of big squares/rectangles which
>>> is
>>> more accurate
>>> - ahem image interact flags have been added
>>>
>>
>> It's still possible to improve a bit these tests by varying the filler
>> words: right now, it's "dummy text" everywhere. Using different words
>> of
>> different lengths would be better.
>
> Those tests are better if, instead of "dummy text" everywhere, we use
> one-single-letter words (like "a", "b", "c", etc). I think I found the
> best test design+code now by alternating normal blank white spaces with
> non-breakable spaces:
>
> http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-000-ahem.html
>
> That way, the guiding lines (like rails of a railway) are drawn, painted
> through the white spaces (without resorting to 'color: transparent'
> which isn't CSS2.1 compliant) and the vertical position of respective
> tested small and bigger blocks are much easier to see.
>
> We could do the same for other c414-flt-ln-00* tests.


I have done so for all 3 tests, html version.

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-000-ahem.html

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-001-ahem.html

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/c414-flt-ln-003-ahem.html

I've kept the previous code (with "dummy text") inside a comment block.

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

CSS 2.1 Test suite RC6, March 23rd 2011:
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

CSS 2.1 test suite harness:
http://test.csswg.org/harness/

Contributing to to CSS 2.1 test suite:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Tuesday, 27 March 2012 00:40:16 UTC