Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 47f6224d74615b7c339e462a7ffdb682b3424761
      
https://github.com/WebKit/WebKit/commit/47f6224d74615b7c339e462a7ffdb682b3424761
  Author: Alan Baradlay <[email protected]>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp

  Log Message:
  -----------
  Fix 
imported/w3c/web-platform-tests/css/css-sizing/inline-intrinsic-size-calc.html
https://bugs.webkit.org/show_bug.cgi?id=313261

Reviewed by Antti Koivisto.

Inline-level boxes with calc() margins or padding like calc(0% + 30px)
lost the fixed part during intrinsic width computation.

The fix: always use evaluateMinimum with availableWidth.value_or(0_lu).
This extracts the fixed component from calc() (percentage resolves to 0).

* LayoutTests/TestExpectations:
* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::usedValueOrZero):

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



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

Reply via email to