Update dependencies
This commit is contained in:
6
bower_components/jquery/src/css/curCSS.js
vendored
6
bower_components/jquery/src/css/curCSS.js
vendored
@@ -1,11 +1,11 @@
|
||||
define( [
|
||||
"../core",
|
||||
"./var/rboxStyle",
|
||||
"./var/rnumnonpx",
|
||||
"./var/rmargin",
|
||||
"./var/getStyles",
|
||||
"./support",
|
||||
"../selector" // Get jQuery.contains
|
||||
], function( jQuery, rnumnonpx, rmargin, getStyles, support ) {
|
||||
], function( jQuery, rboxStyle, rnumnonpx, getStyles, support ) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@@ -35,7 +35,7 @@ function curCSS( elem, name, computed ) {
|
||||
// but width seems to be reliably pixels.
|
||||
// This is against the CSSOM draft spec:
|
||||
// https://drafts.csswg.org/cssom/#resolved-values
|
||||
if ( !support.pixelMarginRight() && rnumnonpx.test( ret ) && rmargin.test( name ) ) {
|
||||
if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {
|
||||
|
||||
// Remember the original values
|
||||
width = style.width;
|
||||
|
||||
Reference in New Issue
Block a user