main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 5 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
616 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | exports.zIndex = void 0;
|
---|
4 | var parser_1 = require("../syntax/parser");
|
---|
5 | exports.zIndex = {
|
---|
6 | name: 'z-index',
|
---|
7 | initialValue: 'auto',
|
---|
8 | prefix: false,
|
---|
9 | type: 0 /* VALUE */,
|
---|
10 | parse: function (_context, token) {
|
---|
11 | if (token.type === 20 /* IDENT_TOKEN */) {
|
---|
12 | return { auto: true, order: 0 };
|
---|
13 | }
|
---|
14 | if (parser_1.isNumberToken(token)) {
|
---|
15 | return { auto: false, order: token.number };
|
---|
16 | }
|
---|
17 | throw new Error("Invalid z-index number parsed");
|
---|
18 | }
|
---|
19 | };
|
---|
20 | //# sourceMappingURL=z-index.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.