When rewriting rules with pseudo-states both inside and outside a :host() selector, we were not properly creating a pseudo-*-all-based selector. For example, from :host(.foo:focus) .bar:hover, we would generate:
:host(.foo.pseudo-focus-all) .bar.pseudo-hover-all (wrong)
rather than
:host(.foo.pseudo-focus-all.pseudo-hover-all) .bar (correct)
When rewriting rules with pseudo-states both inside and outside a
:host()
selector, we were not properly creating apseudo-*-all
-based selector. For example, from:host(.foo:focus) .bar:hover
, we would generate::host(.foo.pseudo-focus-all) .bar.pseudo-hover-all
(wrong) rather than:host(.foo.pseudo-focus-all.pseudo-hover-all) .bar
(correct)