mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-10 05:12:19 +02:00
Initial pass
This commit is contained in:
commit
39c08a0eaa
7242 changed files with 1886006 additions and 0 deletions
26
node_modules/cssstyle/lib/properties/lineHeight.js
generated
vendored
Normal file
26
node_modules/cssstyle/lib/properties/lineHeight.js
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
'use strict';
|
||||
|
||||
var TYPES = require('../parsers').TYPES;
|
||||
var valueType = require('../parsers').valueType;
|
||||
|
||||
module.exports.isValid = function isValid(v) {
|
||||
var type = valueType(v);
|
||||
return (
|
||||
(type === TYPES.KEYWORD && v.toLowerCase() === 'normal') ||
|
||||
v.toLowerCase() === 'inherit' ||
|
||||
type === TYPES.NUMBER ||
|
||||
type === TYPES.LENGTH ||
|
||||
type === TYPES.PERCENT
|
||||
);
|
||||
};
|
||||
|
||||
module.exports.definition = {
|
||||
set: function(v) {
|
||||
this._setProperty('line-height', v);
|
||||
},
|
||||
get: function() {
|
||||
return this.getPropertyValue('line-height');
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue