Re: [css-scoping] Shadow Cascading

On Fri, Jun 12, 2015 at 9:05 AM, Hayato Ito <> wrote:
> On Fri, Jun 12, 2015 at 3:47 PM Rune Lillesveen <> wrote:
>> Yes, the scopes established by NODE's own shadow roots must be
>> included for :host and :host-context.
>> While the proposed scope linearization algorithm describes which
>> scopes may contain rules that apply to NODE, isn't it so that the
>> inner/outer scope order is simply the tree-of-trees order of the
>> scopes?
> Yeah, they are always same (in terms of relative order)! I thought there is
> a case where they are different. However, I can't find a case where they are
> different. That's an unintentional outcome, however it sounds a good news to
> us.

Still, it would be useful for implementors to include your proposed
algorithm in the spec as it defines which scopes you need to consider
while matching rules for a given node.

Rune Lillesveen

Received on Friday, 12 June 2015 07:21:09 UTC