Scoped custom element registries are shipping in browsers soon!
They add the ability for shadow roots to have their own custom element registries with their own definitions mapping tag names to classes.
This issue tracks adding tests that frameworks and libraries can render into a shadow DOM such that they use the scoped custom element registries.