[webkit-changes] [WebKit/WebKit] 77a511: ASSERTION FAILED: *trailingRunIndex >= overflowing...

Alan Baradlay noreply at github.com
Tue Oct 3 07:07:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 77a511bb1339086fd3f9fcb1be5f04a10f1d6837
      https://github.com/WebKit/WebKit/commit/77a511bb1339086fd3f9fcb1be5f04a10f1d6837
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    A LayoutTests/fast/text/unbreakable-content-with-inline-boxes-assert-expected.txt
    A LayoutTests/fast/text/unbreakable-content-with-inline-boxes-assert.html
    M Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp

  Log Message:
  -----------
  ASSERTION FAILED: *trailingRunIndex >= overflowingRunIndex
https://bugs.webkit.org/show_bug.cgi?id=262249

Reviewed by Antti Koivisto.

Remove invalid assert (see comments in code).

* LayoutTests/fast/text/unbreakable-content-with-inline-boxes-assert-expected.txt: Added.
* LayoutTests/fast/text/unbreakable-content-with-inline-boxes-assert.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineContentBreaker.cpp:
(WebCore::Layout::findTrailingRunIndexBeforeBreakableRun):
(WebCore::Layout::InlineContentBreaker::tryBreakingOverflowingRun const):
(WebCore::Layout::InlineContentBreaker::tryBreakingNextOverflowingRuns const):
(WebCore::Layout::findTrailingRunIndex): Deleted.

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




More information about the webkit-changes mailing list