You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
623 B

  1. 'use strict';
  2. var shorthandSetter = require('../parsers').shorthandSetter;
  3. var shorthandGetter = require('../parsers').shorthandGetter;
  4. var shorthand_for = {
  5. 'background-color': require('./backgroundColor'),
  6. 'background-image': require('./backgroundImage'),
  7. 'background-repeat': require('./backgroundRepeat'),
  8. 'background-attachment': require('./backgroundAttachment'),
  9. 'background-position': require('./backgroundPosition'),
  10. };
  11. module.exports.definition = {
  12. set: shorthandSetter('background', shorthand_for),
  13. get: shorthandGetter('background', shorthand_for),
  14. enumerable: true,
  15. configurable: true,
  16. };