[RC5, pre-RC6] first-letter-selector-015 inaccurate pass conditions

Arron,

http://test.csswg.org/suites/css2.1/20110111/html4/first-letter-selector-015.htm
(RC5)

http://test.csswg.org/suites/css2.1/20110111/xhtml1/first-letter-selector-015.xht
(RC5)

http://test.csswg.org/suites/css2.1/nightly-unstable/html4/first-letter-selector-015.htm

http://test.csswg.org/suites/css2.1/nightly-unstable/xhtml1/first-letter-selector-015.xhtm

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_5/first-letter-selector-015.htm

http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_5/first-letter-selector-015.xht


<p>Test passes if any one of the following cases are true. The "M" in
the word "Missing" below is green. If nothing is rendered below. If only
a missing image icon is shown. If a missing image icon is shown and the
text "Missing image" is shown.</p>

As worded, the 4 "if" compound case-statements must be understood as
mutually exclusive (although the plural "are true" is used instead of
"is true").

Konqueror 4.6 fails this testcase as it shows a missing image icon and
the word "Missing", but only that word and not "Missing image". I
believe this is due to an arbitrary width for alt text when image
placeholder dimensions have not been specified. There is nothing in the
HTML 4 spec which forbids this actually.

So, I think the text of pass conditions should be tuned to reflect all
this.


Suggested replacement
---------------------

<p>Test passes if one and only one of the following cases is true:</p>

<ul>
  <li>if the 2 words "Missing image" are rendered and the "M" is
green,</li>
  <li>if a missing image icon is shown or</li>
  <li>if nothing is rendered below.</li>
</ul>



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

CSS 2.1 test suite (RC5; January 11th 2011):
http://test.csswg.org/suites/css2.1/20110111/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Monday, 21 February 2011 20:30:33 UTC