[RC6] ltr-borders-001 is imprecise

Arron,

[RC6]
http://test.csswg.org/suites/css2.1/20110323/html4/ltr-borders-001.htm

[nightly-unstable]
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/ltr-borders-001.htm

line 19: font: 1.5em/1em Ahem;

creates 24px glyphs which can not be precisely vertically-positioned
according to the baseline. An attentive tester examining the test (or a
software comparing pixels) would see that the top of the blue
border-left line is not flush with the top of the black rectangular area
under Firefox 13.0.1 under Linux KDE.

Solution: make font-size a multiple of 5px;

eg line 19: font: 3.125em/1 Ahem;
/* font-size: 50px */
and then redo the reference image.

Also, in order to be able to create a reftest, border-width must be
computable; border-width: medium is not normatively set to a specific
number of pixels.

Proposal
--------

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ltr-borders-001.xht

http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ltr-borders-001-ref.xht

and its support image in /support

Finally, I do not understand the meaning of "It is ok if the scale is
different." in the sentence of the test.

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 Wednesday, 27 June 2012 00:11:52 UTC