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

Re: [css3-multicol] Applies to block containers

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 21 Feb 2013 00:53:02 +0100
Message-ID: <20773.25054.201930.230878@gargle.gargle.HOWL>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style@w3.org, Bert Bos <bert@w3.org>
Also sprach Simon Sapin:

 > Le 21/02/2013 00:30, Håkon Wium Lie a écrit :
 > >   > I use "block container" as short for "block container box", defined here:
 > >   >http://www.w3.org/TR/CSS21/visuren.html#block-container-box
 > >
 > > But properties apply to elements, not boxes.
 > 
 > Do they? 

In the context of "applies to:", yes:

  http://www.w3.org/TR/CSS21/about.html#applies-to

(Property/value combinations can also be set on pseudo-elements,
pseudo-classes, page selectors etc, so the whole story is a bit more
complex.)

 > The cascade results in a computed value for every (property, 
 > element pair). The "applies to" concept is a bit more fuzzy. My 
 > understanding is that it indicates whether the value is "considered" 
 > somehow at some point, or not. But many properties (eg. width) are never 
 > considered before box generation.

True. But the value comes via an element. 

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Wednesday, 20 February 2013 23:53:33 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT