Bug 27259 - [Custom]: custom element constructor generation algorithm do...

...esn't do anything with REGISTRY.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27259