Alignment change is only applied to a tspan instead of the text element when text is selected
#### Steps to reproduce: <!-- Describe what you did (step-by-step) so we can reproduce: --> - open Inkscape - create a flowed text - type two lines - select all and align it at the center (text-alignment) - save the file and view it in a browser #### What happened? The text is displaced. The red dot indicates the center of the text and is at the coordinate of the first `tspan`: `x=35.9`. | example file | Inkscape | Firefox | Chrome | | ------ | ------ | ------ | ------ | | ![bad-alignment.svg](/uploads/059afae09303a939baa8af4c21b3fe09/bad-alignment.svg) |![bad-alignment](/uploads/24a3f0d56057f051bc21c45a5528cd41/bad-alignment.png) | ![image](/uploads/f5cf63032fb20a137b270bb619baf363/image.png) | ![image](/uploads/55a2256c0ca6f991974ca3d6c7fe0d1b/image.png) | #### What should have happened? The text should not be displaced. Eliminating the `text-anchor=middle` attribute of the tspans creates a file which is rendered identically in Inkscape and browsers: | example file | Inkscape | Firefox | Chrome | | ------ | ------ | ------ | ------ | | ![bad-alignment_fix.svg](/uploads/4882729331a217f086806b2868d7a649/bad-alignment_fix.svg)| ![bad-alignment_fix](/uploads/fcc29d5f6c58b35ff8aea896fad5f43a/bad-alignment_fix.png) | ![image](/uploads/d16bf250e596836f07c6f94d8bab8dc0/image.png) | ![image](/uploads/53490620c2bc4b15aa218b93749301fd/image.png) | Not sure if the Inkscape or the browsers violate the standard. Pinging @Tavmjong who probably knows more about that. In any case, this looks like an easy fix to make the rendering more consistent. PS: The example https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-anchor is rendered correctly in Inkscape. #### Inkscape Version and Operating System: * Inkscape Version: 1.1-dev (1bfe461, 2020-02-06) * Operating System: Windows 10 * Operating System version: 10.0.18362
issue