Docs: Update support comments to follow the new syntax

The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
This commit is contained in:
Michał Gołębiowski
2016-03-23 15:03:06 +01:00
parent 693f1b537b
commit 6072d150d6
28 changed files with 54 additions and 55 deletions

View File

@@ -13,7 +13,7 @@ function curCSS( elem, name, computed ) {
computed = computed || getStyles( elem );
// Support: IE9 only
// Support: IE <=9 only
// getPropertyValue is only needed for .css('filter') (#12537)
if ( computed ) {
ret = computed.getPropertyValue( name ) || computed[ name ];
@@ -47,7 +47,7 @@ function curCSS( elem, name, computed ) {
return ret !== undefined ?
// Support: IE9-11 only
// Support: IE <=9 - 11 only
// IE returns zIndex value as an integer.
ret + "" :
ret;

View File

@@ -15,7 +15,7 @@ define( [
return;
}
// Support: IE9-11 only
// Support: IE <=9 - 11 only
// Style of cloned element affects source element cloned (#8908)
div.style.backgroundClip = "content-box";
div.cloneNode( true ).style.backgroundClip = "";
@@ -45,7 +45,7 @@ define( [
var divStyle = window.getComputedStyle( div );
pixelPositionVal = divStyle.top !== "1%";
// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44+
// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44
reliableMarginLeftVal = divStyle.marginLeft === "2px";
boxSizingReliableVal = divStyle.width === "4px";

View File

@@ -1,7 +1,7 @@
define( function() {
return function( elem ) {
// Support: IE<=11 only, Firefox<=30+ (#15098, #14150)
// Support: IE <=11 only, Firefox <=30 (#15098, #14150)
// IE throws on elements created in popups
// FF meanwhile throws on frame elements through "defaultView.getComputedStyle"
var view = elem.ownerDocument.defaultView;