ion: rtl;
}
</style>
<script src="/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="align-self: start;" data-expected-width="20" data-offset-x="0"></div>
</div>

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

<div class="container">
  <div c