rem: height = ValidateNumberString(dialog.heightInput.value, 1, maxPixels); if (height) { globalElement.setAttribute("size", height); } else globalElement.removeAttribute("size"); 
add: height = ValidateNumber(dialog.heightInput, null, 1, maxPixels, globalElement, "size", false); if (gValidationError) return false; 
context: function ValidateData(){  // Height is always pixels  height = ValidateNumberString(dialog.heightInput.value, 1, maxPixels);  if (height)  {    globalElement.setAttribute("size", height);  }  else    globalElement.removeAttribute("size");  var isPercent = (dialog.pixelOrPercentMenulist.selectedIndex == 1);  var maxLimit;  if (isPercent) {    maxLimit = 100;  } else {    // Upper limit when using pixels    maxLimit = maxPixels;  }  width = ValidateNumberString(dialog.widthInput.value, 1, maxLimit);  if (width)  {    if (isPercent)      width = width + "%";    globalElement.setAttribute("width", width);  }  else     globalElement.removeAttribute("width");  align = "left";  if (dialog.centerAlign.checked) {    align = "center";  } else if (dialog.rightAlign.checked) {    align = "right";  }  globalElement.setAttribute("align", align);  if (dialog.shading.checked) {    shading = true;    globalElement.removeAttribute("noshade");  } else {    shading = false;    globalElement.setAttribute("noshade", "");  }  return true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/c2fa3c49b1c16b046947244c53e8da3ed6bef89f/EdHLineProps.js/clean/editor/ui/dialogs/content/EdHLineProps.js