Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1035e5e1586bc89f8f151e95c4fbdb440f42b12b
      
https://github.com/WebKit/WebKit/commit/1035e5e1586bc89f8f151e95c4fbdb440f42b12b
  Author: Alan Baradlay <[email protected]>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    M Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp
    M Source/WebCore/rendering/RenderDeprecatedFlexibleBox.h

  Log Message:
  -----------
  RenderDeprecatedFlexibleBox is commonly used as a wrapper for clamping
https://bugs.webkit.org/show_bug.cgi?id=288950

Reviewed by Antti Koivisto.

In many cases -webkit-box is used to only trigger block direction clamping (and 
no flexing is involved whatsoever) by wrapping the inline content inside a 
single (deprecated) flex item.

* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp:
(WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
(WebCore::RenderDeprecatedFlexibleBox::layoutSingleClampedFlexItem):
* Source/WebCore/rendering/RenderDeprecatedFlexibleBox.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to