[webkit-changes] [WebKit/WebKit] f8882f: [IFC] isLastLineWithInlineContent should should no...

Alan Baradlay noreply at github.com
Mon Sep 4 21:52:33 PDT 2023


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

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

  Log Message:
  -----------
  [IFC] isLastLineWithInlineContent should should not return true for float/out-of-flow content only
https://bugs.webkit.org/show_bug.cgi?id=261131

Reviewed by Antti Koivisto.

* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::layoutInlineContent):
(WebCore::Layout::LineBuilder::placeInlineAndFloatContent):
(WebCore::Layout::LineBuilder::isLastLineWithInlineContent const):
(WebCore::Layout::isLastLineWithInlineContent): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::contentBoxLogicalHeight const):

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




More information about the webkit-changes mailing list