Initial project import
This commit is contained in:
20
node_modules/html2canvas/dist/lib/css/property-descriptors/content.js
generated
vendored
Normal file
20
node_modules/html2canvas/dist/lib/css/property-descriptors/content.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.content = void 0;
|
||||
exports.content = {
|
||||
name: 'content',
|
||||
initialValue: 'none',
|
||||
type: 1 /* LIST */,
|
||||
prefix: false,
|
||||
parse: function (_context, tokens) {
|
||||
if (tokens.length === 0) {
|
||||
return [];
|
||||
}
|
||||
var first = tokens[0];
|
||||
if (first.type === 20 /* IDENT_TOKEN */ && first.value === 'none') {
|
||||
return [];
|
||||
}
|
||||
return tokens;
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=content.js.map
|
||||
Reference in New Issue
Block a user