summaryrefslogtreecommitdiff
path: root/includes/external/school/node_modules/cssstyle/lib/properties/top.js
diff options
context:
space:
mode:
Diffstat (limited to 'includes/external/school/node_modules/cssstyle/lib/properties/top.js')
-rw-r--r--includes/external/school/node_modules/cssstyle/lib/properties/top.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/external/school/node_modules/cssstyle/lib/properties/top.js b/includes/external/school/node_modules/cssstyle/lib/properties/top.js
new file mode 100644
index 0000000..f71986f
--- /dev/null
+++ b/includes/external/school/node_modules/cssstyle/lib/properties/top.js
@@ -0,0 +1,14 @@
+'use strict';
+
+var parseMeasurement = require('../parsers').parseMeasurement;
+
+module.exports.definition = {
+ set: function(v) {
+ this._setProperty('top', parseMeasurement(v));
+ },
+ get: function() {
+ return this.getPropertyValue('top');
+ },
+ enumerable: true,
+ configurable: true,
+};