summaryrefslogtreecommitdiffstats
path: root/js/vendor/jquery/src/css/support.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/jquery/src/css/support.js')
-rw-r--r--js/vendor/jquery/src/css/support.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/vendor/jquery/src/css/support.js b/js/vendor/jquery/src/css/support.js
index 4a4d75c44..b9eaf1402 100644
--- a/js/vendor/jquery/src/css/support.js
+++ b/js/vendor/jquery/src/css/support.js
@@ -13,6 +13,8 @@ define([
return;
}
+ // Support: IE9-11+
+ // Style of cloned element affects source element cloned (#8908)
div.style.backgroundClip = "content-box";
div.cloneNode( true ).style.backgroundClip = "";
support.clearCloneStyle = div.style.backgroundClip === "content-box";
@@ -45,6 +47,7 @@ define([
if ( window.getComputedStyle ) {
jQuery.extend( support, {
pixelPosition: function() {
+
// This test is executed only once but we still do memoizing
// since we can use the boxSizingReliable pre-computing.
// No need to check if the test was already performed, though.
@@ -58,6 +61,7 @@ define([
return boxSizingReliableVal;
},
reliableMarginRight: function() {
+
// Support: Android 2.3
// Check if div with explicit width and no margin-right incorrectly
// gets computed margin-right based on width of container. (#3333)
@@ -79,6 +83,7 @@ define([
ret = !parseFloat( window.getComputedStyle( marginDiv, null ).marginRight );
docElem.removeChild( container );
+ div.removeChild( marginDiv );
return ret;
}