Bug 104125
Summary: | [CSS Grid Layout] Support track breadth mincontent and maxcontent | ||
---|---|---|---|
Product: | WebKit | Reporter: | Julien Chaffraix <jchaffraix> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | donggwan.kim, ojan, tony, xan.lopez |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 104747 | ||
Bug Blocks: | 60731 |
Julien Chaffraix
The grammar allows track breadth to be mincontent or maxcontent which we don't handle properly.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Tony Chang
The spec says min-content and max-content. We already support -webkit-min-content and -webkit-max-content for things like height and width.
I suspect what we should do is add min-content and max-content support for places where we already support -webkit-min-content and -webkit-max-content and only support min-content and max-content for grid. Then we can someday drop support for the -webkit prefix versions.
Julien Chaffraix
(In reply to comment #1)
> The spec says min-content and max-content. We already support -webkit-min-content and -webkit-max-content for things like height and width.
>
> I suspect what we should do is add min-content and max-content support for places where we already support -webkit-min-content and -webkit-max-content and only support min-content and max-content for grid. Then we can someday drop support for the -webkit prefix versions.
We discussed this further with Tony and agreed to use the existing prefixed version, under the contract that we should also unprefix them when we unprefix grid.
Julien Chaffraix
This was handled as part of the more general bug 103311 (handle minmax track sizing).
*** This bug has been marked as a duplicate of bug 103311 ***