- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sun, 7 Nov 2010 13:41:03 -0800
- To: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
http://test.csswg.org/suites/css2.1/20101027/html4/before-after-images-001.htm http://test.csswg.org/suites/css2.1/20101027/xhtml1/before-after-images-001.xht http://test.csswg.org/suites/css2.1/20101027/html4/before-after-images-001-ref.htm div::before { content:url(missing-image.png); } First, here too, the CSS3 double-colon grammar is used. Second, some browsers like Konqueror 4.5.3 will display a real missing image icon in place of that missing-image.png and this is acceptable, expectable according to CSS2.1: "User agents may vary in how they handle invalid URIs or URIs that designate unavailable or inapplicable resources." 4.3.4 URLs and URIs http://www.w3.org/TR/CSS21/syndata.html#value-def-uri So, I think that testcase is invalid and should be removed. ++++++++++ Addendum: ++++++++++ Argh... I clicked the submit button a few seconds too hastily. " The value is a URI that designates an external resource (such as an image). If the user agent cannot display the resource it must either leave it out as if it were not specified or display some indication that the resource cannot be displayed. " 12.2 The 'content' property http://www.w3.org/TR/CSS21/generate.html#content Fair enough: the missing image icon is an excellent "indication that the resource cannot be displayed" ... but the http://test.csswg.org/suites/css2.1/20101027/html4/before-after-images-001-ref.htm does not show such possible alternate rendering as acceptable to pass that testcase. regards, Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC3; October 27th 2010): http://test.csswg.org/suites/css2.1/20101027/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/ -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC3; October 27th 2010): http://test.csswg.org/suites/css2.1/20101027/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Sunday, 7 November 2010 21:41:44 UTC