0);
    }, "no specified sizing attrs (after setting & removing them)");


    // Just setting viewBox:
    test(function() {
        svgElem.setAttribute("viewBox", "0 0 10 8");
        expect_svg_width_and_height(500, 400);
    }, "set a 10x8 viewBox");
    test(function() {
        // Adjusting already-set viewBox:
        svgElem.setAttribute("viewBox", "0 0 50 10");
        expect_svg_width_and_height(500, 100);
    }, "modified viewBox to 50x20");
    test(function() {
        svgElem.setAttribute("wi