diff options
author | Bert Zhang <enbo@users.noreply.github.com> | 2018-08-29 06:54:27 -0700 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2018-08-29 15:54:27 +0200 |
commit | f997241f0011ed728be71002bc703c7a0d3f01e5 (patch) | |
tree | 0f9c8093d1015ac3d6c13c3508db1a5f30632694 /src/css.js | |
parent | 6153eb0fd401cda90bf2007335cd4338093d38f0 (diff) | |
download | jquery-f997241f0011ed728be71002bc703c7a0d3f01e5.tar.gz jquery-f997241f0011ed728be71002bc703c7a0d3f01e5.zip |
CSS: Don't auto-append "px" to possibly-unitless CSS grid properties
This commit adds some CSS grid-related properties to jQuery.cssNumber.
Fixes gh-4007
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/css.js b/src/css.js index c3afb0ab7..aea0ef2c5 100644 --- a/src/css.js +++ b/src/css.js @@ -194,6 +194,13 @@ jQuery.extend( { "flexGrow": true, "flexShrink": true, "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, "lineHeight": true, "opacity": true, "order": true, |