Allow to style components that don’t use shadow dom inside of components that do. This reverts 53cf2ec573 and adds a test for this case. Related to #7887
53cf2ec573
Closes #7887 PR Close #14313