e>
  body {
    margin: 0;
  }

  div {
    height: 100px;
    width: 100px;
  }

  #outer {
    transform: translate(100px, 100px);
  }

  #inner {
    transform: scale(0.5);
    transform-origin: center;
  }
</style>

<div id="outer">
  <div>
    <div id="inner"></div>
  </div>
</div>

<script>
  test(function() {
    let bcr = document.getElementById("inner").getBoundingClientRect();
    assert_equals(bcr.x, 125);
    assert_equals(bcr.y, 125);
  }, "correct getBoundingClientRect() result within set of t