fixed-table-1.html (664B)
1 <!DOCTYPE html> 2 <link rel="help" 3 href="https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing"> 4 <link rel="help" href="https://github.com/w3c/csswg-drafts/issues/10937"> 5 <link rel="match" 6 href="../../reference/ref-filled-green-100px-square-only.html"> 7 <meta name="assert" 8 content="stretch width allows fixed-layout table mode to take effect"> 9 10 11 <p>Test passes if there is a filled green square.</p> 12 13 <div style="width: 100px;"> 14 <div 15 style="display: table; table-layout: fixed; width: stretch; background: green;"> 16 <div style="display: table-cell; width: 100px;"> 17 <div style="width: 200px; height: 100px;"></div> 18 </div> 19 </div> 20 </div>