[webkit-changes] [WebKit/WebKit] 8a9b0a: [IFC] Do not try to invalidate inline layout when ...

Alan Baradlay noreply at github.com
Thu Feb 27 13:03:29 PST 2025


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

  Changed paths:
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp

  Log Message:
  -----------
  [IFC] Do not try to invalidate inline layout when never-laid-out renderer is removed
https://bugs.webkit.org/show_bug.cgi?id=288681

Reviewed by Antti Koivisto.

A renderer may change its containing block position (through JS) even before running
layout on it. Such insertion position changes should not trigger inline layout invalidation.

* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::removedFromTree):
* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::invalidateLineLayout):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list