Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Add an entry for $.cssNumber to the API docs #164

mikesherov opened this Issue Oct 29, 2012 · 4 comments


None yet
4 participants

mikesherov commented Oct 29, 2012

I think it would be worthwhile adding an entry for $.cssNumber to the API docs, alongside the existing entry for $.cssHooks.

At present, the only mention of it is right at the bottom of the entry for $.cssHooks, and so it's very easy to miss.

The main reason I think it might be a useful addition is for anyone wondering why setting the line-height style without a value does not give the same results as setting the font-size style without a value, e.g.:

        var size = 10;
        el.css({ fontSize:size, lineHeight:size });

Personally, I'd add it to both the "CSS" and "Mainpulation -> Style Properties" categories, as those would be the places I'd be looking if I had the aforementioned issue.

@dmethvin dmethvin referenced this issue in jquery/jquery Mar 4, 2014


CSS: Don't add 'px' to '-ms-flex-order' #1528


mgol commented Mar 4, 2014



arthurvr commented Jan 2, 2015

+1, somebody wanting to take this?


arthurvr commented Apr 2, 2015

On it. @dmethvin or anyone else: added in 1.4.3, is that right?

@arthurvr arthurvr self-assigned this Apr 2, 2015


arthurvr commented Apr 2, 2015

This ticket has been open for years too long so here we go: #693.

@arthurvr arthurvr closed this in 0c6b0fb Apr 2, 2015

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