[webkit-changes] [WebKit/WebKit] 069825: [IFC] Fall back to full layout when partial damage...

Alan Baradlay noreply at github.com
Thu Oct 19 06:41:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 069825f3ce317734abd055df260a2fbb9646fa96
      https://github.com/WebKit/WebKit/commit/069825f3ce317734abd055df260a2fbb9646fa96
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp

  Log Message:
  -----------
  [IFC] Fall back to full layout when partial damage offset does not match with freshly updated inline items
https://bugs.webkit.org/show_bug.cgi?id=263346

Reviewed by Antti Koivisto.

If the inline item list mismatches the previously computed damage offset (e.g. first inline item has the length of 3 while damage points to position 4)
let's just do full layout.

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::layoutRangeForContent):
(WebCore::Layout::InlineFormattingContext::layout):
(WebCore::Layout::InlineFormattingContext::computedIntrinsicSizes):

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




More information about the webkit-changes mailing list