Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use .querySelector(':checked') instead of .selectedOptions, enable several <select> tests #542

Merged
merged 1 commit into from
May 1, 2017

Conversation

Zirro
Copy link
Contributor

@Zirro Zirro commented May 1, 2017

Fixes #539.

For better compatibility with older browsers (and jsdom before v10). I made a few changes to the tests which were previously disabled, resolving inconsistencies which I assume came about since they didn't run in the first place. You may wish to verify that my assumptions are accurate, though.

While I've updated it to add the multiple attribute, the binding-select-multiple test is still failing in jsdom. I think I may have found the cause and will investigate further.

I've also tested the code in Firefox, Chrome and Safari. I'm not able to boot a Windows VM at the moment, so I'm hoping that IE and Edge behave as they should here.

@Rich-Harris Rich-Harris merged commit bd82455 into sveltejs:master May 1, 2017
@Rich-Harris
Copy link
Member

Excellent, thanks so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants