Skip to content

Flag 'includeMargin' not documented but actually exists for setters outerWidth(value) and outerHeight(value) #1107

Closed
@YuriyYev

Description

@YuriyYev

Tested on jQuery 3.2.1.
Calling $(element).outerWidth(value, true) actually accounts for margins on element (and doesn't account when second arguement is not true). This fact (presence of flag) is not present in documentation at https://api.jquery.com/outerWidth/ for ".outerWidth( value )"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions