blob: d014a22e7a0f0d832bd37b44b1a0e22608367982 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Grid Layout Test: Content Distribution and the track sizing algorithm</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="">
<link rel="help" href="">
<link rel="help" href="">
<link rel="help" href="">
<link rel="stylesheet" href="../../support/alignment.css">
<meta name="flags" content="ahem">
<meta name="assert" content="Content Distribution on the inline-axis may affect to the row track's size.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
.grid {
display: inline-grid;
background: grey;
grid-template-columns: 50px 50px;
font: 20px/1 Ahem;
width: 200px;
.item {
grid-column: span 2;
background: green;
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.grid')">
<div class="grid justifyContentSpaceBetween" data-expected-width="200" data-expected-height="40">
<div class="item" data-expected-width="200" data-expected-height="40">XXX XX X XX X XXX</div>