diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2014-04-25 18:26:36 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2014-06-10 23:28:14 -0400 |
commit | d837f119c3729565103005d5d7fa89e1dd8110cb (patch) | |
tree | 03f41c64a16faab49698d7fa6c2519c79874d706 /src/css/support.js | |
parent | ff9dcfb0c4238d405af92cbd4ac27e0a36c6ff0c (diff) | |
download | jquery-d837f119c3729565103005d5d7fa89e1dd8110cb.tar.gz jquery-d837f119c3729565103005d5d7fa89e1dd8110cb.zip |
Support: clean up comments and Support notation
Closes gh-1577
Diffstat (limited to 'src/css/support.js')
-rw-r--r-- | src/css/support.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/css/support.js b/src/css/support.js index 4a4d75c44..2cb6fe81d 100644 --- a/src/css/support.js +++ b/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) |