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

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

Closed
mikesherov opened this Issue Oct 29, 2012 · 4 comments

Comments

Projects
None yet
4 participants
@mikesherov
Copy link
Member

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.

@mgol

This comment has been minimized.

Copy link
Member

mgol commented Mar 4, 2014

+1

@arthurvr

This comment has been minimized.

Copy link
Member

arthurvr commented Jan 2, 2015

+1, somebody wanting to take this?

@arthurvr

This comment has been minimized.

Copy link
Member

arthurvr commented Apr 2, 2015

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

@arthurvr

This comment has been minimized.

Copy link
Member

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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.