Source/WebCore: Update comment regarding root node handling in XPath for detached...
authorcevans@google.com <cevans@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Aug 2012 20:51:57 +0000 (20:51 +0000)
committercevans@google.com <cevans@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Aug 2012 20:51:57 +0000 (20:51 +0000)
commit98b32c41dcd75d9500a6ff02ce6fd07a2906aeaa
tree76d2d0bf56d0fff4745eb65eeb7cafec7ad72d59
parent9db5d4948a07585a19c40672dbcb63cae1f5843a
Source/WebCore: Update comment regarding root node handling in XPath for detached trees.
https://bugs.webkit.org/show_bug.cgi?id=36427

Reviewed by Alexey Proskuryakov.

* xml/XPathPath.cpp:
(WebCore::XPath::LocationPath::evaluate): Update XPath root node comment.

LayoutTests: Improve xpath-detached-nodes.html test.
https://bugs.webkit.org/show_bug.cgi?id=36427

Reviewed by Alexey Proskuryakov.

* fast/xpath/xpath-detached-nodes-expected.txt:
* fast/xpath/xpath-detached-nodes.html: Increase coverage and improve log messages.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/xpath/xpath-detached-nodes-expected.txt
LayoutTests/fast/xpath/xpath-detached-nodes.html
Source/WebCore/ChangeLog
Source/WebCore/xml/XPathPath.cpp