<!DOCTYPE html>
<html>
<head>
<title>margin-trim: grid-inline</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">
<link rel="match" href="/css/reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="inline should trim inline-start margin of items on first column and inline-end margins of items on last column">
<style>
grid {
    display: inline-grid;
    grid-template-columns: