W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2013

[css3-background] background-clip-009.html has 1 issue

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Tue, 9 Apr 2013 22:28:35 -0400
Message-ID: <96b74956d30b5ff7ba03ff015eb93326.squirrel@ed-sh-cp3.entirelydigital.com>
To: "Julien Chaffraix" <jchaffraix@webkit.org>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Julien,

http://test.csswg.org/source/contributors/google/submitted/background-clip-009.html

There is still an issue with that test.

You added a margin-bottom and wrote
"
Added a margin-bottom to this test as it doesn't change the output but
make it fail if the browser clips at the margin box.
"
http://lists.w3.org/Archives/Public/public-css-testsuite/2013Feb/0011.html

but the thing is the background (background-color and/or
background-image) of an element never paints its own margin area (with
only the root element as the sole exception to this). Your comment
suggests that the margin area would be painted with black color (the
background-color of the element) if the clipping would not be executed
or would be wrongly executed. But the margin area should not be painted
by the background-color to begin with.

So, I believe we should remove

line 23:     margin-bottom: 50px;
    /*
    Added a margin-bottom to this test as it doesn't change
    the output but make it fail if the browser clips at the
    margin box. Julien
line 27: */


I have asked for an editorial insertion into CSS 3 background spec:

[css3-background] "Margins are always transparent" missing
http://lists.w3.org/Archives/Public/www-style/2013Apr/0213.html

to clarify this.

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, 10 April 2013 02:29:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:26 UTC