Lines Matching refs:value

23   return function (value) {  argument
24 return value[1] == 'invert' || validator.isColor(value[1]) || validator.isPrefixed(value[1]);
29 return function (value) { argument
30 …return value[1] != 'inherit' && validator.isStyleKeyword(value[1]) && !validator.isColorFunction(v…
59 return function (value) { argument
60 return value[1] != 'inherit' &&
61 …(validator.isWidth(value[1]) || validator.isUnit(value[1]) && !validator.isDynamicUnit(value[1])) …
62 !validator.isStyleKeyword(value[1]) &&
63 !validator.isColorFunction(value[1]);
77 var values = property.value;
78 var value;
90 if (property.value.length == 1 && property.value[0][1] == 'inherit') {
91 …duration.value = timing.value = delay.value = iteration.value = direction.value = fill.value = pla…
100 value = values[i];
102 if (validator.isTime(value[1]) && !durationSet) {
103 duration.value = [value];
105 } else if (validator.isTime(value[1]) && !delaySet) {
106 delay.value = [value];
108 … } else if ((validator.isGlobal(value[1]) || validator.isTimingFunction(value[1])) && !timingSet) {
109 timing.value = [value];
111 … else if ((validator.isAnimationIterationCountKeyword(value[1]) || validator.isPositiveNumber(valu…
112 iteration.value = [value];
114 } else if (validator.isAnimationDirectionKeyword(value[1]) && !directionSet) {
115 direction.value = [value];
117 } else if (validator.isAnimationFillModeKeyword(value[1]) && !fillSet) {
118 fill.value = [value];
120 } else if (validator.isAnimationPlayStateKeyword(value[1]) && !playSet) {
121 play.value = [value];
123 …} else if ((validator.isAnimationNameKeyword(value[1]) || validator.isIdentifier(value[1])) && !na…
124 name.value = [value];
127 …throw new InvalidPropertyError('Invalid animation value at ' + formatPosition(value[2][0]) + '. Ig…
144 var values = property.value;
153 if (property.value.length == 1 && property.value[0][1] == 'inherit') {
155 …color.value = image.value = repeat.value = position.value = size.value = origin.value = clip.valu…
159 if (property.value.length == 1 && property.value[0][1] == '0 0') {
164 var value = values[i];
166 if (validator.isBackgroundAttachmentKeyword(value[1])) {
167 attachment.value = [value];
169 …} else if (validator.isBackgroundClipKeyword(value[1]) || validator.isBackgroundOriginKeyword(valu…
171 origin.value = [value];
174 clip.value = [value];
178 } else if (validator.isBackgroundRepeatKeyword(value[1])) {
180 repeat.value.unshift(value);
182 repeat.value = [value];
186 …dPositionKeyword(value[1]) || validator.isBackgroundSizeKeyword(value[1]) || validator.isUnit(valu…
191 size.value = [value];
193 size.value = [previousValue, value];
197 position.value = [];
199 position.value.unshift(value);
204 position.value = [];
206 position.value.unshift(value);
210 …lor.value[0][1] == compactable[color.name].defaultValue || color.value[0][1] == 'none') && (valida…
211 color.value = [value];
213 } else if (validator.isUrl(value[1]) || validator.isFunction(value[1])) {
214 image.value = [value];
220 origin.value = clip.value.slice(0);
230 var values = property.value;
245 target.value = splitAt > -1 ?
251 remainder.value = splitAt > -1 ?
258 target.components[j].value = target.components[j].value.concat(remainder.components[j].value);
273 var values = property.value;
292 …style.value = variant.value = weight.value = stretch.value = size.value = height.value = family.va…
298 …style.value = variant.value = weight.value = stretch.value = size.value = height.value = family.va…
318 style.value = [values[index]];
321 variant.value = [values[index]];
324 weight.value = [values[index]];
327 stretch.value = [values[index]];
340 size.value = [values[index]];
353 height.value = [values[index + 1]];
359 family.value = [];
366 family.value[family.value.length - 1][1] += Marker.SPACE + values[index][1];
368 family.value.push(values[index]);
377 if (family.value.length === 0) {
385 var value;
389 value = values[i];
391 …ator.isFontSizeKeyword(value[1]) || validator.isUnit(value[1]) && !validator.isDynamicUnit(value[1…
400 var value;
404 value = values[i];
406 if (validator.isIdentifier(value[1])) {
417 var value = property.value;
419 if (value.length < 1)
422 if (value.length < 2)
423 value[1] = value[0].slice(0);
424 if (value.length < 3)
425 value[2] = value[0].slice(0);
426 if (value.length < 4)
427 value[3] = value[1].slice(0);
434 component.value = [value[i]];
444 var values = property.value;
464 _property.value = values.slice(from, to);
476 components[i].value.push([Token.PROPERTY_VALUE, Marker.COMMA]);
477 Array.prototype.push.apply(components[i].value, splitComponents[j][i].value); argument
491 if (property.value.length == 1 && property.value[0][1] == 'inherit') {
492 type.value = position.value = image.value = [property.value[0]];
496 var values = property.value.slice(0);
503 image.value = [values[index]];
512 position.value = [values[index]];
520 type.value = [values[0]];
532 var values = property.value;
533 var value;
541 if (property.value.length == 1 && property.value[0][1] == 'inherit') {
542 prop.value = duration.value = timing.value = delay.value = property.value;
551 value = values[i];
553 if (validator.isTime(value[1]) && !durationSet) {
554 duration.value = [value];
556 } else if (validator.isTime(value[1]) && !delaySet) {
557 delay.value = [value];
559 … } else if ((validator.isGlobal(value[1]) || validator.isTimingFunction(value[1])) && !timingSet) {
560 timing.value = [value];
562 } else if (validator.isIdentifier(value[1]) && !propSet) {
563 prop.value = [value];
566 …throw new InvalidPropertyError('Invalid animation value at ' + formatPosition(value[2][0]) + '. Ig…
593 if ((property.value.length == 1 && property.value[0][1] == 'inherit') ||
594 …(property.value.length == 3 && property.value[0][1] == 'inherit' && property.value[1][1] == 'inher…
595 color.value = style.value = width.value = [property.value[0]];
599 var values = property.value.slice(0);
609 width.value = [match];
617 style.value = [match];
625 color.value = [match];