PromoCursed/node_modules/cssstyle/lib/properties/paddingTop.js

14 lines
329 B
JavaScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
'use strict';
var padding = require('./padding.js');
var parsers = require('../parsers.js');
module.exports.definition = {
set: parsers.subImplicitSetter('padding', 'top', padding.isValid, padding.parser),
get: function() {
return this.getPropertyValue('padding-top');
},
enumerable: true,
configurable: true,
};