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

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

From: Julien Chaffraix <jchaffraix@webkit.org>
Date: Sun, 5 May 2013 18:18:57 -0700
Message-ID: <CAGY_oHJ-eyLgg=0hetnCY=4-=o+i=dn-PGgLWidLu98ZRamOdg@mail.gmail.com>
To: Gérard Talbot <css21testsuite@gtalbot.org>
Cc: Public CSS test suite mailing list <public-css-testsuite@w3.org>
Hi Gérard,

> 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.

That wasn't the intent of my reply actually. I expect the browser to
clip at the border box. The extra margin was designed to catch the
case where the browser actually paints the margin box with the
background color. In retrospect it's probably not that much of an
issue but I thought it was nice to have.

> 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 removed these lines as they seem to have confused you and didn't add
much to the test.

Thanks,
Julien
Received on Monday, 6 May 2013 01:19:45 UTC

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