W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > November 2012

[Bug 19875] [Shadow]: Parent calculation algorithm for document nodes distributed to insertion points

From: <bugzilla@jessica.w3.org>
Date: Thu, 08 Nov 2012 20:48:27 +0000
To: public-webapps-bugzilla@w3.org
Message-ID: <bug-19875-2532-XCo1HjLwf9@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19875

--- Comment #2 from Dimitri Glazkov <dglazkov@chromium.org> ---
Okay, running the event retargeting algorithm on the tree in
https://bugs.webkit.org/show_bug.cgi?id=101309:

1) We start with "#li3", push it into STACK and add (#li3, #li3) to TARGETS
2) According to parent calculation algo, next up is "content"
3) Since it's an insertion point, we push "content" to STACK and add (content,
content) to TARGETS
4) Next up is "ul#ip_wrapper"
5) We add (ul#ip_wrapper, content) to TARGETS
6) Next up is "div"
7) We add (div, content) to TARGETS
8) Next up is ShadowRoot
9) We add (ShadowRoot, content) to targets, then pop STACK
10) Next up is "ul.stories"
11) We add (ul.stories, #li3) to TARGETS
...

So the problem is starts with step 3. We should _not_ retarget at insertion
point.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 8 November 2012 20:48:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 8 November 2012 20:48:29 GMT