Element::recalcStyleIfNeededAfterAttributeChanged shouldn't create style selector for attribute check if it doesn't already exist. We are going to need a full style recalc anyway in that case and the constructed style selector may get throw out again.
http://trac.webkit.org/changeset/104404