This is for whatwg/dom#566.
- document.createElement() and createElementNS() don't add "is" content
- cloneNode() should clone custom elements even if they have no "is"
content attributes or have "is" content attribute inconsistent with
Part of fixing whatwg/html#3402. This changes two things:
* It fixes the cloning steps to consult the internal is value, instead of the is="" content attribute.
* It removes the step from createElement()/createElementNS() that would insert an is="" attribute in the created element, as we've now decided that is="" is a way of communicating to the parser, and not a general-purpose indicator of customized built-in-ness.
See also whatwg/html#3444 for the other half of the fix.
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.