Move attributeNameMatches from SelectorChecker to its proper place on Attribute.
https://bugs.webkit.org/show_bug.cgi?id=107358

Reviewed by Andreas Kling.

Refactoring, covered by existing tests.

* css/SelectorChecker.cpp:
(WebCore::anyAttributeMatches): Changed to use the new name.
* css/SelectorChecker.h:
(SelectorChecker): Moved attributeNameMatches out of here.
(WebCore::SelectorChecker::checkExactAttribute): Changed to use the new name.
* dom/Attribute.h:
(WebCore::Attribute::matches): Moved attributeNameMatches to here.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140235 268f45cc-cd09-0410-ab3c-d52691b4dbfc