[Webkit-unassigned] [Bug 279033] Refactor `computePositionedLogicalWidthUsing` to use shrink-to-fit in one step

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 2 13:15:02 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279033

--- Comment #1 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
We can even use std:clamp here - return std::clamp(availableLogicalWidth, preferredMinLogicalWidth, preferredLogicalWidth);

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240902/81a23820/attachment-0001.htm>


More information about the webkit-unassigned mailing list