Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Sorry for flame, but most correct way is probably:
for(var i in elements) {
var element = elements[i];
if(typeof(element) == 'function')
continue;
var fixedWidth = (parseInt(element.runtimeStyle.width) ==
getFixedWidth(element, element.currentStyle.minWidth));
if (wider && fixedWidth) element.runtimeStyle.width = "";
if (wider == fixedWidth) resizeWidth(element);
}
Original comment by scham...@gmail.com
on 27 Mar 2009 at 1:09
Can you post a test case please? I won't include any code without a test case
to test
against.
Original comment by dean.edw...@gmail.com
on 11 Feb 2010 at 6:18
Original issue reported on code.google.com by
scham...@gmail.com
on 27 Mar 2009 at 12:43