W3C home > Mailing lists > Public > www-style@w3.org > February 2014

[css3-background] background-clip value that applies for the background color property

From: Stewart Brodie <sbrodie@espial.com>
Date: Mon, 17 Feb 2014 13:59:42 +0000
To: <www-style@w3.org>
Message-ID: <gemini.n1587i00ew64g00mj.sbrodie@espial.com>

Section 3.2, "Base Color: the background-color property" says at the end:

  "The background color is clipped according to the background-clip’value
   associated with the bottom-most background image."

Does it really mean that or should it say the "bottom-most image layer"? The
rest of the text appears to always be careful to say "image layer" when it
means that, but this one is different.

i.e. what background-clip value applies to the background-color here:

  background-color: black;
  background-clip: border-box, content-box, padding-box;
  background-image: url(example-1.png), none

The current text implies that it should be border-box.  I think it is trying
to say that it should be content-box.

Which is correct?

Stewart Brodie
Senior Software Engineer
Team Leader ANT Galio Browser
Espial UK
Received on Monday, 17 February 2014 14:00:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:40 UTC