Initial project import
This commit is contained in:
23
node_modules/html2canvas/dist/lib/css/property-descriptors/position.js
generated
vendored
Normal file
23
node_modules/html2canvas/dist/lib/css/property-descriptors/position.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.position = void 0;
|
||||
exports.position = {
|
||||
name: 'position',
|
||||
initialValue: 'static',
|
||||
prefix: false,
|
||||
type: 2 /* IDENT_VALUE */,
|
||||
parse: function (_context, position) {
|
||||
switch (position) {
|
||||
case 'relative':
|
||||
return 1 /* RELATIVE */;
|
||||
case 'absolute':
|
||||
return 2 /* ABSOLUTE */;
|
||||
case 'fixed':
|
||||
return 3 /* FIXED */;
|
||||
case 'sticky':
|
||||
return 4 /* STICKY */;
|
||||
}
|
||||
return 0 /* STATIC */;
|
||||
}
|
||||
};
|
||||
//# sourceMappingURL=position.js.map
|
||||
Reference in New Issue
Block a user