W3C home > Mailing lists > Public > www-style@w3.org > August 2011

Re: [css21] repeated background image extension into border area.

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 17 Aug 2011 17:51:02 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Jack Smiley <zxcv_890@hotmail.com>, www-style@w3.org
Message-ID: <20110818005102.GA8425@pickering.dbaron.org>
On Wednesday 2011-08-17 16:39 -0700, Tab Atkins Jr. wrote:
> On Wed, Aug 17, 2011 at 4:30 PM, Jack Smiley <zxcv_890@hotmail.com> wrote:
> > From: brianman@microsoft.com
> >> My understanding:
> >>
> >> Content renders over Border renders over Background-image renders over
> >> Background-color.
> >
> > OK, I see. You're saying that border-color is distinct from
> > background-color, and there's a rule that borders render on top of
> > backgrounds (both background-color and background image). You say this rule
> > is your "understanding", but can you site where in the spec you base this
> > rule on (that "border renders over background-image/color)?
> 
> <http://www.w3.org/TR/CSS21/zindex.html>
> 
> Specifically, read section E.2 "Painting Order".

Also, http://www.w3.org/TR/CSS21/box.html#border-style-properties ,
which says:

  # All borders are drawn on top of the box's background.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla Corporation               http://www.mozilla.com/   𝄂
Received on Thursday, 18 August 2011 00:51:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT