float.js 638 B

1234567891011121314151617181920212223
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.float = void 0;
  4. exports.float = {
  5. name: 'float',
  6. initialValue: 'none',
  7. prefix: false,
  8. type: 2 /* IDENT_VALUE */,
  9. parse: function (_context, float) {
  10. switch (float) {
  11. case 'left':
  12. return 1 /* LEFT */;
  13. case 'right':
  14. return 2 /* RIGHT */;
  15. case 'inline-start':
  16. return 3 /* INLINE_START */;
  17. case 'inline-end':
  18. return 4 /* INLINE_END */;
  19. }
  20. return 0 /* NONE */;
  21. }
  22. };
  23. //# sourceMappingURL=float.js.map