summaryrefslogtreecommitdiff
path: root/alarm/node_modules/cssstyle/lib/properties/borderLeftWidth.js
diff options
context:
space:
mode:
Diffstat (limited to 'alarm/node_modules/cssstyle/lib/properties/borderLeftWidth.js')
-rw-r--r--alarm/node_modules/cssstyle/lib/properties/borderLeftWidth.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/alarm/node_modules/cssstyle/lib/properties/borderLeftWidth.js b/alarm/node_modules/cssstyle/lib/properties/borderLeftWidth.js
new file mode 100644
index 0000000..8c680b1
--- /dev/null
+++ b/alarm/node_modules/cssstyle/lib/properties/borderLeftWidth.js
@@ -0,0 +1,16 @@
+'use strict';
+
+var isValid = (module.exports.isValid = require('./borderWidth').isValid);
+
+module.exports.definition = {
+ set: function(v) {
+ if (isValid(v)) {
+ this._setProperty('border-left-width', v);
+ }
+ },
+ get: function() {
+ return this.getPropertyValue('border-left-width');
+ },
+ enumerable: true,
+ configurable: true,
+};