ame = "collapsed";
    return (new Promise((resolve) => outer.addEventListener("transitionend", resolve))).then(() => {
      assert_equals(getComputedStyle(inner).height, "0px");
    });
  }, "Transitioned height, explicitly inherited down two DOM levels, should inherit correctly");
</script>
