https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#instantiating-custom-elements Custom Element extends createElement and createElementNS() to support type extensions. This bug for implementing it.
Created attachment 192179 [details] Patch
Need to write the ChangeLog entry. But my energy is over today :-/
I filed two bugs on Custom Elements standard. The implementation reflects it. https://www.w3.org/Bugs/Public/show_bug.cgi?id=21219 https://www.w3.org/Bugs/Public/show_bug.cgi?id=21220
Comment on attachment 192179 [details] Patch Attachment 192179 [details] did not pass cr-android-ews (chromium-android): Output: http://webkit-commit-queue.appspot.com/results/17009616
Comment on attachment 192179 [details] Patch Attachment 192179 [details] did not pass chromium-ews (chromium-xvfb): Output: http://webkit-commit-queue.appspot.com/results/17066410 New failing tests: html5lib/generated/run-webkit01-data.html fast/dom/custom/document-register-type-extensions.html html5lib/generated/run-plain-text-unsafe-write.html fast/dom/getElementsByTagName-localName-matching.html html5lib/generated/run-plain-text-unsafe-data.html html5lib/generated/run-webkit01-write.html fast/dom/custom/document-register-basic.html html5lib/generated/run-adoption01-write.html html5lib/generated/run-adoption01-data.html html5lib/webkit-resumer.html
Created attachment 192413 [details] Patch
Comment on attachment 192413 [details] Patch Attachment 192413 [details] did not pass cr-android-ews (chromium-android): Output: http://webkit-commit-queue.appspot.com/results/17024137
Turned out this patch just works with the parser. Will move to 110436. *** This bug has been marked as a duplicate of bug 110436 ***