A library for measuring DOM elements and text