Re: <style scoped> and the cascade

On Mar 7, 2012 9:14 PM, "Boris Zbarsky" <bzbarsky@mit.edu> wrote:
>
> 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'".

Sorry, I meant "document order of scoping element", which matches what you
propose.

~TJ

Received on Thursday, 8 March 2012 07:42:31 UTC