| <!DOCTYPE html> |
| <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> |
| <link rel="help" href="https://drafts.csswg.org/css-position/#insets"> |
| <link rel="help" href="https://github.com/servo/servo/issues/39399"> |
| <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> |