SVG does not support xml:space="preserve"

Confirmed Issue #817824 • Assigned to Kurt C.

Details

Created
Sep 11, 2014
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

http://stackoverflow.com/questions/25685680/svg-tspan-rendering-differences-bug-in-ie-or-chrome-or-both

  1. Open http://jsfiddle.net/rg6od7u9/
  2. IE does not render like FF\Chrome

Expected Results:

Like in Chrome/Firefox

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Bogdan B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Bogdan B.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Bogdan B.”

      Changed Status from “Won’t fix”

      Changed Title from “The implementation of SVG in Internet Explorer (all versions to date) does not support xml:space="preserve"” to “SVG does not support xml:space="preserve"”

      Changed Assigned To from “Bogdan B.” to “Kurt C.”

      Changed Status to “Confirmed”

    • The SVG 2.0 draft deprecates xml:space in favor of CSS white-space property. Deprecate does not mean abandon, and the 2.0 spec still wants support for xml:space so that SVG 1.1 files will display correctly. Many illustration programs set preserve so users are not confused by disappearing spaces.

      Here’s a test fragment that can embed in HTML:

          
      
    • Well, the above result was a shock: the SVG showed as text in the preview, but it displays as SVG in the result. I’ll try to make it work.

      
      
      
    • That didn’t work, either. I though I entered XML without trouble in the past…

    • Try without backquotes:

    • I give up. The preview tab does not match the end result. Where does one report that bug?

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

    Sign in