Re: [w3c/webcomponents] Generic programs can't reliably use/manipulate documents via the DOM (#640)

> Here is a very useful polyfill that will not work for custom components with closed shadow DOM https://github.com/WICG/inert/blob/master/src/inert.js

For the hundredth time, I don't think polyfill should automatically work inside a shadow tree. The component wasn't written with that polyfill in mind, what's the point of making it work in the shadow tree? It won't be using the polyfilled feature anyway. If it was written with an assumption that some feature is present, then that component should itself be including that polyfill.

I don't think it's productive for you to keep posting a polyfill as an example. We would never be convinced that it's a compelling use case for not having closed shadow trees.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/640#issuecomment-302581648

Received on Friday, 19 May 2017 01:09:02 UTC