return new Dimension(imageWidth, imageHeight);
}
}
@Override
public void reset(int availWidth, int availHeight) {
<BUG>int dw = HtmlValues.getOldSyntaxPixelSize(String.valueOf(imageWidth), availWidth, -1);

int dh = HtmlValues.getOldSyntaxPixelSize(String.valueOf(imageHeight), availHeight, -1);
</BUG>
this.declaredWidth = dw;

return new Dimension(imageWidth, imageHeight);
}
}
@Override
public void reset(int availWidth, int availHeight) {
int dw = HtmlValues.getPixelSize(String.valueOf(imageWidth), null, -1, availWidth);
int dh = HtmlValues.getPixelSize(String.valueOf(imageHeight), null, -1, availHeight);
this.declaredWidth = dw;
