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.

16 lines
373 B

  1. 'use strict';
  2. var parseKeyword = require('../parsers').parseKeyword;
  3. var clear_keywords = ['none', 'left', 'right', 'both', 'inherit'];
  4. module.exports.definition = {
  5. set: function(v) {
  6. this._setProperty('clear', parseKeyword(v, clear_keywords));
  7. },
  8. get: function() {
  9. return this.getPropertyValue('clear');
  10. },
  11. enumerable: true,
  12. configurable: true,
  13. };