rem: }; }; 
add: } } 
context: qx.dom.DomScrollIntoView.scrollY = function(vElement, vAlignTop){  var vParentHeight, vParentScrollTop, vHeight, vHasScroll;  var vParent = vElement.parentNode;  var vOffset = vElement.offsetTop;  var vHeight = vElement.offsetHeight;  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_VERTICAL:        vHasScroll = true;        break;      default:        switch(qx.dom.DomStyle.getStyleProperty(vParent, qx.constant.Style.PROPERTY_OVERFLOW_VERTICAL))        {          case qx.constant.Style.OVERFLOW_BOTH:          case qx.constant.Style.OVERFLOW_AUTO:            vHasScroll = true;            break;          default:            vHasScroll = false;        };    };    if (vHasScroll)    {      vParentHeight = vParent.clientHeight;      vParentScrollTop = vParent.scrollTop;      if (vAlignTop)      {        vParent.scrollTop = vOffset;      }      else if (vAlignTop == false)      {        vParent.scrollTop = vOffset + vHeight - vParentHeight;      }      else if (vHeight > vParentHeight || vOffset < vParentScrollTop)      {        vParent.scrollTop = vOffset;      }      else if ((vOffset + vHeight) > (vParentScrollTop + vParentHeight))      {        vParent.scrollTop = vOffset + vHeight - vParentHeight;      };      vOffset = vParent.offsetTop;      vHeight = vParent.offsetHeight;    }    else    {      vOffset += vParent.offsetTop;    };    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