allow to default to offsetHeight/offsetWidth