SVG text dx, letter-spacing and word-spacing draw incorrectly when text is selected

Fixed Issue #9571247


Chris M.
Oct 28, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Fixed in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Sample SVG document (as attached):

<svg xmlns="" viewBox="0 0 500 30">
    <text x="0" y="10" letter-spacing="10" word-spacing="20">The quick brown fox</text>
    <text x="0" y="30" dx="0 10 10 30 10 10 10 10 10 30 10 10 10 10 10 30 10 10 10">The quick brown fox</text>

The two lines of text should appear identical. And they do initially; but select the text with Ctrl+A and it redraws the text very incorrectly in two different ways which I won’t bother to explain—just try it. And then if you deselect the text by clicking on the second line of text (the one using dx instead of word-spacing and letter-spacing) it breaks the text rendering for both lines in another two new ways. (Click again, or deselect by clicking elsewhere in the first place, and it goes back to rendering properly.)


1 attachment

Comments and activity

  • Also just try selecting parts of the text with the mouse and see what a mess it makes of it all!

    The text selection stuff also seems to get messed up at scale, with some parts of the technique treating it as though the SVG was appearing at 1× rather than the potentially higher number that it may be when using a viewBox.

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To from “Brad E.” to “Kevin B.”

    Changed Status to “Confirmed”

    Changed Assigned To from “Kevin B.” to “Ian P.”

    Changed Status from “Confirmed” to “In progress”

    Changed Status from “In progress” to “In code review”

  • Confirmed issue and fix is coming soon.

  • Microsoft Edge Team

    Changed Status from “In code review” to “Fixed”

  • This fix is checked in. It will be in Insider releases in the next 2 weeks and is slated for stable release in the Windows 10 Creators Update.

You need to sign in to your Microsoft account to add a comment.

Sign in