[css-grid] A "minmax(auto, <flex>)" track size should be serialized as "<flex>" |
|||
Issue descriptionVersion: 56.0.2897.0 (Official Build) dev (64-bit) OS: Linux What steps will reproduce the problem? (1)load the attached testcase (2) (3) What is the expected output? A blank page (no error message) What do you see instead? "Error: got "minmax(auto, 1fr)", expected "1fr"" FYI, the desired behavior was clarified by the Grid spec editor in: https://github.com/w3c/csswg-drafts/issues/529
,
Nov 2 2016
,
Nov 2 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7e941579065975fa2644e2e0d14d96b4e52312bd commit 7e941579065975fa2644e2e0d14d96b4e52312bd Author: rego <rego@igalia.com> Date: Wed Nov 02 12:08:11 2016 [css-grid] mimax(auto, <flex>) should be serialized as <flex> Add a simple if to serialize properly this case. Add new test case to verify it. We can only check it using grid-auto-columns|rows, because grid-template-columns|rows is serialized to the used breadth. BUG= 660675 Review-Url: https://codereview.chromium.org/2473493003 Cr-Commit-Position: refs/heads/master@{#429252} [modify] https://crrev.com/7e941579065975fa2644e2e0d14d96b4e52312bd/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set-expected.txt [modify] https://crrev.com/7e941579065975fa2644e2e0d14d96b4e52312bd/third_party/WebKit/LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-get-set.html [modify] https://crrev.com/7e941579065975fa2644e2e0d14d96b4e52312bd/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp [modify] https://crrev.com/7e941579065975fa2644e2e0d14d96b4e52312bd/third_party/WebKit/Source/core/style/GridLength.h
,
Nov 2 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by e...@chromium.org
, Oct 31 2016