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

Re: [css3-multicol] z-ordering of column-rules

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 23 Feb 2009 22:14:25 +0100
Message-ID: <18851.4529.621582.22710@opera.com>
To: David Hyatt <hyatt@apple.com>
Cc: "Robert O'Callahan" <robert@ocallahan.org>, "www-style@w3.org WG" <www-style@w3.org>
David Hyatt wrote:

 > >>> See http://www.w3.org/TR/css3-multicol/#column4. The spec says
 > >>> nothing about the z-order of column-rules relative to other
 > >>> rendered items. It needs to, in terms of
 > >>> http://www.w3.org/TR/CSS21/zindex.html.
 > >>>
 > >>> For a columns element that is also a stacking context, Webkit
 > >>> apparently paints them in step 4 or later, e.g. above
 > >>> negative-zindex children of the columns element. My preference
 > >>> is for the rules to be painted as part of the background of the
 > >>> columns element, just above the actual background --- i.e., for
 > >>> a columns element that is also a stacking context, at the end
 > >>> of step 2. This seems a bit more logical to me. Anyway, the
 > >>> spec needs clarification one way or another.
 > >>
 > >> Could you propose some text to this effect?

 > > I agree with Roc's suggestion.  We can make that change in WebKit.
 > 
 > Fixed to match what Roc suggested.

Super, it's good to see implementations converge like this.

I've added this text to the draft:

  Column rules are painted just above the background of the multicol
  element. This allows child elements with 'z-index' values to be on
  top of column rules.

http://dev.w3.org/csswg/css3-multicol/#column-gaps-and-rules

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Monday, 23 February 2009 21:15:16 GMT

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