Grid layout (sometimes) sets the override content size and containing block sizes, so that grid items get sized relative to their grid tracks, rather than the size of the grid element. During the sizing process, we want to know the intrinsic size of children, so we reset any overrides and re-layout children to measure them. We're currently not resetting the content logical width, and there's a comment saying that grid never uses it, but that's out of date and we do need to reset this. <rdar://101304306>
Pull request: https://github.com/WebKit/WebKit/pull/6114
Committed 256622@main (f2e73e71c88c): <https://commits.webkit.org/256622@main> Reviewed commits have been landed. Closing PR #6114 and removing active labels.