-
Notifications
You must be signed in to change notification settings - Fork 20.6k
CSS: Don't auto-append "px" to CSS variables #4064
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
@@ -246,7 +246,9 @@ jQuery.extend( { | |||
} | |||
|
|||
// If a number was passed in, add the unit (except for certain CSS properties) | |||
if ( type === "number" ) { | |||
// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append |
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.
Is there a url we can reference for this statement/plan?
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.
Once this PR lands I'll rebase #4055 and add a removal of this part there so I just need to remember about it until that moment. :)
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.
I landed this PR & rebased PR #4055, reverting this fix there.
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.
LGTM
Fixes gh-4063
Summary
Fixes gh-4063
Checklist
If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com