i);
      }
    }, "Various combinations of height, depth and width.");

    test(function() {
      var container = document.getElementById("containerForPreferredWidth");
      var mpadded = container.getElementsByTagName("mpadded")[0];
      var containerWidth = container.getBoundingClientRect().width;
      var mpaddedWidth = mpadded.getBoundingClientRect().width;
      assert_approx_equals(containerWidth, mpaddedWidth, epsilon);
    }, "Preferred width");

    // Dynamically set attributes.
    ["width"