uapmd_tl_calculate_content_bounds