<!doctype html>
<title>CSSOM View - scrollIntoView aligns scrollport-covering child in both inline and block directions.</title>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/cssom-view/#dom-element-scrollintoview">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1497677">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
  #scroller {
    width: 200px;
    height: 200px;
    background-colo