[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 #53 from Dimitri Glazkov <dglazkov@chromium.org> ---
The desired property here is composition symmetry. If you group chunks of the
path by trees (let's mark them as 1, 2, and 3), you get:

1:[3,2] 2:[7] 3:[10,9,8] 2:[6,5,4] 1:[1]

Notice how if I only had trees 2 and 3 (for example, I am an author of a
component that created shadowroot#4), I have a view into the contiguous
fragment of the same  event path:

2:[7] 3:[10,9,8] 2:[6,5,4]

Similarly, if the main document turns out to be not a document at all, but just
another shadow root, and we add insertion point in it, its inner event path
will not change, only the outer parts of it will. Which means that the authors
of components don't have to worry about how the composition affects them.

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

Received on Friday, 21 March 2014 22:40:40 UTC