ndor.js"></script>
<script src="/resources/testdriver-actions.js"></script>
<script src="../../resources/focusgroup-utils.js"></script>

<ul focusgroup=inline>
  <li id=item1 tabindex="-1">
    <ul focusgroup=block>
      <li id=item2 tabindex="-1">item2</li>
    </ul>
  </li>
</ul>

<script>

  promise_test(async t => {
    var item2 = document.getElementById("item2");

    await focusAndKeyPress(item2, kArrowLeft);
    assert_equals(document.activeElement, item2);
  }, "When the focus is set on the first 