Re: <style scoped> and the cascade

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 UTC