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

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 UTC