title: DOM NamedNodeMap.removeNamedItem() does not work for 'style' attribute in Microsoft Edge?
body: <p>I ran into a strange bug (feature?) of <code>NamedNodeMap.removeNamedItem()</code> running in Microsoft Edge:</p>
  
  <p>I can use <code>removeNamedItem()</code> to remove most element attributes, but it does not remove the <code>style</code> attribute.</p>
  
  <p>Consider this HTML:</p>
  
  <pre><code>&lt;div id="test" class="some classes" style="font-weight:bold;"&gt;test div&lt;/div&gt;
  </code></pre>
  
  <p>This JavaScript code removes the <code>class</code> attribute, but not the <code>style</code> attribute:</p>
  
  <pre><code>var div = document.getElementById('test');
  
  div.attributes.removeNamedItem('class');  ← works
  div.attributes.removeNamedItem('style');  ← doesn't work
  </code></pre>
  
  <p>To reproduce: <a href="https://jsbin.com/pijecihomo/1/edit?html,js,output" rel="nofollow noreferrer">https://jsbin.com/pijecihomo/1/edit?html,js,output</a></p>
  
  <p>Is this a known limitation documented somewhere? Are there any other "special" attributes that cannot be removed?</p>