- From: <bugzilla@jessica.w3.org>
- Date: Fri, 25 May 2012 09:51:57 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=17177
Summary: [Shadow]: Event retargeting algorithm should be
slightly modified.
Product: WebAppsWG
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
AssignedTo: dglazkov@chromium.org
ReportedBy: hayato@chromium.org
QAContact: public-webapps-bugzilla@w3.org
Blocks: 14978
'Section 6.1 Event Retargeting' should be slightly modified as follows:
1. Let STACK be a stack of DOM nodes
2. Let ANCESTOR be NODE
3. Repeat while ANCESTOR exists:
1. If ANCESTOR is an insertion point, push ANCESTOR into STACK
2. If STACK is empty, push ANCESTOR into STACK
3. Let TARGET be the DOM node at the top of STACK
4. Add (TARGET, ANCESTOR) tuple to TARGETS
5. If ANCESTOR is a shadow root
1. Pop STACK if STACK is not empty
6. Set ANCESTOR to be the result of parent calculation algorithm, given
ANCESTOR as input
To be short, 'popping stack if shadow root' should be done after 'Add (TARGET,
ANCESTOR) tuple to TARGETS'.
--
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 Friday, 25 May 2012 09:52:40 UTC