W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: <style scoped> and the cascade

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 07 Mar 2012 22:11:24 -0500
Message-ID: <4F58235C.6040202@mit.edu>
To: www-style@w3.org
On 3/7/12 6:50 PM, Tab Atkins Jr. wrote:
> Alternately, just say that document order is increasing weight order.

That's not actually what I proposed, and my example was carefully 
constructed to demonstrate the difference.  Again:

   <div>
     <style id="a" scoped></style>
     <p><style id="b" scoped></style></p>
     <style id="c" scoped></style>
   </div>

Document order here is "a", "b", "c".  Cascade order should be "rules 
from 'a' and 'c'" followed by "rules from 'b'".

-Boris
Received on Thursday, 8 March 2012 03:11:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:51 GMT