[webkit-changes] [WebKit/WebKit] ca36a0: Safari 16.2 broken by some Flex/Snap CSS

Nikos Mouchtaris noreply at github.com
Thu Jan 19 10:27:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca36a098506482eaa75f60b5997236e0583e828d
      https://github.com/WebKit/WebKit/commit/ca36a098506482eaa75f60b5997236e0583e828d
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    A LayoutTests/fast/scrolling/mac/sroll-snap-crash-expected.txt
    A LayoutTests/fast/scrolling/mac/sroll-snap-crash.html
    M Source/WebCore/page/scrolling/ScrollSnapOffsetsInfo.cpp

  Log Message:
  -----------
  Safari 16.2 broken by some Flex/Snap CSS
https://bugs.webkit.org/show_bug.cgi?id=249575
rdar://103517033

Reviewed by Simon Fraser.

Add check for if a compatible snap area not found in ensureVisibleTarget.

* Source/WebCore/page/scrolling/ScrollSnapOffsetsInfo.cpp:
(WebCore::ensureVisibleTarget):

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




More information about the webkit-changes mailing list