W3C home > Mailing lists > Public > www-style@w3.org > June 2015

Re: [css-scoping] Shadow Cascading

From: Rune Lillesveen <rune@opera.com>
Date: Fri, 12 Jun 2015 09:20:38 +0200
Message-ID: <CANz6XvQOq4dXj_ErH8XAMVkZVhHKSSVgDTpB3r7N8EuTH=++ug@mail.gmail.com>
To: Hayato Ito <hayato@google.com>
Cc: Koji Ishii <kojiishi@gmail.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>, Steve Orvell <sorvell@google.com>, Elliott Sprehn <esprehn@google.com>, Olli Pettay <olli@pettay.fi>
On Fri, Jun 12, 2015 at 9:05 AM, Hayato Ito <hayato@google.com> wrote:
> On Fri, Jun 12, 2015 at 3:47 PM Rune Lillesveen <rune@opera.com> 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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:54 UTC