GoScrobble/web/node_modules/cssstyle/lib/properties/marginTop.js

14 lines
323 B
JavaScript

'use strict';
var margin = require('./margin.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('margin', 'top', margin.isValid, margin.parser),
get: function() {
return this.getPropertyValue('margin-top');
},
enumerable: true,
configurable: true,
};