 <div id="element2" style="transform: translateY(30px);" class="element"></div>
</div>

<div id="container3" class="container">
  <div id="element3" style="transform: translate(20px, 30px);" class="element"></div>
</div>

<div id="toremove1"></div>
<div id="toremove2"></div>
<div id="toremove3"></div>

<script>
  test(() => {
    assert_equals(container1.scrollWidth, 100);
    document.body.removeChild(toremove1);
    element1.style.transform = "translateX(200px)";
    assert_equals(container1.scrollWidth, 