borderTopWidth.js 354 B

1234567891011121314151617
  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. };