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:

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

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

Received on Thursday, 8 March 2012 03:11:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:56 UTC