diff options
Diffstat (limited to 'bower_components/jquery/src/css/support.js')
-rw-r--r-- | bower_components/jquery/src/css/support.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bower_components/jquery/src/css/support.js b/bower_components/jquery/src/css/support.js index 4a4d75c4..b9eaf140 100644 --- a/bower_components/jquery/src/css/support.js +++ b/bower_components/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; } |