pub fn upgrade_element( definition: Rc<CustomElementDefinition>, element: &Element, can_gc: CanGc, )
https://html.spec.whatwg.org/multipage/#concept-upgrade-an-element