1
0
mirror of https://github.com/S2-/minifyfromhtml.git synced 2025-08-03 20:30:04 +02:00
This commit is contained in:
s2
2018-05-05 14:29:20 +02:00
parent 62dd054f83
commit d17c4fe70c
1809 changed files with 262593 additions and 219 deletions

21
node_modules/cssstyle/lib/properties/lineHeight.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
'use strict';
var TYPES = require('../parsers').TYPES;
var valueType = require('../parsers').valueType;
module.exports.isValid = function isValid(v) {
var type = valueType(v);
return (type === TYPES.KEYWORD && (v.toLowerCase() === 'normal') || (v.toLowerCase() === 'inherit')) ||
type === TYPES.NUMBER || type === TYPES.LENGTH || type === TYPES.PERCENT;
};
module.exports.definition = {
set: function (v) {
this._setProperty('line-height', v);
},
get: function () {
return this.getPropertyValue('line-height');
},
enumerable: true,
configurable: true
};