public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9e0ec
)
Fix incorrect stripping of quotes in font-variation-settings (#1039)
author
Jason Pamental
<jason@rwt.io>
Wed, 1 Aug 2018 12:16:51 +0000
(08:16 -0400)
committer
Jakub Pawlowicz
<contact@jakubpawlowicz.com>
Wed, 1 Aug 2018 12:16:51 +0000
(14:16 +0200)
lib/optimizer/level-1/optimize.js
patch
|
blob
|
history
diff --git
a/lib/optimizer/level-1/optimize.js
b/lib/optimizer/level-1/optimize.js
index
d54fb53
..
13cfd8c
100644
(file)
--- a/
lib/optimizer/level-1/optimize.js
+++ b/
lib/optimizer/level-1/optimize.js
@@
-336,7
+336,7
@@
function optimizeZeroUnits(name, value) {
}
function removeQuotes(name, value) {
- if (name == 'content' || name.indexOf('font-feature-settings') > -1 || name.indexOf('grid-') > -1) {
+ if (name == 'content' || name.indexOf('font-
variation-settings') > -1 || name.indexOf('font-
feature-settings') > -1 || name.indexOf('grid-') > -1) {
return value;
}