I don't see any reason why `name` can't be `div`. It's just calling `document.createElement`, right? According to MDN there's no reason you can't. https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow#elements_you_can_attach_a_shadow_to Maybe @1natsu172 can shed more light on what `name` values specifically cause issue, because `div` shouldn't.