Files
firefox/testing/web-platform/tests/css/css-grid
Manuel Rego Casasnovas b6de1d9c38 Bug 1507988 [wpt PR 14100] - [css-grid] Fix grid container sizing under min-content height, a=testonly
Automatic update from web-platform-tests[css-grid] Fix grid container sizing under min-content height

The spec is quite clear
(https://drafts.csswg.org/css-sizing/#valdef-width-min-content):
  "min-content
     If specified for the inline axis, use the min-content inline size;
     otherwise behaves as the property’s initial value."

So if a grid container has "height: min-content" it should behave
the same than with "height: auto".

The patch removes ComputeIntrinsicLogicalContentHeightUsing() in
LayoutGrid as we don't need a custom one anymore.
We can also get rid of min_content_height_ and max_content_height_
attributes that were only used for this logic.

BUG=906039
TEST=fast/css-grid-layout/grid-track-sizing-with-orthogonal-flows.html
TEST=fast/css-grid-layout/maximize-tracks-definite-indefinite-height.html

Change-Id: Ia67d1dac16fbb04e3225115c3f34c67975dc6f94
Reviewed-on: https://chromium-review.googlesource.com/c/1340311
Reviewed-by: Christian Biesinger <[email protected]>
Commit-Queue: Manuel Rego <[email protected]>
Cr-Commit-Position: refs/heads/master@{#610059}

--

wpt-commits: dff98e8b5907a5355d9832901e78e4250011360c
wpt-pr: 14100
2018-11-26 18:36:19 +00:00
..
…

CSS Grid Layout Module Level 1 Test Suite

Directory containing the CSS Grid Layout spec test suite.

This suite is structured in different folders for each section of the spec (the name of the folders corresponds to the "id" of each section):

Links: