Bug 299982

Summary: [LFC][Integration] Add ability to specify height constraint for layout
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Sammy Gill
Reported 2025-10-01 13:28:24 PDT
We currently have the ability to be able to perform layout on a box with a dedicated width constraint that gets applied on the renderer through integration. In many cases grid will be able to size its items in a way which provides a definite height constraint for the formatting context established by the grid item. For example, a stretching grid item is considered to have a definite size and percentages also will be resolved against the size of the grid area. We can expand the current API to optionally take in a height constraint that callers can pass in to set on the renderer in the same way we do for the width.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-10-01 13:29:34 PDT
Sammy Gill
Comment 2 2025-10-01 14:01:22 PDT
EWS
Comment 3 2025-10-02 17:22:27 PDT
Committed 300908@main (11347fc8b972): <https://commits.webkit.org/300908@main> Reviewed commits have been landed. Closing PR #51644 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.