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

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 UTC