[webkit-changes] [WebKit/WebKit] 1728fd: [IFC][Partial layout] Move damaged line remove log...

Alan Baradlay noreply at github.com
Wed Mar 15 07:45:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1728fd96d8d3fd3f1328c83d4f225893674b1a30
      https://github.com/WebKit/WebKit/commit/1728fd96d8d3fd3f1328c83d4f225893674b1a30
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContent.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [IFC][Partial layout] Move damaged line remove logic over to InlineContentBuilder
https://bugs.webkit.org/show_bug.cgi?id=253650

Reviewed by Antti Koivisto.

InlineContentBuilder is now responsible for removing damaged lines/boxes in addition to move freshly constructed ones over to InlineContent.
It also computes and returns the repaint rect for both damaged and new content.

* Source/WebCore/layout/formattingContexts/inline/display/InlineDisplayContent.h:
(WebCore::InlineDisplay::Content::remove):
* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::InlineContentBuilder::build const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::constructContent):

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




More information about the webkit-changes mailing list