It's by design but it may change in the future: https://github.com/w3c/csswg-drafts/issues/7433
From the actual Specification:
The nesting selector cannot represent pseudo-elements