mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 11:24:57 -05:00
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:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user