- From: <bugzilla@jessica.w3.org>
- Date: Mon, 25 Mar 2013 18:48:47 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21389
Bug ID: 21389
Summary: [Shadow]: ::distributed should allow the :root pseudo
selector
Classification: Unclassified
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
Assignee: dglazkov@chromium.org
Reporter: sorvell@chromium.org
QA Contact: public-webapps-bugzilla@w3.org
Blocks: 14978
Now that it's possible to use ::distributed to style the nodes distributed to a
given insertion point, the spec needs to clarify how this can be used to make
selectors that match starting from distributed nodes themselves.
In general, one wants to be able to style the distributed nodes using complex
css selectors:
/* style match .bar with .foo matching ancestors */
content::distributed(.foo .bar) {
...
}
However, it's common to want to create selectors that start at the distributed
nodes themselves. The :root selector could be use for this purpose
(http://dev.w3.org/csswg/selectors4/#the-root-pseudo).
/* match .bar descendants of distributed children matching .foo */
content::distribute(.foo:root .bar) {
...
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 25 March 2013 18:48:49 UTC