Initial project import
This commit is contained in:
20
node_modules/html2canvas/dist/lib/css/property-descriptors/z-index.js
generated
vendored
Normal file
20
node_modules/html2canvas/dist/lib/css/property-descriptors/z-index.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.zIndex = void 0;
|
||||
var parser_1 = require("../syntax/parser");
|
||||
exports.zIndex = {
|
||||
name: 'z-index',
|
||||
initialValue: 'auto',
|
||||
prefix: false,
|
||||
type: 0 /* VALUE */,
|
||||
parse: function (_context, token) {
|
||||
if (token.type === 20 /* IDENT_TOKEN */) {
|
||||
return { auto: true, order: 0 };
|
||||
}
|
||||
if (parser_1.isNumberToken(token)) {
|
||||
return { auto: false, order: token.number };
|
||||
}
|
||||
throw new Error("Invalid z-index number parsed");
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=z-index.js.map
|
||||
Reference in New Issue
Block a user