rem: if (TableCaptionElement.vAlign == "bottom") 
add: if (GetHTMLOrCSSStyleValue(TableCaptionElement, "align", "caption-side") == "bottom") 
context: function InitDialog(){// turn on Button3 to be "apply"  var applyButton = document.getElementById("Button3");  if (applyButton)  {    applyButton.label = GetString("Apply");    applyButton.removeAttribute("collapsed");  }    // Get Table attributes  gDialog.TableRowsInput.value = rowCount;  gDialog.TableColumnsInput.value = colCount;  gDialog.TableWidthInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "width", "TableWidthUnits", gPercent);  if (gUseCSS) {    gDialog.TableHeightInput.value = InitPixelOrPercentMenulist(globalTableElement, TableElement, "height",                                                                "TableHeightUnits", gPercent);  }  gDialog.BorderWidthInput.value = globalTableElement.border;  gDialog.SpacingInput.value = globalTableElement.cellSpacing;  gDialog.PaddingInput.value = globalTableElement.cellPadding;  var marginLeft  = GetHTMLOrCSSStyleValue(globalTableElement, "align", "margin-left");  var marginRight = GetHTMLOrCSSStyleValue(globalTableElement, "align", "margin-right");  var halign = marginLeft.toLowerCase() + " " + marginRight.toLowerCase();  if (halign == "center center" || halign == "auto auto")    gDialog.TableAlignList.selectedIndex = 1;  else if (halign == "right right" || halign == "auto 0px")    gDialog.TableAlignList.selectedIndex = 2;  else // Default = left    gDialog.TableAlignList.selectedIndex = 0;  // Be sure to get caption from table in doc, not the copied "globalTableElement"  TableCaptionElement = TableElement.caption;  var index = 0;  if (TableCaptionElement)  {    // Note: Other possible values are "left" and "right",    //  but "align" is deprecated, so should we even support "botton"?    if (TableCaptionElement.vAlign == "bottom")      index = 2;    else      index = 1;  }  gDialog.TableCaptionList.selectedIndex = index;  TableColor = GetHTMLOrCSSStyleValue(globalTableElement, bgcolor, cssBackgroundColorStr);  TableColor = ConvertRGBColorIntoHEXColor(TableColor);  SetColor("tableBackgroundCW", TableColor);  InitCellPanel();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/83ff63f27aaafd1b0129c944eec240e9ab92d88a/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js