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

CSS: Drop the float mapping from cssProps #3569

Merged
merged 1 commit into from May 6, 2017
Merged

CSS: Drop the float mapping from cssProps #3569

merged 1 commit into from May 6, 2017

Conversation

@mgol
Copy link
Member

@mgol mgol commented Mar 15, 2017

Summary

Firefox 35 and newer support style.float directly so we don't have to map float to cssFloat any more.

Maybe we could deprecate jQuery.cssProps? It's not documented and we now removed its last reason to exist from the Core point of view.

Checklist

Mark an [x] for completed items, if you're not sure leave them unchecked and we can assist.

Thanks! Bots and humans will be around shortly to check it out.

Firefox 35 and newer support style.float directly.
@mgol mgol self-assigned this Mar 15, 2017
@mention-bot
Copy link

@mention-bot mention-bot commented Mar 15, 2017

@mgol, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dmethvin, @markelog and @mikesherov to be potential reviewers.

@timmywil
Copy link
Member

@timmywil timmywil commented Mar 15, 2017

@mgol Were you thinking you'd like to get this into 3.2?

@markelog
Copy link
Member

@markelog markelog commented Mar 15, 2017

It was done only for firefox? Good catch then! I think we should deprecate it if that's the case

@mgol
Copy link
Member Author

@mgol mgol commented Mar 15, 2017

@timmywil It doesn't matter; if it got enough LGTMs then fine but if not it may wait. It doesn't cause any observable difference for jQuery users.

It was done only for firefox? Good catch then! I think we should deprecate it if that's the case
👍 1

For Firefox but in jQuery 1.x also for IE <9 as they use styleFloat: https://github.com/jquery/jquery/blob/1.12-stable/src/css.js#L260-L266

@timmywil timmywil added this to the 3.3.0 milestone Mar 27, 2017
@mgol mgol merged commit bbf3342 into jquery:master May 6, 2017
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
licence/cla Contributor License Agreement is signed.
Details
@mgol mgol deleted the mgol:cssFloat branch May 6, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants