Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d21257d6eee9c3bc9971ef9858c3fec14484d8f
      
https://github.com/WebKit/WebKit/commit/5d21257d6eee9c3bc9971ef9858c3fec14484d8f
  Author: Alan Baradlay <[email protected]>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    A LayoutTests/fast/flexbox/preferred-width-empty-inline-block-expected.txt
    A LayoutTests/fast/flexbox/preferred-width-empty-inline-block.html
    M Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp

  Log Message:
  -----------
  English text getting cut off in RTL with some styles
https://bugs.webkit.org/show_bug.cgi?id=305729

Reviewed by Antti Koivisto.

The change allows empty (childless) atomic inline-level boxes through
canUseForPreferredWidthComputation so the IFC computes intrinsic width
consistently with how it does actual layout (it prevents unexpected line 
breaking and content truncation).

* Source/WebCore/layout/integration/LayoutIntegrationCoverage.cpp:
(WebCore::LayoutIntegration::canUseForPreferredWidthComputation):
* LayoutTests/fast/flexbox/preferred-width-empty-inline-block.html: Added.
* LayoutTests/fast/flexbox/preferred-width-empty-inline-block-expected.txt: 
Added.

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



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

Reply via email to