DescriptionCreate wrappers for unresolved Custom Elements at the correct type
The Custom Elements spec Section 5 [1] says that elements which look like Custom Elements, but which don't have a definition yet, should be wrapped at HTMLElement for HTML elements with custom tags and SVGElement for SVG elements with custom tags.
This rejigs the Custom Element creation code to always create an element for a custom tag, even ones without a definition, and to wrap those elements directly (HTMLElement) instead of as fallback elements (HTMLUnknownElement.)
[1] <https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#registering-custom-elements>
BUG=233775
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149584
Patch Set 1 #
Total comments: 9
Patch Set 2 : Spit n' polish #Patch Set 3 : Use toV8 in the constructor. Remove unused variable. #Messages
Total messages: 11 (0 generated)
|