You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Scoped Custom Element Registry proposal is not finalized, and does not have a spec, or any native implementations. The current conditional install based on a shallow feature detection causes an extreme forward-compatibility risk. If a native implementation ships that defined ShadowRoot.prototype.createElement but behaves differently from the polyfill, pages with the polyfill deployed could break.
The polyfill should unconditionally install itself to ensure the current behavior until there is a finalized spec and shipping implementations.
The text was updated successfully, but these errors were encountered:
I found another case why this is bad - if you enable chrome://flags/#enable-experimental-web-platform-features the polyfill will not be installed, but importNode feature is not implemented by the chrome flag and as such there is no way to add it and things break
The Scoped Custom Element Registry proposal is not finalized, and does not have a spec, or any native implementations. The current conditional install based on a shallow feature detection causes an extreme forward-compatibility risk. If a native implementation ships that defined
ShadowRoot.prototype.createElement
but behaves differently from the polyfill, pages with the polyfill deployed could break.The polyfill should unconditionally install itself to ensure the current behavior until there is a finalized spec and shipping implementations.
The text was updated successfully, but these errors were encountered: