From f997241f0011ed728be71002bc703c7a0d3f01e5 Mon Sep 17 00:00:00 2001 From: Bert Zhang Date: Wed, 29 Aug 2018 06:54:27 -0700 Subject: [PATCH] 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 --- src/css.js | 7 +++++++ 1 file changed, 7 insertions(+) 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, -- 2.39.5