6242f37111
Firefox now implements :has. There is no reason for this workaround
This partially reverts commit 4f0bc185af.