Created attachment 447898 [details]
Screenshot of a codepen showing that the CSS is not applied as expected
When using li:has() as part of your selector, the syntax appears to be ignored. Works correctly with ul however. The following CSS declaration has three selectors, but only the first and third one work. The one related to li:has() does not apply at all.
border: 1px solid blue;
I have created a codepen where this can be verified: https://codepen.io/cchana/pen/vYeebQQ
I would expect to see 4 blue boxes on the screen but can only two appear.
Seems to be fixed in the trunk, I think this was bug 234531.
*** This bug has been marked as a duplicate of bug 234531 ***