Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

(Not)Displaying SVG in IE 11 or Edge

$
0
0

Hello,

Why can’t IE 11 / Edge display SVG file with this content (and other browsers can)? :

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<svg xmlns="http://www.w3.org/2000/svg" width="1910" height="939" viewBox="3450867.430 5482270.620 485.140 238.760" style="border: 1px solid #cccccc;">

  <polyline points="3451080.000,5482350.000,3451080.000,5482430.000,3451110.000,5482390.000,3451140.000,5482430.000,3451140.000,5482350.000" fill="none" stroke="#00FF00" stroke-width="0.508" stroke-dasharray="1.524 1.016" stroke-opacity="1"/>

</svg>

 

But this SVG is displayed well:

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<svg xmlns="http://www.w3.org/2000/svg" width="1910" height="940" viewBox="3450864.903 5482269.376 490.194 241.247" style="border: 1px solid #cccccc;">

  <polyline points="3451080.000,5482350.000,3451080.000,5482430.000,3451110.000,5482390.000,3451140.000,5482430.000,3451140.000,5482350.000" fill="none" stroke="#00FF00" stroke-width="0.513" stroke-dasharray="1.540 1.027" stroke-opacity="1"/>

</svg>

 

Is something wrong in viewBox?

Thank you for answers.

Best regards

 

Jaroslav Omasta


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>