[webkit-changes] [WebKit/WebKit] edf1f7: [IFC][Partial layout] Re-parenting type of inserti...

Alan Baradlay noreply at github.com
Wed Sep 13 10:06:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: edf1f72b95dba4f47964544723f7d568661dcde2
      https://github.com/WebKit/WebKit/commit/edf1f72b95dba4f47964544723f7d568661dcde2
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    A LayoutTests/fast/inline/inline-re-parenting-crash-on-partial-layout-expected.txt
    A LayoutTests/fast/inline/inline-re-parenting-crash-on-partial-layout.html
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

  Log Message:
  -----------
  [IFC][Partial layout] Re-parenting type of insertion is not supported yet
https://bugs.webkit.org/show_bug.cgi?id=261510
<rdar://115419901>

Reviewed by Antti Koivisto.

When an inline box (e.g. <q>) with a subtree gets re-parented (remove and insert) due to render tree normalization we
get the insert call on the root renderer (<q>) only while missing the individual insert notifications on the subtree renderers.

* LayoutTests/fast/inline/inline-re-parenting-crash-on-partial-layout-expected.txt: Added.
* LayoutTests/fast/inline/inline-re-parenting-crash-on-partial-layout.html: Added.
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::shouldInvalidateLineLayoutPathAfterChangeFor):

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




More information about the webkit-changes mailing list