[webkit-changes] [WebKit/WebKit] 679346: Do not use deprecated (anon) flex item for continu...

Alan Baradlay noreply at github.com
Tue Dec 24 05:50:20 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 67934692c0593391439dfb56eb03979070364c0f
      https://github.com/WebKit/WebKit/commit/67934692c0593391439dfb56eb03979070364c0f
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-12-24 (Tue, 24 Dec 2024)

  Changed paths:
    A LayoutTests/fast/flexbox/deprecated-flex-with-inline-level-item-expected.html
    A LayoutTests/fast/flexbox/deprecated-flex-with-inline-level-item.html
    M Source/WebCore/rendering/updating/RenderTreeBuilderInline.cpp

  Log Message:
  -----------
  Do not use deprecated (anon) flex item for continuations
https://bugs.webkit.org/show_bug.cgi?id=284717
<rdar://problem/141912803>

Reviewed by Antti Koivisto.

Deprecated flex items should not participate in continuation. Let's not use them as pre-block when deciding where the "before content" should go.

Test case credits go to https://chromium.googlesource.com/chromium/src/+/e0d355a173d0bae9c533fe49ef23258f263e9a8b

* LayoutTests/fast/flexbox/deprecated-flex-with-inline-level-item-expected.html: Added.
* LayoutTests/fast/flexbox/deprecated-flex-with-inline-level-item.html: Added.
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjust const):

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