table-as-item-specified-width.html (851B)
1 <!DOCTYPE html> 2 <title>table is flex item</title> 3 <link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org"> 4 <link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#layout-algorithm" title="9. Flex Layout Algorithm"> 5 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#used-min-width-of-table"> 6 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 7 <meta name="assert" content="Table's specified width does not count as another min-width for the purposes of the flexbox algorithm."> 8 9 <p>Test passes if there is a filled green square.</p> 10 11 <!-- This test passed until Chrome 84 but has been broken since. 12 Firefox fixed this test since version 87. --> 13 14 <div style="display: flex;"> 15 <div style="display: table; width: 500px; height: 100px; background: green; flex: 0 0 100px;"></div> 16 </div>