Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6243c6ed727fd6e053a6591a21869fb5c9972fd9
      
https://github.com/WebKit/WebKit/commit/6243c6ed727fd6e053a6591a21869fb5c9972fd9
  Author: Alan Baradlay <[email protected]>
  Date:   2025-11-06 (Thu, 06 Nov 2025)

  Changed paths:
    A LayoutTests/fast/inline/blocks-in-inline-layout-5-expected.html
    A LayoutTests/fast/inline/blocks-in-inline-layout-5.html
    A LayoutTests/fast/inline/blocks-in-inline-layout-7-expected.html
    A LayoutTests/fast/inline/blocks-in-inline-layout-7.html
    R LayoutTests/fast/inline/blocks-in-inline-layout5-expected.html
    R LayoutTests/fast/inline/blocks-in-inline-layout5.html
    M Source/WebCore/layout/LayoutState.cpp
    M Source/WebCore/layout/LayoutState.h
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp
    M 
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.cpp
    M 
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.h
    M Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp
    M Source/WebCore/layout/integration/LayoutIntegrationUtils.h

  Log Message:
  -----------
  [blocks-in-inline] Add block offset when importing floats to IFC's floating 
state
https://bugs.webkit.org/show_bug.cgi?id=302101

Reviewed by Antti Koivisto.

Floats inside block-in-inline are relative to the block itself. However when 
importing them
to IFC's floating state, they need to get converted relative to the formatting 
context root.

Tests: fast/inline/blocks-in-inline-layout-5.html
       fast/inline/blocks-in-inline-layout-7.html

* LayoutTests/fast/inline/blocks-in-inline-layout-5-expected.html: Copied from 
LayoutTests/fast/inline/blocks-in-inline-layout5-expected.html.
* LayoutTests/fast/inline/blocks-in-inline-layout-5.html: Copied from 
LayoutTests/fast/inline/blocks-in-inline-layout5.html.
* LayoutTests/fast/inline/blocks-in-inline-layout-7-expected.html: Renamed from 
LayoutTests/fast/inline/blocks-in-inline-layout5-expected.html.
* LayoutTests/fast/inline/blocks-in-inline-layout-7.html: Renamed from 
LayoutTests/fast/inline/blocks-in-inline-layout5.html.
* Source/WebCore/layout/LayoutState.cpp:
(WebCore::Layout::LayoutState::layoutWithFormattingContextForBlockInInline 
const):
* Source/WebCore/layout/LayoutState.h:
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::handleBlockContent):
* 
Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.cpp:
(WebCore::LayoutIntegration::layoutWithFormattingContextForBlockInInline):
* Source/WebCore/layout/integration/LayoutIntegrationFormattingContextLayout.h:
* Source/WebCore/layout/integration/LayoutIntegrationUtils.cpp:
(WebCore::Layout::IntegrationUtils::layoutWithFormattingContextForBlockInInline 
const):
* Source/WebCore/layout/integration/LayoutIntegrationUtils.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to