Lines Matching refs:left

189 var LINE_GRADIENT_DIRECTION_REGEXP = /^\s*(to|bottom|right|left|top)|[-+]?[0-9]*\.?[0-9]+(.*)/
190 var LINE_GRADIENT_TO_DIRECTION_REGEXP = /(to|bottom|right|left|top)/
1615 let scaleX = ['left','right']
1760 const positionReg = /left|right|top|bottom|center/g
1762 if (/^(left|right|top|bottom|center)$/.test(v)) {
1789 if (/^(left|right|top|bottom|center)$/.test(value)) {
1828 const scaleXReg = /^(left|right)$/
1902 const positionReg = /left|right|top|bottom|center/g
1904 if (/^(left|right|top|bottom|center)$/.test(v)) {
1921 '` attribute is invalid. such as left 100px or 50% bottom.'
1931 if (/^(left|right|top|bottom|center)$/.test(value)) {
2366 left: PERCENTAGE_LENGTH_VALIDATOR,
2395 textAlign: genEnumValidator(['start', 'end', 'left', 'center', 'right']),
2833 left: PERCENTAGE_LENGTH_VALIDATOR,
2847 textAlign: genEnumValidator(['left', 'center', 'right']),
2959 left: PERCENTAGE_LENGTH_VALIDATOR,
2989 textAlign: genEnumValidator(['start', 'end', 'left', 'center', 'right']),
3165 function checkComputation(left, right, operator) {
3168 if ((right.match(/[a-zA-Z]/) && left.match(/[a-zA-Z]/)) || (!right.match(/[a-zA-Z]/) && !left.match(/[a-zA-Z]/))) {
3178 if (!(right.match(/[a-zA-Z%]/) && left.match(/[a-zA-Z%]/))) {
3183 if (!(right.match(/[a-zA-Z%]/) && left.match(/[a-zA-Z%]/))) {
3190 function getResult(left, right, operator) {
3192 if (left.match(/var/)) {
3193 left = cssVarFun(left)
3198 errLog = checkComputation(left, right, operator)
3203 var leftValue = getValueUnit(left)
3205 if (left.match(/\(/) | right.match(/\(/)) {
3206 result = left + ' ' + operator + ' ' + right
3225 } else result = '(' + left + ' ' + operator + ' ' + right + ')'
3231 } else result = '(' + left + ' ' + operator + ' ' + right + ')'