[webkit-changes] [WebKit/WebKit] ef29e9: Assertion failure in adjustContentForPagination

Antti Koivisto noreply at github.com
Tue Jun 18 07:22:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ef29e9a60de2f1424951f77038c5ee9dd18cc345
      https://github.com/WebKit/WebKit/commit/ef29e9a60de2f1424951f77038c5ee9dd18cc345
  Author: Antti Koivisto <antti at apple.com>
  Date:   2024-06-18 (Tue, 18 Jun 2024)

  Changed paths:
    A LayoutTests/fast/multicol/empty-line-assert-expected.txt
    A LayoutTests/fast/multicol/empty-line-assert.html
    M Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp

  Log Message:
  -----------
  Assertion failure in adjustContentForPagination
https://bugs.webkit.org/show_bug.cgi?id=275605
rdar://124213853

Reviewed by Alan Baradlay.

* LayoutTests/fast/multicol/empty-line-assert-expected.txt: Added.
* LayoutTests/fast/multicol/empty-line-assert.html: Added.
* Source/WebCore/layout/formattingContexts/inline/invalidation/InlineInvalidation.cpp:
(WebCore::Layout::leadingContentDisplayForLineIndex):

The code assumed we can't have two subsequent root inline boxes in InlineDisplay. There
are cases that generate empty lines where we get this structure.

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