Created attachment 282791 [details] getCharNumAtPosition work for first glyph only Method SVGTextElement.getCharNumAtPosition doesn't work correctly when SVGTextElement contains SVGTextPathElement. Steps to reproduce: 1. Create SVG with textPath element (see tutorial http://tutorials.jenkov.com/svg/textpath-element.html) 2. Call SVGTextElement.getCharNumAtPosition method to get char index by specified x, y position See online example http://mamchur.net/issues/getCharNumAtPositionIssue/index.html Just press "Monte Carlo Hit Test" several times & observe issue Actual Results: SVGTextElement.getCharNumAtPosition returns -1 and 0 values only Expected Results: See https://www.w3.org/TR/SVG/text.html#__svg__SVGTextContentElement__getCharNumAtPosition