marginTop.js 323 B

12345678910111213
  1. 'use strict';
  2. var margin = require('./margin.js');
  3. var parsers = require('../parsers.js');
  4. module.exports.definition = {
  5. set: parsers.subImplicitSetter('margin', 'top', margin.isValid, margin.parser),
  6. get: function() {
  7. return this.getPropertyValue('margin-top');
  8. },
  9. enumerable: true,
  10. configurable: true,
  11. };