You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
describe('SVGElement',function(){it('should be polyfilled',function(){constdiv=document.createElement('div');constsvg=document.createElementNS('http://www.w3.org/2000/svg','svg');div.attachShadow({mode: 'open'});div.shadowRoot.appendChild(document.createElement('slot'));div.appendChild(svg);expect(svg.parentNode).to.equal(div);});});
We probably don't need to test all methods and properties like we do on HTMLElement, but we should ensure that the polyfilled methods on SVGElement equal the methods on HTMLElement.
The text was updated successfully, but these errors were encountered:
Test to reproduce:
We probably don't need to test all methods and properties like we do on
HTMLElement
, but we should ensure that the polyfilled methods onSVGElement
equal the methods onHTMLElement
.The text was updated successfully, but these errors were encountered: