Skip to content
Snippets Groups Projects
  • Reiter, Christoph's avatar
    0a118d11
    slot templates: fix templates being created in the wrong shadow root · 0a118d11
    Reiter, Christoph authored
    This makes problems with the new scoped elements polyfill, which now correctly
    makes globally registered elements not visible in the shadow roots. Instead
    we have to add the tempaltes at the level of the templates so they get their
    global web components and only then transplant them into the light dom of the
    nested web components with their own registries.
    0a118d11
    History
    slot templates: fix templates being created in the wrong shadow root
    Reiter, Christoph authored
    This makes problems with the new scoped elements polyfill, which now correctly
    makes globally registered elements not visible in the shadow roots. Instead
    we have to add the tempaltes at the level of the templates so they get their
    global web components and only then transplant them into the light dom of the
    nested web components with their own registries.