[webkit-changes] [WebKit/WebKit] c58d1f: [IFC][Cleanup] LineBuilder::handleInlineContent sh...

Alan Baradlay noreply at github.com
Sat Sep 16 14:50:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c58d1fdfb592147cbe5dc6cc04add73c405be63c
      https://github.com/WebKit/WebKit/commit/c58d1fdfb592147cbe5dc6cc04add73c405be63c
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-09-16 (Sat, 16 Sep 2023)

  Changed paths:
    M Source/WebCore/layout/formattingContexts/inline/InlineFormattingGeometry.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h

  Log Message:
  -----------
  [IFC][Cleanup] LineBuilder::handleInlineContent should set m_lineIsConstrainedByFloat when line gains content
https://bugs.webkit.org/show_bug.cgi?id=261608

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::handleInlineContent):
(Remove incorrect assertions; this is when the candidate content is constrained by float(s) (which is why we can't place it) but the line itself not (since the line represents whatever content we _managed_ to add).

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




More information about the webkit-changes mailing list