Re: [whatwg/dom] Declarative Shadow DOM (#831)

> FWIW, load/error and other non-standard events could still fire for script, style, and link elements so it's pretty important to strip away on* content attributes.

This is actually a fair point I haven't consider because I remove all desired templates right away via MutationObserver (precisely due possible IE11 breaking behavior) but if the polyfill, or even my library, lands too late on the page, there are indeed possible issues, so thanks for pointing this out.

Regarding the `onshadowmode` attribute to specify the shadow mode type ... like you said, it's not really a great idea, but I haven't any better one.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/831#issuecomment-717131432

Received on Tuesday, 27 October 2020 10:08:25 UTC