Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f78508d61a65d1558744110bb8c50e251a4f7ed8
      
https://github.com/WebKit/WebKit/commit/f78508d61a65d1558744110bb8c50e251a4f7ed8
  Author: Alan Baradlay <[email protected]>
  Date:   2024-12-22 (Sun, 22 Dec 2024)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-content-is-min-width-max-content-expected.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-content-is-min-width-max-content-ref.html
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-content-is-min-width-max-content.html
    M Source/WebCore/rendering/RenderBox.cpp

  Log Message:
  -----------
  Github.com: Green code button is overlapping "Add File" on Safari
https://bugs.webkit.org/show_bug.cgi?id=285081
<rdar://141308993>

Reviewed by Antti Koivisto.

When min-width is set to max-content, we need to make sure that we don't size
the box smaller than its max content size.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-content-is-min-width-max-content-expected.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-content-is-min-width-max-content-ref.html:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-content-is-min-width-max-content.html:
 Added.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computePreferredLogicalWidths):

Canonical link: https://commits.webkit.org/288239@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