We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the scoped-custom-element-registry polyfill installed. When calling createElementNS() via a shadowRoot an error is thrown.
createElementNS()
<div id="app"></div>
const appDiv = document.getElementById('app'); const shadowRoot = appDiv.attachShadow({ mode: 'open' }); const div = shadowRoot.createElementNS('http://www.w3.org/1999/xhtml', 'div');
shadowRoot.createElementNS()
No error is thrown as the polyfill should support createElementNS as it is included in the spec.
Error is thrown TypeError: .createElementNS is not a function
TypeError: .createElementNS is not a function
@webcomponents/scoped-custom-element-registry@0.0.9
The text was updated successfully, but these errors were encountered:
shadowRoot.crateElementNS
Successfully merging a pull request may close this issue.
Description
With the scoped-custom-element-registry polyfill installed. When calling
createElementNS()
via a shadowRoot an error is thrown.Example
Steps to reproduce
shadowRoot.createElementNS()
Expected behavior
No error is thrown as the polyfill should support createElementNS as it is included in the spec.
Actual behavior
Error is thrown
TypeError: .createElementNS is not a function
Version
@webcomponents/scoped-custom-element-registry@0.0.9
Browsers affected
The text was updated successfully, but these errors were encountered: