W3C home > Mailing lists > Public > www-style@w3.org > July 2001

Re: @version rule

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 30 Jul 2001 13:08:50 -0700 (Pacific Daylight Time)
To: George Lund <G.A.Lund@bigfoot.com>
cc: <www-style@w3.org>, Bert Bos <Bert.Bos@sophia.inria.fr>
Message-ID: <Pine.WNT.4.31.0107301305420.1044-100000@HIXIE.netscape.com>
On Fri, 27 Jul 2001, George Lund wrote:
>
> What is needed is a mechanism for grouping CSS rules, such that either
> they are all rules in the group are applied or none are.

How would this work?

Given:

   @locked-together {
      p * { color: green; }
      div { background: white; }
   }

   em { color: blue; }

What colour would the elements in the following example be?

   <div>
     <p>
       He said
       <q>
         <strong>Hello</strong>
         <em>Gorgeous!</em>
       </q>
       to his cat.
     </p>
   </div>

-- 
Ian Hickson                                            )\     _. - ._.)   fL
Invited Expert, CSS Working Group                     /. `- '  (  `--'
The views expressed in this message are strictly      `- , ) -  > ) \
personal and not those of Netscape or Mozilla. ________ (.' \) (.' -' ______
Received on Monday, 30 July 2001 16:08:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT