Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a107eb18bdf74046cf730218a1a5679c5f42ee42
https://github.com/WebKit/WebKit/commit/a107eb18bdf74046cf730218a1a5679c5f42ee42
Author: Ahmad Saleem <[email protected]>
Date: 2025-01-02 (Thu, 02 Jan 2025)
Changed paths:
M Source/WebCore/rendering/RenderBox.cpp
Log Message:
-----------
Drop contradictory condition in min-width clamping
https://bugs.webkit.org/show_bug.cgi?id=285305
rdar://142277147
Reviewed by Alan Baradlay.
Merge:
https://chromium.googlesource.com/chromium/src.git/+/99a0ad7eeaa0d05f7e7973f74536a5a9cdf9a730
isUndefined() is nonsensical for min-width since it translates to `0`
(represented as `auto`) as initial length value and not `isUndefined`.
In this case, it seems `style().logicalMinWidth().isUndefined()` was a
just long alias for `false`, so this removes it.
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::computeReplacedLogicalWidthRespectingMinMaxWidth const):
Canonical link: https://commits.webkit.org/288392@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