Returns precise text width and height - from first non-transparent pixel to the last-one, ignoring any kerning space before/after word, which is usually accounted into a getTextWidth() calculation.
Get precise text width and height from first to last non-empty pixel from a styled HTMLElement
input.
MIT