[webkit-changes] [WebKit/WebKit] 024615: [IFC][Partial layout] Clear intrinsic width cache ...

Alan Baradlay noreply at github.com
Tue Feb 21 07:13:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 024615f7f474832626c1fded5a51fe9c2577ba97
      https://github.com/WebKit/WebKit/commit/024615f7f474832626c1fded5a51fe9c2577ba97
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Source/WebCore/layout/FormattingState.h
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [IFC][Partial layout] Clear intrinsic width cache when content is damaged.
https://bugs.webkit.org/show_bug.cgi?id=252624

Reviewed by Antti Koivisto.

* Source/WebCore/layout/FormattingState.h:
(WebCore::Layout::FormattingState::resetIntrinsicWidthConstraints):
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::computedIntrinsicWidthConstraintsForIntegration):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::computeIntrinsicWidthConstraints):

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




More information about the webkit-changes mailing list