[webkit-changes] [WebKit/WebKit] f017f4: Scroll To Text Fragment indicator flash not always...

megangardner noreply at github.com
Mon Sep 12 13:12:24 PDT 2022


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

  Changed paths:
    M Source/WebCore/page/FrameView.cpp

  Log Message:
  -----------
  Scroll To Text Fragment indicator flash not always apparent.
https://bugs.webkit.org/show_bug.cgi?id=245085
rdar://99668762

Reviewed by Tim Horton.

For some pages, if there is content being loaded in right around the time we scroll
and flash the text indicator, then the indicator will not be on screen and visible
to the user. We should scroll to the right place on the page one last time before we
actually create and display the text indicator to ensure that the page is at the right
location.

* Source/WebCore/page/FrameView.cpp:
(WebCore::FrameView::textFragmentIndicatorTimerFired):

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




More information about the webkit-changes mailing list