Closed CreativeTechGuy closed 2 years ago
If a shadow root host (eg: an element which has the .shadowRoot property non-null) is passed to within(), the queries don't work. I assume this is related to #20 since if I change within(elem) to within(elem.shadowRoot) it works.
.shadowRoot
within()
within(elem)
within(elem.shadowRoot)
If a shadow root host (eg: an element which has the
.shadowRoot
property non-null) is passed towithin()
, the queries don't work. I assume this is related to #20 since if I changewithin(elem)
towithin(elem.shadowRoot)
it works.