Bug 271083

Summary: [css-grid] Grid track sizing algorithm logical height computation unnecessarily dirties grid items
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: Layout and RenderingAssignee: Sammy Gill <sgill26>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=269558
https://bugs.webkit.org/show_bug.cgi?id=268595
https://bugs.webkit.org/show_bug.cgi?id=232176

Sammy Gill
Reported 2024-03-15 15:00:36 PDT
In certain conditions, the grid item logical height computation in the grid track sizing algorithm will modify the overriding containing block size for the grid items's block direction and mark the grid item dirty for layout. This dirtying occurs even if the override size remains the same. This can result in bad performance in certain pieces of content (e.g. nested grids)
Attachments
Radar WebKit Bug Importer
Comment 1 2024-03-15 15:00:50 PDT
Sammy Gill
Comment 2 2024-03-15 15:36:00 PDT
EWS
Comment 3 2024-03-25 10:58:19 PDT
Committed 276633@main (ba849a630cec): <https://commits.webkit.org/276633@main> Reviewed commits have been landed. Closing PR #25982 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.