Lines Matching refs:val

500     function Length( val ) {  argument
501 this.val = val;
518 num = this.num = parseFloat( this.val );
531 m = this.val.match( this.unitRE );
610 PIE.getLength = function( val ) {
611 return instances[ val ] || ( instances[ val ] = new Length( val ) );
778 function Angle( val ) { argument
779 this.val = val;
788 return this._unit || ( this._unit = this.val.match( this.unitRE )[0].toLowerCase() );
799 n = parseFloat( this.val, 10 );
816 function Color( val ) { argument
817 this.val = val;
883 v = me.val,
928 PIE.getColor = function(val) { argument
929 return instances[ val ] || ( instances[ val ] = new Color( val ) );
1013 var css, ch, firstChar, match, val,
1075 val = match[0];
1076 this.ch += val.length;
1079 if( css.charAt( val.length ) === '%' ) {
1081 return newToken( Type.PERCENT, val + '%' );
1083 if( match = css.substring( val.length ).match( this.ident ) ) {
1084 val += match[0];
1086 return newToken( this.unitTypes[ match[0].toLowerCase() ] || Type.DIMEN, val );
1090 return newToken( Type.NUMBER, val );
1095 val = match[0];
1096 this.ch += val.length;
1099 … if( val.toLowerCase() in PIE.Color.names || val === 'currentColor' || val === 'transparent' ) {
1100 return newToken( Type.COLOR, val );
1104 if( css.charAt( val.length ) === '(' ) {
1108 if( val.toLowerCase() in this.colorFunctions ) {
1115 function isValue( tok, val ) { argument
1116 return tok && tok.tokenValue === val;
1122 if( ( val.charAt(0) === 'r' ? isNumOrPct( next() ) : isNum( next() ) ) &&
1127 ( val === 'rgb' || val === 'hsa' || (
1137 return newToken( Type.FUNCTION, val );
1141 return newToken( Type.IDENT, val );
1712 var val = 0, el;
1715val = ( '' + ( el.style[ PIE.STYLE_PREFIX + 'PngFix' ] || el.currentStyle.getAttribute( PIE.CSS_PR…
1717 return val;
3225 function setCrops( sides, crop, val ) { argument
3227 pieces[ sides[i] ]['imagedata'][ crop ] = val;
3618 bg.push( props.color.val );