Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e7b96346e3235bcd3e71648ab7c849561162d8f
      
https://github.com/WebKit/WebKit/commit/5e7b96346e3235bcd3e71648ab7c849561162d8f
  Author: Alan Baradlay <[email protected]>
  Date:   2025-11-19 (Wed, 19 Nov 2025)

  Changed paths:
    A 
LayoutTests/fast/inline/blocks-in-inline-with-legacy-line-clamp-expected.html
    A LayoutTests/fast/inline/blocks-in-inline-with-legacy-line-clamp.html
    M Source/WebCore/layout/LayoutState.cpp
    M Source/WebCore/layout/LayoutState.h
    M 
Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp
    M Source/WebCore/layout/formattingContexts/inline/InlineLayoutState.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] Fix 
web-platform-tests/css/css-overflow/line-clamp/webkit-line-clamp-038.html
https://bugs.webkit.org/show_bug.cgi?id=302760

Reviewed by Antti Koivisto.

Propagate line-clamp's line count information between IFC and render tree.

Test: fast/inline/blocks-in-inline-with-legacy-line-clamp.html

* 
LayoutTests/fast/inline/blocks-in-inline-with-legacy-line-clamp-expected.html: 
Added.
* LayoutTests/fast/inline/blocks-in-inline-with-legacy-line-clamp.html: Added.
* Source/WebCore/layout/LayoutState.cpp:
(WebCore::Layout::LayoutState::layoutWithFormattingContextForBlockInInline 
const):
* Source/WebCore/layout/LayoutState.h:
* Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:
(WebCore::Layout::InlineFormattingContext::createDisplayContentForInlineContent):
* Source/WebCore/layout/formattingContexts/inline/InlineLayoutState.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/303301@main



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

Reply via email to