I came across a situation where it would be useful to find out if a given node was distributed in a contentnode. There is a built-in Shadow DOM function node.getDestinationInsertionPoints (), which is very useful for this purpose, but I do not see its version in the polyfill world.
I can work around this problem by doing my own check on the node parent chain, but it would be better to rely on the standard (?) GetDestinationInsertionPoints () function. Does - or will - Shadow DOM polyfill support this in older browsers?
source
share