When a Selector features a :not() pseudoclass we now check whether the current element matches with the given selector in the :not and act accordingly.