mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
update node modules
This commit is contained in:
28
node_modules/cssstyle/lib/properties/borderTopStyle.js
generated
vendored
28
node_modules/cssstyle/lib/properties/borderTopStyle.js
generated
vendored
@@ -4,18 +4,18 @@ var isValid = require('./borderStyle').isValid;
|
||||
module.exports.isValid = isValid;
|
||||
|
||||
module.exports.definition = {
|
||||
set: function (v) {
|
||||
if (isValid(v)) {
|
||||
if (v.toLowerCase() === 'none') {
|
||||
v = '';
|
||||
this.removeProperty('border-top-width');
|
||||
}
|
||||
this._setProperty('border-top-style', v);
|
||||
}
|
||||
},
|
||||
get: function () {
|
||||
return this.getPropertyValue('border-top-style');
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
set: function(v) {
|
||||
if (isValid(v)) {
|
||||
if (v.toLowerCase() === 'none') {
|
||||
v = '';
|
||||
this.removeProperty('border-top-width');
|
||||
}
|
||||
this._setProperty('border-top-style', v);
|
||||
}
|
||||
},
|
||||
get: function() {
|
||||
return this.getPropertyValue('border-top-style');
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
};
|
||||
|
Reference in New Issue
Block a user