Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ea1b4ed981ad651ef96225dd444b03c2a78257d4
      
https://github.com/WebKit/WebKit/commit/ea1b4ed981ad651ef96225dd444b03c2a78257d4
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-03-11 (Wed, 11 Mar 2026)

  Changed paths:
    M Source/WebCore/rendering/GridLayoutFunctions.cpp
    M Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp
    M Source/WebCore/rendering/PositionedLayoutConstraints.h
    M Source/WebCore/rendering/RenderBlockFlow.cpp
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderObject.cpp
    M Source/WebCore/rendering/RenderScrollbarPart.cpp
    M Source/WebCore/rendering/RenderTheme.cpp
    M Source/WebCore/rendering/adwaita/RenderThemeAdwaita.cpp
    M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
    M Source/WebCore/rendering/ios/RenderThemeIOS.mm
    M Source/WebCore/rendering/line/BreakingContext.h
    M Source/WebCore/rendering/mac/RenderThemeMac.mm
    M Source/WebCore/style/StyleAdjuster.cpp
    M Source/WebCore/style/StyleDifference.cpp
    M Source/WebCore/style/values/flexbox/StyleFlexBasis.h
    M Source/WebCore/style/values/sizing/StyleMaximumSize.h
    M Source/WebCore/style/values/sizing/StyleMinimumSize.h
    M Source/WebCore/style/values/sizing/StylePreferredSize.h

  Log Message:
  -----------
  Slight refactoring of sizing rendering code
https://bugs.webkit.org/show_bug.cgi?id=309675

Reviewed by Elika Etemad.

This makes several clarifications:

- Renames isIntrinsicOrLegacyIntrinsicOrAuto() to
  isSizingKeyword[OrAuto]() as that is shorter and more descriptive.
  We add a comment to call out the isContent() and isNone() cases.
- In RenderScrollbarPart we invert several checks that make it a lot
  clearer what is going on.
- In PositionedLayoutConstraints we make availableContentSpace() always
  return a non-negative value to simplify callers.

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



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

Reply via email to