WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
247465
Grid track sizing should reset the override width as well as height to compute intrinsic sizing
https://bugs.webkit.org/show_bug.cgi?id=247465
Summary
Grid track sizing should reset the override width as well as height to comput...
Matt Woodrow
Reported
2022-11-03 16:37:07 PDT
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
>
Attachments
Add attachment
proposed patch, testcase, etc.
Matt Woodrow
Comment 1
2022-11-03 17:58:07 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/6114
EWS
Comment 2
2022-11-13 16:01:06 PST
Committed
256622@main
(f2e73e71c88c): <
https://commits.webkit.org/256622@main
> Reviewed commits have been landed. Closing PR #6114 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug