summaryrefslogtreecommitdiff
path: root/alarm/node_modules/cssstyle/lib/properties/borderTopWidth.js
blob: 940725351b1c83bd9d67ee32283abcdc14b8c5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'use strict';

var isValid = require('./borderWidth').isValid;
module.exports.isValid = isValid;

module.exports.definition = {
  set: function(v) {
    if (isValid(v)) {
      this._setProperty('border-top-width', v);
    }
  },
  get: function() {
    return this.getPropertyValue('border-top-width');
  },
  enumerable: true,
  configurable: true,
};