"html": "<a class=\"self-link\" href=\"https://drafts.csswg.org/css-flexbox-1/#algo-available\"></a>\n\t\t\t<strong>Determine the available main and cross space for the flex items.</strong>\n\t\t\tFor each dimension,\n\t\t\tif that dimension of the <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#flex-container\" id=\"ref-for-flex-container④⓪\">flex container</a>’s content box is a <a data-link-type=\"dfn\" href=\"https://drafts.csswg.org/css-flexbox-1/#definite\" id=\"ref-for-definite⑦\">definite size</a>, use that;\n\t\t\tif that dimension of the <span id=\"ref-for-flex-container④①\">flex container</span> is being sized under a <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-sizing-3/#min-content-constraint\" id=\"ref-for-min-content-constraint\">min</a> or <a data-link-type=\"dfn\" href=\"https://www.w3.org/TR/css-sizing-3/#max-content-constraint\" id=\"ref-for-max-content-constraint\">max-content constraint</a>,\n\t\t\tthe available space in that dimension is that constraint;\n\t\t\totherwise, subtract the <span id=\"ref-for-flex-container④②\">flex container</span>’s margin, border, and padding\n\t\t\tfrom the space available to the flex container in that dimension\n\t\t\tand use that value."
0 commit comments