, "height", "depth"].forEach(function (name, index) {
        document.getElementById("dynamic-remove").removeAttribute(name);
        let length = `${50 + index * 10}px`;
        document.getElementById("dynamic-attach").setAttribute(name, length);
        document.getElementById("dynamic-modify").setAttribute(name, length);
    });
    let baseline = getBox("baseline2").bottom;

    test(function() {
        let remove = getBox("dynamic-remove");
        assert_approx_equals(remove.width, 0, epsilon);
   