[webkit-changes] [WebKit/WebKit] b48237: [IFC][Partial layout] Do not run partial invalidat...

Alan Baradlay noreply at github.com
Mon Feb 27 10:08:43 PST 2023


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

  Changed paths:
    A LayoutTests/fast/inline/partial-layout-with-bidi-reordering-crash-expected.txt
    A LayoutTests/fast/inline/partial-layout-with-bidi-reordering-crash.html
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h

  Log Message:
  -----------
  [IFC][Partial layout] Do not run partial invalidation when the new content needs visual reordering
https://bugs.webkit.org/show_bug.cgi?id=252935
<rdar://105872901>

Reviewed by Antti Koivisto.

Partial inline item collection with bidi reordering is not supported yet (bidi reordering works on paragraph level).

* LayoutTests/fast/inline/partial-layout-with-bidi-reordering-crash-expected.txt: Added.
* LayoutTests/fast/inline/partial-layout-with-bidi-reordering-crash.html: Added.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterContentChangeFor):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::contentNeedsVisualReordering const):
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.h:

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




More information about the webkit-changes mailing list