explicitly-sized-grid-item-as-table.html (720B)
1 <!DOCTYPE html> 2 <title>CSS Grid Layout Test: Explicitly sized grid item as table with narrow contents</title> 3 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 4 <link rel="help" href="https://www.w3.org/TR/css-grid-1/#grid-track-concept" title="3.2. Grid Tracks and Cells"> 5 <meta name="assert" content="A grid item as a table uses the sizing algorithm of the grid"> 6 <link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> 7 <p>Test passes if there is a filled green square.</p> 8 <div style="display:grid; grid-template-columns:50% 50%; width:200px;"> 9 <div style="display:table; background:green;"> 10 <div style="width:10px; height:100px;"></div> 11 </div> 12 </div>