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

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