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

  Changed paths:
    A 
LayoutTests/fast/inline/blocks-in-inline-layout-with-shrink-to-fit-width-2-expected.html
    A 
LayoutTests/fast/inline/blocks-in-inline-layout-with-shrink-to-fit-width-2.html
    M Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp

  Log Message:
  -----------
  [blocks-in-inline] LineBuilder::handleBlockContent should not run layout on 
the block box when in intrinsic-width mode
https://bugs.webkit.org/show_bug.cgi?id=302325

Reviewed by Antti Koivisto.

Currently IFC only supports intrinsic-width computation with fixed sized (in 
inline direction)
content (and text) -see canUseForPreferredWidthComputation. In such cases we 
just simply
query the width of the box (similar to inline-block).

Test: fast/inline/blocks-in-inline-layout-with-shrink-to-fit-width-2.html

* 
LayoutTests/fast/inline/blocks-in-inline-layout-with-shrink-to-fit-width-2-expected.html:
 Added.
* 
LayoutTests/fast/inline/blocks-in-inline-layout-with-shrink-to-fit-width-2.html:
 Added.
* Source/WebCore/layout/formattingContexts/inline/InlineLineBuilder.cpp:
(WebCore::Layout::LineBuilder::handleBlockContent):

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



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

Reply via email to