Compile the pseudo class :target
https://bugs.webkit.org/show_bug.cgi?id=131904

Reviewed by Andreas Kling.

The pseudo class :target is trivial, it just compare the current element with
Document::cssTarget().

* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::addPseudoType):
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):
(WebCore::SelectorCompiler::getDocument):
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementAttributeValueExactMatching):
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementIsTarget):
* dom/Document.h:
(WebCore::Document::cssTargetMemoryOffset):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@167574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the build after r167574

* cssjit/SelectorCompiler.cpp:
(WebCore::SelectorCompiler::SelectorCodeGenerator::generateElementMatching):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@167575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fixed a test timing out after r167572.

* TestWebKitAPI/Tests/WebKit2Cocoa/Navigation.mm:
(-[NavigationDelegate webView:didFinishNavigation:]): Renamed from
-webView:didFinishLoadingNavigation:.



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