rem:  if (dialog.RowSpanCheckbox.checked && dialog.RowSpanCheckbox.getAttribute("disabled") != "true") CloneAttribute(destElement, globalCellElement, "rowspan");  if (dialog.ColSpanCheckbox.checked && dialog.ColSpanCheckbox.getAttribute("disabled") != "true") CloneAttribute(destElement, globalCellElement, "colspan"); 
context: function ApplyAttributesToOneCell(destElement){  if (dialog.CellHeightCheckbox.checked)    CloneAttribute(destElement, globalCellElement, "height");  if (dialog.CellWidthCheckbox.checked)    CloneAttribute(destElement, globalCellElement, "width");  if (dialog.RowSpanCheckbox.checked && dialog.RowSpanCheckbox.getAttribute("disabled") != "true")    CloneAttribute(destElement, globalCellElement, "rowspan");  if (dialog.ColSpanCheckbox.checked && dialog.ColSpanCheckbox.getAttribute("disabled") != "true")    CloneAttribute(destElement, globalCellElement, "colspan");  if (dialog.CellHAlignCheckbox.checked)  {    CloneAttribute(destElement, globalCellElement, "align");    CloneAttribute(destElement, globalCellElement, charStr);  }  if (dialog.CellVAlignCheckbox.checked)    CloneAttribute(destElement, globalCellElement, "valign");  if (dialog.TextWrapCheckbox.checked)    CloneAttribute(destElement, globalCellElement, "nowrap");  if (dialog.CellStyleCheckbox.checked)  {    var newStyleIndex = dialog.CellStyleList.selectedIndex;    var currentStyleIndex = (destElement.nodeName.toLowerCase() == "th") ? 1 : 0;    if (newStyleIndex != currentStyleIndex)    {      // Switch cell types      // (replaces with new cell and copies attributes and contents)      destElement = editorShell.SwitchTableCellHeaderType(destElement);    }  }  if (dialog.CellColorCheckbox.checked)    CloneAttribute(destElement, globalCellElement, "bgcolor");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6f169fbb60610b5cb36fe3631feae43e45cc3c1b/EdTableProps.js/buggy/editor/ui/dialogs/content/EdTableProps.js