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

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

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