summaryrefslogtreecommitdiff
path: root/alarm/node_modules/cssstyle/lib/properties/paddingTop.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/cssstyle/lib/properties/paddingTop.js')
-rw-r--r--alarm/node_modules/cssstyle/lib/properties/paddingTop.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/alarm/node_modules/cssstyle/lib/properties/paddingTop.js b/alarm/node_modules/cssstyle/lib/properties/paddingTop.js
new file mode 100644
index 0000000..eca8781
--- /dev/null
+++ b/alarm/node_modules/cssstyle/lib/properties/paddingTop.js
@@ -0,0 +1,13 @@
+'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,
+};