Bug 103311 - [CSS Grid Layout] Implement support for minmax track sizing
Summary: [CSS Grid Layout] Implement support for minmax track sizing
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 104125 (view as bug list)
Depends on: 103343 103703 103799 104700 106474 107604 107738 107740 108110 108403 108975 109100
Blocks: 60731 103332
  Show dependency treegraph
 
Reported: 2012-11-26 15:56 PST by Julien Chaffraix
Modified: 2014-01-31 09:08 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2012-11-26 15:56:09 PST
grid-definition-{rows|columns} allows the grid breadth to be sized after a minmax function:

<track-minmax>  => minmax( <track-breadth> , <track-breadth> ) | auto | <track-breadth>
<track-breadth> => <length> | <percentage> | <fraction> | min-content | max-content

Currently we only support <length> | <percentage>.
Comment 1 Julien Chaffraix 2013-02-22 13:17:08 PST
*** Bug 104125 has been marked as a duplicate of this bug. ***
Comment 2 Julien Chaffraix 2013-02-22 13:19:11 PST
Relevant comment from the duplicated bug (https://bugs.webkit.org/show_bug.cgi?id=104125#c2):

(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.
Comment 3 Sergio Villar Senin 2014-01-31 09:08:59 PST
The minmax() support was added some time ago in different bugs like bug 104700 or bug 108403 (there are some others too)