Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ffefa8e2da2aaee749712cd4c4cc96394309003
https://github.com/WebKit/WebKit/commit/1ffefa8e2da2aaee749712cd4c4cc96394309003
Author: Chris Dumez <[email protected]>
Date: 2023-05-18 (Thu, 18 May 2023)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/domxpath/predicates-expected.txt
M Source/WebCore/xml/XPathPredicate.cpp
Log Message:
-----------
XPath: Fix context node after evaluating an expression in a predicate
https://bugs.webkit.org/show_bug.cgi?id=256953
Reviewed by Darin Adler.
Fix evaluation context for XPath predicate evaluation.
This aligns our behavior with Blink & Gecko.
This is a cherry-pick of Blink's:
https://chromium.googlesource.com/chromium/src.git/+/869417867e1da3822a03f8ce1e454d19706c6832
* LayoutTests/imported/w3c/web-platform-tests/domxpath/predicates-expected.txt:
* Source/WebCore/xml/XPathPredicate.cpp:
(WebCore::XPath::evaluatePredicate):
Canonical link: https://commits.webkit.org/264210@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes