<p><span /></p>

<style>
	p > span {
		color: red;
	}
	:has(> span) {
		color: red;
	}
	> span {
		color: red;
	}
</style>
