etElementById('ref');

        // Force initial layout.
        assert_greater_than(one.offsetWidth, ref.offsetWidth);

        // Display two's colgroup and hide one's.
        document.getElementById('displayable').style.display = 'table-column';
        document.getElementById('hideable').style.display = 'none';

        // Both tables should now match the reference.
        assert_equals(one.offsetWidth, ref.offsetWidth);
        assert_equals(two.offsetWidth, ref.offsetWidth);
    }, "Table recalculati