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.

17 lines
354 B

  1. 'use strict';
  2. var isValid = require('./borderWidth').isValid;
  3. module.exports.isValid = isValid;
  4. module.exports.definition = {
  5. set: function(v) {
  6. if (isValid(v)) {
  7. this._setProperty('border-top-width', v);
  8. }
  9. },
  10. get: function() {
  11. return this.getPropertyValue('border-top-width');
  12. },
  13. enumerable: true,
  14. configurable: true,
  15. };