[webkit-changes] [WebKit/WebKit] 20c777: [IFC] Decouple in- and out-of-flow type of layout ...

Alan Baradlay noreply at github.com
Tue Mar 28 07:23:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 20c7771a586d5b278920935986b21867bd6988bb
      https://github.com/WebKit/WebKit/commit/20c7771a586d5b278920935986b21867bd6988bb
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

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

  Log Message:
  -----------
  [IFC] Decouple in- and out-of-flow type of layout (static position for out-of-flow)
https://bugs.webkit.org/show_bug.cgi?id=254550

Reviewed by Antti Koivisto.

This is in preparation for being able to layout content when only float and out-of-flow boxes are present (strictly speaking we should only initiate IFC layout when there's at least one out-of-flow box with display inline).

* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::layoutInFlowAndFloatContentForIntegration):
(WebCore::Layout::InlineFormattingContext::layoutOutOfFlowContentForIntegration):
(WebCore::Layout::InlineFormattingContext::layoutFloatContentOnly):
(WebCore::Layout::InlineFormattingContext::layoutInFlowContentForIntegration): Deleted.
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::layout):

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




More information about the webkit-changes mailing list