Initial project import
This commit is contained in:
22
node_modules/html2canvas/dist/lib/css/property-descriptors/letter-spacing.js
generated
vendored
Normal file
22
node_modules/html2canvas/dist/lib/css/property-descriptors/letter-spacing.js
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.letterSpacing = void 0;
|
||||
exports.letterSpacing = {
|
||||
name: 'letter-spacing',
|
||||
initialValue: '0',
|
||||
prefix: false,
|
||||
type: 0 /* VALUE */,
|
||||
parse: function (_context, token) {
|
||||
if (token.type === 20 /* IDENT_TOKEN */ && token.value === 'normal') {
|
||||
return 0;
|
||||
}
|
||||
if (token.type === 17 /* NUMBER_TOKEN */) {
|
||||
return token.number;
|
||||
}
|
||||
if (token.type === 15 /* DIMENSION_TOKEN */) {
|
||||
return token.number;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=letter-spacing.js.map
|
||||
Reference in New Issue
Block a user