webcomponents / polyfills

Web Components Polyfills
BSD 3-Clause "New" or "Revised" License
1.13k stars 165 forks source link

Add Element.toggleAttribute() polyfill and support in Shady DOM #541

Closed justinfagnani closed 1 year ago

justinfagnani commented 1 year ago

Added some tests. I think this is mostly in the right shape now, except for actually adding a toggleAttribute() polyfill for IE. The tests at least cover toggleAttribute() patching behavior in browsers that have it natively.

justinfagnani commented 1 year ago

Ready for review!