Added toggle for calculating sizes based on border-box vs content-box