Something strange with premises
tag and querySelector() / querySelectorAll()
#156
Labels
premises
tag and querySelector() / querySelectorAll()
#156
It seems the
premises
tag (or something similar likex-premises
, etc) has some strange and unexpected behavior withquerySelector()
andquerySelectorAll()
.Example:
The only difference between sample1 and sample2 is that sample1 wraps the HTML in a
premises
tag, whereas sample 2 usesfoo
. Yet the query for the color tag yields different results.Here's a Codesandbox example: https://codesandbox.io/s/node-html-parser-premises-k5z81?file=/src/index.js:43-210
The text was updated successfully, but these errors were encountered: