getComputedStyleLength

(for some reason, I think this mail keeps getting dropped; I hope it gets through this time)


The definition for getComputedTextLength() does not indicate that textLength should be taken into account, which seems to be important.  Should it?





float getComputedTextLength()

The total sum of all of the advance values from rendering all of the characters within this element, including the advance value on the glyphs (horizontal or vertical), the effect of properties 'kerning', 'letter-spacing' and 'word-spacing' and adjustments due to attributes 'dx' and 'dy' on 'tspan' elements. For non-rendering environments, the user agent shall make reasonable assumptions about glyph metrics.

Returns

The text advance distance.

Received on Wednesday, 17 November 2010 16:51:54 UTC