[webkit-changes] [WebKit/WebKit] 091627: [IFC] Enable to layout floats and out-of-flow cont...

Alan Baradlay noreply at github.com
Wed Mar 29 09:45:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0916273d3a354b7f9552c53a8353a583b13c14f7
      https://github.com/WebKit/WebKit/commit/0916273d3a354b7f9552c53a8353a583b13c14f7
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/fast/backgrounds/size/contain-and-cover-zoomed-expected.txt
    M LayoutTests/fast/repaint/absolute-position-change-containing-block-expected.txt
    M LayoutTests/fast/repaint/incorrect-repaint-when-container-changes-from-overflow-visible-to-hidden-expected.txt
    M LayoutTests/platform/ios/fast/block/float/016-expected.txt
    M Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  [IFC] Enable to layout floats and out-of-flow content only
https://bugs.webkit.org/show_bug.cgi?id=254394

Reviewed by Antti Koivisto.

IFC is able to layout content even when only floats and out-of-flow boxes (statically positioned) are present.

* Source/WebCore/layout/formattingContexts/inline/InlineItemsBuilder.cpp:
(WebCore::Layout::InlineItemsBuilder::collectInlineItems):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::printReason):
(WebCore::LayoutIntegration::printModernLineLayoutCoverage):
(WebCore::LayoutIntegration::canUseForLineLayoutWithReason):
* Source/WebCore/layout/integration/LayoutIntegrationCoverage.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::layout):
(WebCore::LayoutIntegration::LineLayout::lastLineIndexForContentHeight const):
* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath):

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




More information about the webkit-changes mailing list