- From: Herst via GitHub <sysbot+gh@w3.org>
- Date: Mon, 01 Jan 2018 14:52:24 +0000
- To: public-svg-issues@w3.org
> (For your "polyfill" of this, the most straight-forward would probably be to use getComputedTextLength(): https://svgwg.org/svg2-draft/text.html#__svg__SVGTextContentElement__getComputedTextLength) It is worth point out that the return value of `getComputedTextLength()` might not include changes made by `textLength` and differ between browsers in different ways since the standard is not very clear on this (_"user agent's calculation for 'textLength'"_), see: https://crbug.com/793965#c5 so it's best not to rely on this method for anything but the most trivial tasks. -- GitHub Notification of comment by Herst Please view or discuss this issue at https://github.com/w3c/svgwg/issues/341#issuecomment-354657187 using your GitHub account
Received on Monday, 1 January 2018 14:52:28 UTC