- From: <bugzilla@jessica.w3.org>
- Date: Mon, 26 Mar 2012 07:02:56 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16519
Summary: :host requires further clarification
Product: WebAppsWG
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
AssignedTo: dglazkov@chromium.org
ReportedBy: rolandsteiner@chromium.org
QAContact: public-webapps-bugzilla@w3.org
As stated in section 5.4, :host matches an element outside of the tree in which
it is declared. I.e., if declared within a shadow tree, then it must match the
host element in the host element's tree.
Section 7 essentially states that only rules within <style scoped> are
applicable when declared in a shadow tree, but not rules from a simple <style>
element.
However, the host element can never be a descendant of the scoping element of
any <style scoped> within the shadow DOM, and therefore :host can never match
in a rule within such a <style scoped>.
That would mean, that the only place where :host matches as written would be in
a rule declared in the host element's tree, outside of the shadow DOM - but
this doesn't seem to be the intent of 5.4.
--
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 26 March 2012 07:03:03 UTC