Skip to content

Dimensions: Document empty-context getters#998

Closed
gibson042 wants to merge 3 commits into
jquery:masterfrom
gibson042:gh-997-empty-context-dimensions-getters
Closed

Dimensions: Document empty-context getters#998
gibson042 wants to merge 3 commits into
jquery:masterfrom
gibson042:gh-997-empty-context-dimensions-getters

Conversation

@gibson042
Copy link
Copy Markdown
Member

Fixes gh-997

@jsf-clabot
Copy link
Copy Markdown

jsf-clabot commented Nov 13, 2016

CLA assistant check
All committers have signed the CLA.

Comment thread entries/innerHeight.xml Outdated
<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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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