[webkit-changes] [WebKit/WebKit] f941ea: https://bugs.webkit.org/show_bug.cgi?id=273660

Alan Baradlay noreply at github.com
Sat May 4 20:29:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f941ea9d5e9411a302f3d699966493a660ecc46c
      https://github.com/WebKit/WebKit/commit/f941ea9d5e9411a302f3d699966493a660ecc46c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-05-04 (Sat, 04 May 2024)

  Changed paths:
    A LayoutTests/fast/inline/dynamic-line-clamp-change-on-nested-content-expected.html
    A LayoutTests/fast/inline/dynamic-line-clamp-change-on-nested-content.html
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  https://bugs.webkit.org/show_bug.cgi?id=273660
<rdar://127270565>

Reviewed by Antti Koivisto.

RenderDeprecatedFlexibleBox marks direct children dirty when dealing with line-clamp, but
since this functionality gets propagated to nested block containers too, we need to make sure
descendant content gets laid out (in order to be able to figure out where to clamp inline content).

* LayoutTests/fast/inline/dynamic-line-clamp-change-on-nested-content-expected.html: Added.
* LayoutTests/fast/inline/dynamic-line-clamp-change-on-nested-content.html: Added.
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::layoutBlock):

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