context: qx.ui.core.Widget.initApplyMethods = function(){  var f = "_applyRuntime";  var r = "_resetRuntime";  var s = "this._style.";  var e = "=qx.constant.Core.EMPTY";  var v = "=v+qx.constant.Core.PIXEL";  var vpar = "v";  var props = ["left", "right", "top", "bottom", "width", "height",               "minWidth", "maxWidth", "minHeight", "maxHeight"];  var propsup = ["Left", "Right", "Top", "Bottom", "Width", "Height",                 "MinWidth", "MaxWidth", "MinHeight", "MaxHeight"];  for (var i=0, fn=f+"Margin", rn=r+"Margin", sp=s+"margin"; i<4; i++)  {    qx.Proto[fn+propsup[i]] = new Function(vpar, sp + propsup[i] + v);    qx.Proto[rn+propsup[i]] = new Function(sp + propsup[i] + e);  }  var pad = "padding";  var upad = "Padding";  if (qx.sys.Client.getInstance().isGecko())  {    for (var i=0, fn=f+upad, rn=r+upad, sp=s+pad; i<4; i++)    {      qx.Proto[fn+propsup[i]] = new Function(vpar, sp + propsup[i] + v);      qx.Proto[rn+propsup[i]] = new Function(sp + propsup[i] + e);    }  }  else  {    // need to use setStyleProperty to keep compatibility with enhanced cross browser borders    var s1="this.setStyleProperty('padding";    var s2="', v+'px')";    var s3="this.removeStyleProperty('padding";    var s4="')";    for (var i=0, fn=f+upad, rn=r+upad, sp=s+pad; i<4; i++)    {      qx.Proto[fn+propsup[i]] = new Function(vpar, s1 + propsup[i] + s2);      qx.Proto[rn+propsup[i]] = new Function(s3 + propsup[i] + s4);    }  }  /*    Use optimized method for internet explorer    to omit string concat and directly setup    the new layout property.    We could not use this to reset the value however.    It seems that is just doesn't work this way. And the    left/top always get priority. Tried: "", null, qx.constant.Core.AUTO.    Nothing helps.    Now I've switched back to the conventional method    to reset the value. This seems to work again.  */  if (qx.sys.Client.getInstance().isMshtml())  {    for (var i=0, tpos="pos", vset="=v"; i<6; i++)    {      // to debug the values which will be applied use this instead of the      // first line:      // qx.Proto[f+propsup[i]] = new Function(vpar, "this.debug('v: ' + v); " + s + tpos + propsup[i] + vset);      qx.Proto[f+propsup[i]] = new Function(vpar, s + tpos + propsup[i] + vset);      qx.Proto[r+propsup[i]] = new Function(s + props[i] + e);    }  }  else  {    for (var i=0; i<10; i++)    {      // to debug the values which will be applied use this instead of the      // first line:      // qx.Proto[f+propsup[i]] = new Function(vpar, "this.debug('v: ' + v); " + s + props[i] + v);      qx.Proto[f+propsup[i]] = new Function(vpar, s + props[i] + v);      qx.Proto[r+propsup[i]] = new Function(s + props[i] + e);    }  }}
meta: 1005	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1005/32797ee18a2c92a797417cb1392f24fa90943b97/Widget.js/buggy/qooxdoo/frontend/framework/source/class/qx/ui/core/Widget.js