Skip to content

Dimensions: Document empty-context getters #998

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

gibson042
Copy link
Member

Fixes gh-997

@jsf-clabot
Copy link

jsf-clabot commented Nov 13, 2016

CLA assistant check
All committers have signed the CLA.

@@ -9,7 +9,7 @@
</signature>
<desc>Get the current computed height for the first element in the set of matched elements, including padding but not border.</desc>
<longdesc>
<p>This method returns the height of the element, including top and bottom padding, in pixels.</p>
<p>This method returns the height of the element, including top and bottom padding, in pixels. If called on an empty set of elements, returns <code>undefined</code> (<code>null</code> before jQuery 2.2.0).</p>
Copy link
Member

Choose a reason for hiding this comment

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

null before jQuery 3.0, not 2.2.0. Same below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, https://github.com/jquery/jquery/blame/master/src/dimensions.js#L50 must be lying somehow (or I'm misreading it). But you're right. Fixed.

@mgol
Copy link
Member

mgol commented Nov 14, 2016

LGTM, it can be landed as two commits.

@gibson042 gibson042 closed this in 3aa71f2 Nov 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants