aboutsummaryrefslogtreecommitdiff
path: root/node_modules/cssstyle/lib/properties/floodColor.js
blob: 8a4f29c69b185c8f17b8c33003a45a9d22f0b44e (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('flood-color', parseColor(v));
  },
  get: function() {
    return this.getPropertyValue('flood-color');
  },
  enumerable: true,
  configurable: true,
};