20 lines
664 B
HTML
20 lines
664 B
HTML
<!DOCTYPE html>
|
|
<link rel="help"
|
|
href="https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing">
|
|
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/10937">
|
|
<link rel="match"
|
|
href="../../reference/ref-filled-green-100px-square-only.html">
|
|
<meta name="assert"
|
|
content="stretch width allows fixed-layout table mode to take effect">
|
|
|
|
|
|
<p>Test passes if there is a filled green square.</p>
|
|
|
|
<div style="width: 100px;">
|
|
<div
|
|
style="display: table; table-layout: fixed; width: stretch; background: green;">
|
|
<div style="display: table-cell; width: 100px;">
|
|
<div style="width: 200px; height: 100px;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|