Test Case: text in cell appears to left of left margin created by cellpadding

this table is regular html and the cell has a class attribute:

padding?

this table is partly created by javascript code and the cell has a class attribute. this is where the text appears to the left of the left margin created by the cellpadding:

this table is partly created by javascript code and the cell has no class attribute. here the text obeys the cellpadding value, although there is another problem with this table that i'm filing under a separate bug report: