When determining the table_cell width, table.width needs also be checked whether it equals 'auto'.