[Bug 18753] [Shadow]: Introduce HTMLContentElement projection API

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

--- Comment #1 from Dimitri Glazkov <dglazkov@chromium.org> 2012-08-31 22:43:09 UTC ---
NodeList HTMLContentElements.distributed

if you add an item to distributed that is already in the distributed of a
younger tree or higher in tree, it is not rendered (render only once). How is
this accomplished?

The rendering algo could account for things that have already been rendered,
thus letting duplicate items be stored in the various insertion points'
distributions.

However, the problem here is that now you have no idea (looking at the
insertion point) whether any given item renders or not.

Thus, we have to eject or reject items added to "distributed".

In case of "first one wins", we reject additions (throw exception?)
In case of "last one wins", we eject previously added items (event?)

-- 
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, 31 August 2012 22:43:10 UTC