Re: @version rule

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 UTC