[webkit-changes] [WebKit/WebKit] 2dbd2d: [IFC] ASSERTION FAILED inlineItem.layoutBox().isIn...

Alan Baradlay noreply at github.com
Thu Dec 14 04:35:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2dbd2d584b693ef9ca876f7f403609b8ee974a82
      https://github.com/WebKit/WebKit/commit/2dbd2d584b693ef9ca876f7f403609b8ee974a82
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    A LayoutTests/fast/inline/inline-content-with-out-of-flow-assert-expected.txt
    A LayoutTests/fast/inline/inline-content-with-out-of-flow-assert.html
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp

  Log Message:
  -----------
  [IFC] ASSERTION FAILED inlineItem.layoutBox().isInlineLevelBox() in InlineFormattingUtils::inlineItemWidth
https://bugs.webkit.org/show_bug.cgi?id=266387

Reviewed by Antti Koivisto.

Do not try to measure out-of-flow content while rebuilding the line due to "revert to last breaking position" type of content.

* LayoutTests/fast/inline/inline-content-with-out-of-flow-assert-expected.txt: Added.
* LayoutTests/fast/inline/inline-content-with-out-of-flow-assert.html: Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::rebuildLineWithInlineContent):

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




More information about the webkit-changes mailing list