Setting Colspan Dynamically

The following example shows that Safari (v1.1.1) does not properly set the colspan attribute of a td, using setAttribute.

Item Price
3 Socks $10
12 bears $24

Mozilla (v1.4) gets this right. IE (v6) for Windows only gets this right using colSpan instead of colspan.