-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Set Edge's expected support for clearCloneStyle to true #2857
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
|
By analyzing the blame information on this pull request, we identified @mgol, @markelog and @gibson042 to be potential reviewers |
|
This will break our CI as it runs on Edge 12. In which version of Edge has this been fixed? This will need version branching like what we had for Chrome some time ago, see 48a3549. |
|
By the way @zackhall , glad to see this bug was fixed, it was a bizarre one! |
|
@zackhall Is this a stable EdgeHTML 13 version that was released to the public or a newer build? If the stable one then branching at Thanks! |
|
Relevant - #1036
"Thank you" like that, shouldn't go unnoticed! So thank you @elijahmanor! |
|
The currently released, stable build of Edge is 13.10586 and we've verified that |
|
Does the CLA signing take some time to propogate? I just signed the CLA on the site, and it still says author has not signed the CLA. I also tried using the commit amend strategy on the CLA page. |
|
@zackhall You need to use the same email address to sign the CLA that you use in commits; they're different now. I see two signatures of you with a Gmail address and these commits use outlook.com. |
|
LGTM now, thanks! |
|
This has been backported to |
|
Thanks for the update, @mgol. |
The Microsoft Edge team noticed the following test failure in Edge from test/unit/support.js: "Verify that support tests resolve as expected per browser." If you're running the tests locally, I isolated the test with the query param
?testId=e1b3f3c8.Previous versions of Edge and IE had a bug in which cloning an element and then clearing the cloned element's style would also clear the original element's style. See #886 for an excellent and thorough analysis.
Turns out, somewhere along the line Edge fixed this bug but the unit tests expect Edge to fail still.
I've copied the code from support.js#L20 that tests the browser for this bug into a jsbin snippet. If you run it in Edge, you can now see that jQuery determines
$.support.clearCloneStyle == true.