api.jquery.com icon indicating copy to clipboard operation
api.jquery.com copied to clipboard

css: Document no auto-appending `px` in jQuery 4.0

Open mgol opened this issue 1 year ago • 1 comments

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.

mgol avatar Oct 14 '24 16:10 mgol

This is a new version of #1260.

mgol avatar Oct 14 '24 16:10 mgol

Do we want to document this list?

https://github.com/jquery/jquery/blob/447432f4a3b182cd6032930fea0685010e7a9d9c/test/unit/css.js#L1281

timmywil avatar Mar 03 '25 17:03 timmywil

Do we want to document this list?

jquery/jquery@447432f/test/unit/css.js#L1281

Done, PTAL.

I grouped the properties into some categories as a list with one property per list item got a bit long.

Screenshot of the proposed state: Screenshot 2025-03-17 at 13 49 52

mgol avatar Mar 17 '25 12:03 mgol

The list re-addded; here's how it looks right now: Screenshot 2025-03-17 at 18 08 10

I wonder if it'd be better to group by version added instead?

mgol avatar Mar 17 '25 17:03 mgol