[webkit-changes] [WebKit/WebKit] c79c0d: Fancy Quotes and Apostrophes are not matched to Sc...

megangardner noreply at github.com
Thu Sep 8 09:16:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c79c0dc354f2430992eebd89c515da6bc39406ea
      https://github.com/WebKit/WebKit/commit/c79c0dc354f2430992eebd89c515da6bc39406ea
  Author: Megan Gardner <megan_gardner at apple.com>
  Date:   2022-09-08 (Thu, 08 Sep 2022)

  Changed paths:
    A LayoutTests/http/tests/scroll-to-text-fragment/start-text-quote-expected.html
    A LayoutTests/http/tests/scroll-to-text-fragment/start-text-quote.html
    M Source/WebCore/dom/FragmentDirectiveRangeFinder.cpp

  Log Message:
  -----------
  Fancy Quotes and Apostrophes are not matched to Scroll To Text Fragment fragments.
https://bugs.webkit.org/show_bug.cgi?id=244918

Reviewed by Wenson Hsieh.

Leverage existing quote folding code to match non-ascii quote marks for more accurate
fragment matching.

* LayoutTests/http/tests/scroll-to-text-fragment/start-text-quote-expected.html: Added.
* LayoutTests/http/tests/scroll-to-text-fragment/start-text-quote.html: Added.
* Source/WebCore/dom/FragmentDirectiveRangeFinder.cpp:
(WebCore::FragmentDirectiveRangeFinder::findRangeFromNodeList):

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




More information about the webkit-changes mailing list