- From: <bugzilla@jessica.w3.org>
- Date: Thu, 17 May 2012 19:33:58 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17090
Summary: [Shadow]: Listening to specific nodes, distributed to
insertion points is hard
Product: WebAppsWG
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
AssignedTo: dglazkov@chromium.org
ReportedBy: dglazkov@chromium.org
QAContact: public-webapps-bugzilla@w3.org
Blocks: 14978
Consider this use case:
* There is an insertion point, with zero or more nodes distributed into it
* User clicks on one of the items
* The event handler in shadow DOM subtree wants to know which item was
clicked on.
Our newly-implemented lower-boundary encapsulation logic will
dutifully prevent this from happening.
So currently, the only solution here is to register an event listener
on each node that's distributed to the insertion point.
This seems suboptimal, since it effectively leaks the functional
encapsulation (now you have to worry about cleaning up the event
listeners when the node is moved, etc.)
--
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 Thursday, 17 May 2012 19:34:01 UTC