Skip to content
Permalink
Browse files

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
  • Loading branch information...
enbo authored and mgol committed Aug 29, 2018
1 parent 6153eb0 commit f997241f0011ed728be71002bc703c7a0d3f01e5
Showing with 7 additions and 0 deletions.
  1. +7 −0 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,

0 comments on commit f997241

Please sign in to comment.
You can’t perform that action at this time.