This commit is contained in:
2024-08-31 00:22:11 +02:00
commit eefa5f22b9
1206 changed files with 248159 additions and 0 deletions

24
node_modules/cssstyle/lib/properties/width.js generated vendored Normal file
View File

@ -0,0 +1,24 @@
'use strict';
var parseMeasurement = require('../parsers').parseMeasurement;
function parse(v) {
if (String(v).toLowerCase() === 'auto') {
return 'auto';
}
if (String(v).toLowerCase() === 'inherit') {
return 'inherit';
}
return parseMeasurement(v);
}
module.exports.definition = {
set: function(v) {
this._setProperty('width', parse(v));
},
get: function() {
return this.getPropertyValue('width');
},
enumerable: true,
configurable: true,
};