Closed dmondev closed 3 years ago
queryAssignedNodes throws A "TypeError: Illegal invocation" when slotted content contains text nodes.
https://webcomponents.dev/edit/FXrFMojSYzYa8eJNaJzh
my-element
No error is throw
TypeError: Illegal invocation is thrown
Uses the default/current version in https://webcomponents.dev
Acknowledged. This is due to a typo in the code and there's obviously not a good test for this. We'll work on getting it fixed. Thanks.
Description
queryAssignedNodes throws A "TypeError: Illegal invocation" when slotted content contains text nodes.
Live Demo
https://webcomponents.dev/edit/FXrFMojSYzYa8eJNaJzh
Steps to Reproduce
my-element
with child nodes containing text.Expected Results
No error is throw
Actual Results
TypeError: Illegal invocation is thrown
Browsers Affected (Haven't tested in other browsers)
Versions
Uses the default/current version in https://webcomponents.dev