[Bug 23887] [Shadow] Put only the final destination insertion point to the event path

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23887

--- Comment #101 from Hayato Ito <hayato@chromium.org> ---
Okay. I've taken a look at the algorithm in comment #90 closely.

I think the algorithm in comment #90 doesn't work as intended because it
doesn't consider the case where a distribution happens at more than one node in
the event path.

In the while loop of "Repeat while CURRENT exists:", CURRENT can have non-empty
destination insertion points. In that case, we should consider the destination
insertion points of CURRENT again as the algorithm does it at step 4 and 5.

Therefore, INSERTION_POINTS can't be a global variable. I guess we need a stack
of INSERTION_POINTS or something like.
Although I've not tried to fix the algorithm, the algorithm might become more
complex than that of #comment 90 to make ti work-as-intended.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 11 April 2014 14:26:43 UTC