rc="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>

<body onload="checkLayout('.item')">

<div class="container">
  <div class="item" style="justify-self: start;" data-expected-width="20" data-offset-x="20"></div>
</div>

<div class="container">
  <div class="item" style="justify-self: center;" data-expected-width="20" data-offset-x="10"></div>
</div>

<div class="container">
  <div class="item" style="justif