Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com">
<link rel="match" href="../reference/ref-filled-green-200px-square.html">
<meta name="assert" content="Inset propeties do not apply to a statically positioned grid item.">
<style>
#grid {
display: grid;
width: 200px;
height: 200px;
background: red;
}
#item {
width: 200px;
height: 200px;
top: 200px;
left: 200px;
background: green;
}
</style>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div id="grid">
<div id="item"></div>
</div>