- From: Nikos Andronikos via GitHub <sysbot+gh@w3.org>
- Date: Mon, 08 Aug 2016 11:14:22 +0000
- To: public-svg-issues@w3.org
nikosandronikos has just labeled an issue for https://github.com/w3c/svgwg as "DoC_positiveResponse": == Specify if `getComputedTextLength()` should return a float or an integer == [The `getComputedTextLength` method](http://www.w3.org/TR/SVG2/text.html#__svg__SVGTextContentElement__getComputedTextLength) (and by proxy, the `getSubStringLength` method) only specify returning a number in user units. Current implementations differ: Chrome and WebKit return integers, and Firefox and IE/Edge return floats. It would be better to return a float; depending on viewport dimensions and transformations, an integer can be very inaccurate. See https://github.com/w3c/svgwg/issues/25
Received on Monday, 8 August 2016 11:14:31 UTC