[webkit-changes] [WebKit/WebKit] 0386e8: XPath: Apply ignore-case matching to attribute names

Chris Dumez noreply at github.com
Fri May 12 15:28:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0386e818321f7e2823b58e1d6de85f514bdd31c1
      https://github.com/WebKit/WebKit/commit/0386e818321f7e2823b58e1d6de85f514bdd31c1
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-05-12 (Fri, 12 May 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/domxpath/002-expected.txt
    M Source/WebCore/xml/XPathStep.cpp

  Log Message:
  -----------
  XPath: Apply ignore-case matching to attribute names
https://bugs.webkit.org/show_bug.cgi?id=256536

Reviewed by Ryosuke Niwa.

Cherry-pick the following Blink change:
https://chromium.googlesource.com/chromium/src.git/+/0292ac42f12b0d7725ed1a311cce46290217a3bb

Apply ignore-case matching to attribute names if attribute's owner element is
an HTML element and its owner document is an HTML document and it has no
namespaceURI.

* LayoutTests/imported/w3c/web-platform-tests/domxpath/002-expected.txt:
* Source/WebCore/xml/XPathStep.cpp:
(WebCore::XPath::nodeMatchesBasicTest):
(WebCore::XPath::Step::nodesInAxis const):

Canonical link: https://commits.webkit.org/264030@main




More information about the webkit-changes mailing list