Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 069825f3ce317734abd055df260a2fbb9646fa96
      
https://github.com/WebKit/WebKit/commit/069825f3ce317734abd055df260a2fbb9646fa96
  Author: Alan Baradlay <za...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to