Closed calebdwilliams closed 1 year ago
this is a great change. In components where the scoped elements registry is used, if the value of those functions isn't returned, other mixins/polyfills like the element-internals-polyfill
which also polyfills ElementInternals aspects won't be able to function properly.
@calebdwilliams thanks! Any chance of adding a test for this?
@calebdwilliams you need to update the CHANGELOG for scoped-custom-element-registry
Cool. I’ll take a crack at those tonight.
Updated the PR with a CHANGELOG entry and added a test.
…rototype methods in polyfill
This fixes an issue where the scoped custom element registry polyfill fails to return the value of a polyfilled internals method.