mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
draft
This commit is contained in:
23
node_modules/cssstyle/lib/properties/borderLeft.js
generated
vendored
Normal file
23
node_modules/cssstyle/lib/properties/borderLeft.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
var shorthandSetter = require('../parsers').shorthandSetter;
|
||||
var shorthandGetter = require('../parsers').shorthandGetter;
|
||||
var shorthandParser = require('../parsers').shorthandParser;
|
||||
|
||||
var shorthand_for = {
|
||||
'border-left-width': require('./borderLeftWidth'),
|
||||
'border-left-style': require('./borderLeftStyle'),
|
||||
'border-left-color': require('./borderLeftColor')
|
||||
};
|
||||
|
||||
var isValid = function isValid(v) {
|
||||
return shorthandParser(v, shorthand_for) !== undefined;
|
||||
};
|
||||
module.exports.isValid = isValid;
|
||||
|
||||
module.exports.definition = {
|
||||
set: shorthandSetter('border-left', shorthand_for),
|
||||
get: shorthandGetter('border-left', shorthand_for),
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
};
|
Reference in New Issue
Block a user