From d6cb42eca2a67cc6cdc6cd376da8180b61074fab Mon Sep 17 00:00:00 2001 From: Christian Biesinger Date: Thu, 26 Mar 2015 18:53:22 -0400 Subject: [PATCH] Fix flex-margin-no-collapse.html As described in https://lists.w3.org/Archives/Public/www-style/2015Mar/0463.html, the testcase is broken. This patch adds flex:none so that it displays correctly; this seems to match the intention better than the alternative of changing the container's height to 400px. Without this change, the boxes will shrink due to the flexing and not cover up the red box. --- css-flexbox-1/flex-margin-no-collapse.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css-flexbox-1/flex-margin-no-collapse.html b/css-flexbox-1/flex-margin-no-collapse.html index 8331a50ce6..056e399e96 100755 --- a/css-flexbox-1/flex-margin-no-collapse.html +++ b/css-flexbox-1/flex-margin-no-collapse.html @@ -22,6 +22,7 @@ width: 100px; height: 100px; background-color: green; + flex: none; } #box1 { @@ -50,4 +51,4 @@
- \ No newline at end of file +