Issue metadata
Sign in to add a comment
|
Chrome incorrectly resolves "min-height:auto" to 0, on nested flex container, in quirks mode |
||||||||||||||||||||||||
Issue descriptionChrome Version: (copy from chrome://version) OS: (e.g. Win7, OSX 10.9.5, etc...) What steps will reproduce the problem? (1) Load https://dholbert.github.io/tests/flexbox/nested-flex-quirksmode-1.html What is the expected result? There should be a border around the text. (Both flex containers should be as tall as the text that they wrap.) What happens instead? There is no border around the text. (Both flex containers collapse to 0 height.) Please use labels and text to provide additional information. Notes: - Edge and Firefox give "expected result". - Chrome gives "expected result" IF I modify the testcase to add <!DOCTYPE html>. So there's some special quirks-mode-only behavior coming into play here (which does not exist in Firefox or Edge). - Even though the testcase has "flex: 0" on the inner flex container, it's not actually asking for that container to have 0 height -- it should instead collapse to its min-height, which should be the content height (from the special "min-height:auto" behavior in Flexbox)
,
Feb 14 2017
,
Oct 17 2017
,
Nov 6 2017
Possibly related to bug 596743 -- though note that this bug's got a quirks-mode dependence. Here's a reference case (with <!DOCTYPE html>), which gives the expected/correct rendering in Chrome: https://dholbert.github.io/tests/flexbox/nested-flex-quirksmode-1-ref.html
,
May 16 2018
Fairly sure this is a dup of bug 531783; we still have flex-basis be 0%
,
May 16 2018
well a combination of that one and bug 596743 |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by dholb...@gmail.com
, Feb 13 2017