-
Notifications
You must be signed in to change notification settings - Fork 20.6k
Attributes: fix setting selected on an option in IE<=11 #2840
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
Conversation
@@ -79,6 +79,12 @@ jQuery.extend( { | |||
} | |||
} ); | |||
|
|||
// Support: IE<=11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about Edge? I'd love all new IE-specific stuff to be tested on Edge and if the bug is not present there to write IE <= 11 only
.
Adding spaces around <=
would be good as well, that's where the conventions seem to go currently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Edge is ok. Updated comment, but the syntax says there's no space after the <=
, so it's
IE <=11 only
.
Can the |
Going even further, can get and set use the same method? |
I suppose they can, but notice that the getter doesn't access |
Yeah, I doubt an extra access will make that much difference. Since it's already guarded by a support test, only IE will pay that penalty anyway. |
Actually, they can't be the same function. The getter needs to return |
Fixes gh-2732