[webkit-changes] [WebKit/WebKit] 122389: Fix RenderTreeBuilder::move() to clear percent hei...

Commit Queue noreply at github.com
Tue Aug 13 02:39:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1223895a9c1b04cb71cfcebf00498992302f64fe
      https://github.com/WebKit/WebKit/commit/1223895a9c1b04cb71cfcebf00498992302f64fe
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    A LayoutTests/fast/inline/inline-split-percent-height-object-crash-expected.txt
    A LayoutTests/fast/inline/inline-split-percent-height-object-crash.html
    A LayoutTests/fast/table/table-split-percent-height-expected.html
    A LayoutTests/fast/table/table-split-percent-height.html
    M Source/WebCore/rendering/updating/RenderTreeBuilder.cpp

  Log Message:
  -----------
  Fix RenderTreeBuilder::move() to clear percent height map

https://bugs.webkit.org/show_bug.cgi?id=274011
rdar://128289804

Reviewed by Alan Baradlay.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

Merge: https://chromium.googlesource.com/chromium/src.git/+/7afb0474da50c93fa2360fc70ccbb73a313a45f7

This patch fixes RenderTreeBuilder::clear() to clear the
moving children from the global percent height map.

* Source/WebCore/rendering/updating/RenderTreeBuilder.cpp:
(WebCore::RenderTreeBuilder::move):
(WebCore::RenderTreeBuilder::moveChildren):
* LayoutTests/fast/inline/inline-split-percent-height-object-crash-expected.txt:
* LayoutTests/fast/inline/inline-split-percent-height-object-crash.html:
* LayoutTests/fast/table/table-split-percent-height-expected.html:
* LayoutTests/fast/table/table-split-percent-height.html:

Canonical link: https://commits.webkit.org/282160@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