Steps to reproduce
Since Edge 15
querySelectorAll('option[selected]') returns no results for a
<select multiple> element. If the same code is run with the devtools opened, the results will actually be correct.
A small reproduction can be found here: https://jsfiddle.net/5oskefbg/1/
The expected number in the alert is 2 but the actual alert shows 0. If the fiddle is run with the devtools open, the expected output is shown.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Travis L.”
Changed Status to “Confirmed”
Changed Assigned To from “Travis L.” to “Kris K.”