Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c23a3e4b0af49d829fc1441ca860416df7e08195
      
https://github.com/WebKit/WebKit/commit/c23a3e4b0af49d829fc1441ca860416df7e08195
  Author: Antti Koivisto <[email protected]>
  Date:   2025-11-21 (Fri, 21 Nov 2025)

  Changed paths:
    A LayoutTests/fast/inline/blocks-in-inline-list-marker-expected.html
    A LayoutTests/fast/inline/blocks-in-inline-list-marker.html
    M 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContent.cpp
    M Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContent.h
    M Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp

  Log Message:
  -----------
  [blocks-in-inline] Compute first and last line baselines for blocks
https://bugs.webkit.org/show_bug.cgi?id=302927
rdar://165198637

Reviewed by Alan Baradlay.

Test: fast/inline/blocks-in-inline-list-marker.html
* LayoutTests/fast/inline/blocks-in-inline-list-marker-expected.html: Added.
* LayoutTests/fast/inline/blocks-in-inline-list-marker.html: Added.
* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContent.cpp:
(WebCore::LayoutIntegration::InlineContent::blockLevelBoxForLine const):

Add a helper.

* Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContent.h:
* Source/WebCore/layout/integration/inline/LayoutIntegrationLineLayout.cpp:
(WebCore::LayoutIntegration::LineLayout::firstLineBaseline const):
(WebCore::LayoutIntegration::LineLayout::lastLineBaseline const):

In case of a block-in-inline return the relevant block baseline.

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



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

Reply via email to