title: Centering SVG text on IE11 with text-anchor: middle and alignment-baseline: middle / central
body: <p>I need to perfectly center a text element in an SVG using IE11.</p>
  
  <p>Desired result (all Evergreen browsers):
  <a href="https://i.stack.imgur.com/IHNGb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/IHNGb.png" alt="enter image description here"></a></p>
  
  <p>IE11 result:
  <a href="https://i.stack.imgur.com/adKRR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/adKRR.png" alt="enter image description here"></a></p>
  
  <p>// SVG CODE:</p>
  
  <pre><code>&lt;svg xmlns="http://www.w3.org/2000/svg" width=100% height="100%" viewBox="0 0 130 130"&gt;
      &lt;circle fill="dodgerblue" cx="50%" cy="50%" r="65"&gt;&lt;/circle&gt;
      &lt;text text-anchor="middle"
          alignment-baseline="central"
          font-size="75"
          font-family="Arial"
          x="50%" y="50%"&gt;1&lt;/text&gt;
    &lt;/svg&gt;
  </code></pre>
  
  <p><a href="https://codepen.io/craig-o-curtis/pen/WMXqwe" rel="noreferrer">Codepen</a></p>