<!DOCTYPE html>
<html>
<head>
<title>margin-trim: grid-block-start</title>
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
<link rel="help" href="https://drafts.csswg.org/css-box-4/#margin-trim-grid">
<meta name="assert" content="block-start should trim block-start margins of items on first row">
<style>
grid {
    display: inline-grid;
    border: 1px solid black;
    grid-template-columns: auto auto;
}
item {
    display: block;
    background-color: green;
    width: 50px;
    height: 50px;
}
.block-start-margin {
    margin-block-start: 10px;
}
</style>
</head>
<body>
<grid>
<item></item>
<item></item>
<item class="block-start-margin"></item>
<item class="block-start-margin"></item>
</grid>
</body>
</html>
