From 227e2182dd1c12974c0c26a7f52aa3066dbb098a Mon Sep 17 00:00:00 2001
From: Richard Gibson The top and bottom padding and border are always included in the This method is not applicable to Returns the height of the element, including top and bottom padding, border, and optionally margin, in pixels. This method is not applicable to When calling Returns the width of the element, along with left and right padding, border, and optionally margin, in pixels. If Returns the width of the element, including left and right padding, border, and optionally margin, in pixels. This method is not applicable to This method returns the height of the element, including top and bottom padding, in pixels. This method returns the height of the element, including top and bottom padding, in pixels. If called on an empty set of elements, returns This method is not applicable to This method returns the width of the element, including left and right padding, in pixels. This method returns the width of the element, including left and right padding, in pixels. If called on an empty set of elements, returns This method is not applicable to Returns the height of the element, including top and bottom padding, border, and optionally margin, in pixels. Returns the height of the element, including top and bottom padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns This method is not applicable to Returns the width of the element, including left and right padding, border, and optionally margin, in pixels. Returns the width of the element, including left and right padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns This method is not applicable to This method returns the height of the element, including top and bottom padding, in pixels. If called on an empty set of elements, returns This method returns the height of the element, including top and bottom padding, in pixels. If called on an empty set of elements, returns This method is not applicable to This method returns the width of the element, including left and right padding, in pixels. If called on an empty set of elements, returns This method returns the width of the element, including left and right padding, in pixels. If called on an empty set of elements, returns This method is not applicable to Returns the height of the element, including top and bottom padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns Returns the height of the element, including top and bottom padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns This method is not applicable to Returns the width of the element, including left and right padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns Returns the width of the element, including left and right padding, border, and optionally margin, in pixels. If called on an empty set of elements, returns This method is not applicable to .outerHeight()
calculation; if the includeMargin
argument is set to true
, the margin (top and bottom) is also included.window
and document
objects; for these, use .height()
instead.window
and document
objects; for these, use .height()
instead. Although .outerHeight()
can be used on table elements, it may give unexpected results on tables using the border-collapse: collapse
CSS property.
this
refers to the current element in the set..outerHeight(value)
, the value can be either a string (number and unit) or a number. If only a number is provided for the value, jQuery assumes a pixel unit. If a string is provided, however, any valid CSS measurement may be used (such as 100px
, 50%
, or auto
).includeMargin
is omitted or false
, the padding and border are included in the calculation; if true
, the margin is also included.window
and document
objects; for these, use .width()
instead. Although .outerWidth()
can be used on table elements, it may give unexpected results on tables using the border-collapse: collapse
CSS property.
@@ -45,6 +44,7 @@ $( "p:last" ).text(
undefined
(null
before jQuery 2.2.0).window
and document
objects; for these, use .height()
instead.
diff --git a/entries/innerWidth.xml b/entries/innerWidth.xml
index 6e9fd0d3..6a312359 100644
--- a/entries/innerWidth.xml
+++ b/entries/innerWidth.xml
@@ -8,7 +8,7 @@
undefined
(null
before jQuery 2.2.0).window
and document
objects; for these, use .width()
instead.
diff --git a/entries/outerHeight.xml b/entries/outerHeight.xml
index 9f3a8fe5..4dee7175 100644
--- a/entries/outerHeight.xml
+++ b/entries/outerHeight.xml
@@ -11,7 +11,7 @@
undefined
(null
before jQuery 2.2.0).window
and document
objects; for these, use .height()
instead. Although .outerHeight()
can be used on table elements, it may give unexpected results on tables using the border-collapse: collapse
CSS property.
diff --git a/entries/outerWidth.xml b/entries/outerWidth.xml
index dcf7d23c..18708efb 100644
--- a/entries/outerWidth.xml
+++ b/entries/outerWidth.xml
@@ -11,7 +11,7 @@
undefined
(null
before jQuery 2.2.0).window
and document
objects; for these, use .width()
instead. Although .outerWidth()
can be used on table elements, it may give unexpected results on tables using the border-collapse: collapse
CSS property.
From e4756988d63d4e118d46912080e20c15f645146a Mon Sep 17 00:00:00 2001
From: Richard Gibson
undefined
(null
before jQuery 2.2.0).undefined
(null
before jQuery 3.0).window
and document
objects; for these, use .height()
instead.
diff --git a/entries/innerWidth.xml b/entries/innerWidth.xml
index 6a312359..d3641b00 100644
--- a/entries/innerWidth.xml
+++ b/entries/innerWidth.xml
@@ -8,7 +8,7 @@
undefined
(null
before jQuery 2.2.0).undefined
(null
before jQuery 3.0).window
and document
objects; for these, use .width()
instead.
diff --git a/entries/outerHeight.xml b/entries/outerHeight.xml
index 4dee7175..c50dd23d 100644
--- a/entries/outerHeight.xml
+++ b/entries/outerHeight.xml
@@ -11,7 +11,7 @@
undefined
(null
before jQuery 2.2.0).undefined
(null
before jQuery 3.0).window
and document
objects; for these, use .height()
instead. Although .outerHeight()
can be used on table elements, it may give unexpected results on tables using the border-collapse: collapse
CSS property.
diff --git a/entries/outerWidth.xml b/entries/outerWidth.xml
index 18708efb..bb37d571 100644
--- a/entries/outerWidth.xml
+++ b/entries/outerWidth.xml
@@ -11,7 +11,7 @@
undefined
(null
before jQuery 2.2.0).undefined
(null
before jQuery 3.0).window
and document
objects; for these, use .width()
instead. Although .outerWidth()
can be used on table elements, it may give unexpected results on tables using the border-collapse: collapse
CSS property.