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: Document no auto-appending px in jQuery 4.0 #1261

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mgol
Copy link
Member

@mgol mgol commented Oct 14, 2024

Also, document the removal of jQuery.cssNumber in jQuery 4.0.

jQuery.cssNumber is a weird API as it was never deprecated since jQuery 3.x uses it but jQuery 4.0.0 will not need it.

Also, document the removal of `jQuery.cssNumber` in jQuery 4.0.
@mgol mgol added this to the 4.0.0 milestone Oct 14, 2024
@mgol mgol self-assigned this Oct 14, 2024
@mgol
Copy link
Member Author

mgol commented Oct 14, 2024

This is a new version of #1260.

Comment on lines -16 to -27
<li><code>zIndex</code></li>
<li><code>fontWeight</code></li>
<li><code>opacity</code></li>
<li><code>zoom</code></li>
<li><code>lineHeight</code></li>
<li><code>widows</code> (added in jQuery 1.6)</li>
<li><code>orphans</code> (added in jQuery 1.6)</li>
<li><code>fillOpacity</code> (added in jQuery 1.6.2)</li>
<li><code>columnCount</code> (added in jQuery 1.9)</li>
<li><code>order</code> (added in jQuery 1.10.2)</li>
<li><code>flexGrow</code> (added in jQuery 1.11.1)</li>
<li><code>flexShrink</code> (added in jQuery 1.11.1)</li>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it, but we could consider leaving the list in and updating the new values we added. But it's easy to just check what you have in your jQuery version and if you maintain a library, you shouldn't rely on this list anyway and just pass strings.

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

Successfully merging this pull request may close these issues.

1 participant