W3C home > Mailing lists > Public > www-style@w3.org > September 2013

Re: [css3-multicol] z-order of column-rule: below or above border?

From: Håkon Wium Lie <howcome@opera.com>
Date: Mon, 2 Sep 2013 01:38:48 +0200
Message-ID: <21027.53256.749977.700697@gargle.gargle.HOWL>
To: www-style@gtalbot.org, "www-style mailing list" <www-style@w3.org>, Rossen Atanassov <Rossen.Atanassov@microsoft.com>
I wrote:

 >  > "
 >  > If a column rule is wider than its gap, the column rule will overlap
 >  > adjacent column boxes, and possibly extend outside the box of the multicol
 >  > element. Column rules are painted just above the background of the
 >  > multicol element.
 >  > "
 >  > http://www.w3.org/TR/css3-multicol/#column-gaps-and-rules
 >  > 
 >  > "
 >  > If a column rule is wider than its gap, the adjacent column boxes will
 >  > overlap the rule, and the rule may possibly extend outside the box of the
 >  > multicol element. Column rules are painted in the inline content layer,
 >  > but below all inline content inside the multicol element. Column rules are
 >  > only drawn between two columns that both have content.
 >  > "
 >  > http://dev.w3.org/csswg/css-multicol/#column-gaps-and-rules
 >  > 
 >  > If such multi-column element (having a column-rule wider than its gap) has
 >  > a border, then a) should the column-rule overlap its border (Firefox 23,
 >  > Opera 12.16, Chrome 28.0.1500.95 do that) or b) should it be just below
 >  > the border (IE10 does that) ?

It seems that IE11 behaves like FF/Op/Ch. AntennaHouse 6.1.6.12100 does the same,
while Prince 9.0 puts the border on top.

Based on this, I suggest changing:

  Column rules are painted in the inline content layer, but below all
  inline content inside the multicol element.

to 

  Column rules are painted in the inline content layer; below all
  inline content inside the multicol element, but above the border of
  the multicol element.

 >  > eg.
 >  > http://www.gtalbot.org/BrowserBugsSection/CSS3Multi-Columns/Opera/multicol-rule-large-001-GT.xht
 >  > 
 >  > Both scenarios are possible interpretations of the current spec.
 > 
 > The most recent change came from this issue:
 > 
 >   https://www.w3.org/Style/CSS/Tracker/issues/300
 > 
 > I Cc: Rossen Atanassov as he raised the issue and proposed a
 > resolution -- Rossan, what do you think?
 > 
 > -h&kon
 >               Håkon Wium Lie                          CTO °þe®ª
 > howcome@opera.com                  http://people.opera.com/howcome

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Sunday, 1 September 2013 23:39:31 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 1 September 2013 23:39:31 UTC