Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c58d1fdfb592147cbe5dc6cc04add73c405be63c
      
https://github.com/WebKit/WebKit/commit/c58d1fdfb592147cbe5dc6cc04add73c405be63c
  Author: Alan Baradlay <za...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to