Web Components, Shadow Dom, Web Standards, CSS, HTML.
have its connectedCallback() invoked by the browser as it streams the HTML into the DSD. At this point, our element will read its style-id attribute and use it to look up the styles in its cache. If the cache already has an entry for the id: The element adds the styles to the adoptedStyleSheets