Prior to this change, any inserted `<style>` nodes into shadow dom trees would be retained in memory, even after the shadow dom tree has been removed. This commit fixes the memory leak by tracking the inserted `<style>` nodes per host element, such that removal of the host element also releases the style nodes. Fixes #36655 PR Close #42005