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

[RC6] Several background-0* tests inaccurate

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 24 Mar 2012 14:42:14 -0400
Message-ID: <9f3f845a33eb29bcda48b3aa9c3f3ee1.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>

Several background-* tests create another form of fractional pixel. They
try to position a background-image at the middle (centered vertically)
of an element which is 1px taller than the image. So browsers have to
decide where such extra pixel is going to go: at the top or at the
bottom... because such pixel can not be splitted.

This is what is happening in many tests: the cat image (serving as
background-image) is 99px tall while the containing element is 100px




Opera 11.61 will show a tiny horizontal black line below the right foot
of the cat.

Firefox 11.0 and Chrome 17.0.963.83 will show such same tiny horizontal
black line above and close to the right ear of the cat.

This by itself does not prevent making a reftest; the requirement for
making a reftest is not achievable to begin with.

I do not see the need to update the test right now but I am reporting
this as an inaccuracy which could have been avoided by setting the
wrapping div height to 99px instead of 100px.

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 Saturday, 24 March 2012 18:42:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:18 UTC