7 lines
457 B
HTML
7 lines
457 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://drafts.csswg.org/css-grid/#abspos">
|
|
<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: 200px; grid-template-rows: 200px; max-width: 100px; max-height: 100px; position: relative;">
|
|
<div style="background: green; position: absolute; width: 100%; height: 100%;"></div>
|
|
</div>
|