[Bug 16317] [Shadow]: Clarify the meaning of /select/ and upper boundary encapsulation, styling

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16317

--- Comment #16 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to comment #10)
> I'm sorry. I would like to confirm one more thing.
> The spec only says:
> 
> Otherwise, if RULE is either an @host @-rule or contains a select reference
> combinator and RULE is declared in shadow root style sheets:
> - Let BOTTOM the shadow DOM subtree, with which these shadow root style
> sheets are associated
> - If the shadow host of BOTTOM is in TREE, then RULE is applicable in TREE.
> 
> RULE is applicable in TREE means,
> ----
> Suppose that there are several different shadow hosts, e.g.
> 
> <shadow host1>
> ...
> <shadow host2>
> ..
> <shadow hostN>
> 
> Every shadow host's shadow dom subtree has some rule which has /select/. If
> the rules are very simple, e.g. content /select/ * or shadow /select/ *,
> shadow host1's rule can be applied to shadow hostN?
> ----
> 
> I think, shadow host1's rules which have /select/ can be applied to only
> shadow host1's children. shadow hostN's rules which have /select/ can be
> applied to only shadow hostN's children.

Right.

> 
> So probably we need some comment about "scope" of rules which has /select/.

Yup.

Also -- please file a new bug in the future, rather than reusing an old bug.
I'd love to keep the same system as in WebKit here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 23 October 2012 21:53:02 UTC