style.clearBottom();
}
if (layer.setWidth) {
setValue(layer, "width", layer.width, layer.widthUnit, false, true);
} else {
style.clearWidth();
}
if (layer.setHeight) {
setValue(layer, "height", layer.height, layer.heightUnit, true, true);
} else {
style.clearHeight();