width/height uses container dimensions as fallback