[webkit-changes] [WebKit/WebKit] f3cde6: [IFC][Partial layout] Populate layout tree increme...

Alan Baradlay noreply at github.com
Wed Feb 15 07:59:57 PST 2023


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

  Changed paths:
    M Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationBoxTree.h
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h
    M Source/WebCore/rendering/RenderObject.cpp

  Log Message:
  -----------
  [IFC][Partial layout] Populate layout tree incrementally
https://bugs.webkit.org/show_bug.cgi?id=252255

Reviewed by Antti Koivisto.

Partial layout implies partial tree building (not a strict requirement though).
This patch enables us to start supporting the simple case of "new text content has been appended since the last layout".
It's disabled for now.

* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp:
(WebCore::LayoutIntegration::BoxTree::insert):
* Source/WebCore/layout/integration/LayoutIntegrationBoxTree.h:
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterContentChange):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::shouldInvalidateLineLayoutPathAfterContentChange):
(WebCore::LayoutIntegration::LineLayout::insertedIntoTree):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:
* Source/WebCore/rendering/RenderObject.cpp:
(WebCore::RenderObject::insertedIntoTree):

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




More information about the webkit-changes mailing list