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

var parseMeasurement = require('../parsers').parseMeasurement;

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