Adjacent sibling selector does not work in querySelector
, when <select>
element is involved.
#1532
Labels
bug
Something isn't working
Describe the bug
Since version 15 of happy-dom i see strange behavior when using the adjacent sibling selector (
+
), when aselect
element is involved. When selecting'E1 + E2'
, happy-dom does not findE2
ifE1
is a<select>
Element.To Reproduce
Execute the following script:
It outputs:
Expected behavior
The expected output is:
Device:
The text was updated successfully, but these errors were encountered: