rem: }; }; 
add: } } 
context: qx.dom.DomScrollIntoView.scrollX = function(vElement, vAlignLeft){  var vParentWidth, vParentScrollLeft, vWidth, vHasScroll;  var vParent = vElement.parentNode;  var vOffset = vElement.offsetLeft;  var vWidth = vElement.offsetWidth;  while(vParent)  {    switch(qx.dom.DomStyle.getStyleProperty(vParent, qx.constant.Style.PROPERTY_OVERFLOW_BOTH))    {      case qx.constant.Style.OVERFLOW_BOTH:      case qx.constant.Style.OVERFLOW_AUTO:      case qx.constant.Style.OVERFLOW_MOZ_HORIZONTAL:        vHasScroll = true;        break;      default:        switch(qx.dom.DomStyle.getStyleProperty(vParent, qx.constant.Style.PROPERTY_OVERFLOW_HORIZONTAL))        {          case qx.constant.Style.OVERFLOW_BOTH:          case qx.constant.Style.OVERFLOW_AUTO:            vHasScroll = true;            break;          default:            vHasScroll = false;        };    };    if (vHasScroll)    {      vParentWidth = vParent.clientWidth;      vParentScrollLeft = vParent.scrollLeft;      if (vAlignLeft)      {        vParent.scrollLeft = vOffset;      }      else if (vAlignLeft == false)      {        vParent.scrollLeft = vOffset + vWidth - vParentWidth;      }      else if (vWidth > vParentWidth || vOffset < vParentScrollLeft)      {        vParent.scrollLeft = vOffset;      }      else if ((vOffset + vWidth) > (vParentScrollLeft + vParentWidth))      {        vParent.scrollLeft = vOffset + vWidth - vParentWidth;      };      vOffset = vParent.offsetLeft;      vWidth = vParent.offsetWidth;    }    else    {      vOffset += vParent.offsetLeft;    };    if (vParent.tagName == qx.dom.BODY_TAG_NAME) {      break;    };    vParent = vParent.parentNode;  };  return true;};
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/5b1a09c4ca80efdfbd41063412dd526cf7e711df/DomScrollIntoView.js/buggy/qooxdoo/source/script/qx/dom/DomScrollIntoView.js