Summary: | [CSS Grid Layout] Support 'auto' sized grid items | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Julien Chaffraix <jchaffraix> | ||||
Component: | Layout and Rendering | Assignee: | Julien Chaffraix <jchaffraix> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | eric, ojan.autocc, ojan, tony, webkit.review.bot, xan.lopez | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Bug Depends on: | 103311 | ||||||
Bug Blocks: | 103573 | ||||||
Attachments: |
|
Description
Julien Chaffraix
2012-11-26 17:35:03 PST
We have moved up to a point where we can implement 'auto'. The main minmax bug is kept open so that we can track some issues blocked by the spec (e.g the question of orthogonal flow on grid items). Created attachment 185517 [details]
Proposed implementation: translate auto to minmax in RenderStyle.
Comment on attachment 185517 [details]
Proposed implementation: translate auto to minmax in RenderStyle.
This seems OK to me, but Ojan suggested putting the handling of auto in RenderGrid.cpp as a helper function. He might have a stronger opinion than I do.
Comment on attachment 185517 [details]
Proposed implementation: translate auto to minmax in RenderStyle.
Ojan said that it was a slight violation of keeping RenderStyle dumb but he is fine with it due to the limited impact.
Comment on attachment 185517 [details] Proposed implementation: translate auto to minmax in RenderStyle. Clearing flags on attachment: 185517 Committed r141317: <http://trac.webkit.org/changeset/141317> All reviewed patches have been landed. Closing bug. |