add special handling for document testing (ShadowDOMPolyfill invasiveness up)
add special handling for document testing (ShadowDOMPolyfill invasiveness up)

addyosmani/CustomElements,ebidel/CustomElements