Test for Bug 97184 and 104346 : HTMLShadowElement should be registered correctly.