diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-grid/grid-items/explicitly-sized-grid-item-as-table.html')
-rw-r--r-- | testing/web-platform/tests/css/css-grid/grid-items/explicitly-sized-grid-item-as-table.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-grid/grid-items/explicitly-sized-grid-item-as-table.html b/testing/web-platform/tests/css/css-grid/grid-items/explicitly-sized-grid-item-as-table.html new file mode 100644 index 0000000000..53a0979622 --- /dev/null +++ b/testing/web-platform/tests/css/css-grid/grid-items/explicitly-sized-grid-item-as-table.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<title>CSS Grid Layout Test: Explicitly sized grid item as table with narrow contents</title> +<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> +<link rel="help" href="https://www.w3.org/TR/css-grid-1/#grid-track-concept" title="3.2. Grid Tracks and Cells"> +<meta name="assert" content="A grid item as a table uses the sizing algorithm of the grid"> +<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html"> +<p>Test passes if there is a filled green square.</p> +<div style="display:grid; grid-template-columns:50% 50%; width:200px;"> + <div style="display:table; background:green;"> + <div style="width:10px; height:100px;"></div> + </div> +</div> |