Lines Matching refs:left
176 function wouldResultInLongerValue(left, right) { argument
177 if (!left.multiplex && !right.multiplex || left.multiplex && right.multiplex)
180 var multiplex = left.multiplex ? left : right;
181 var simple = left.multiplex ? right : left;
192 if (left.multiplex) {
212 function noneOverrideHack(left, right) { argument
213 return !left.multiplex &&
214 (left.name == 'background' || left.name == 'background-image') &&
249 var mayOverride, right, left, component;
270 left = properties[j];
272 if (!isCompactable(left))
275 if (left.block)
278 if (left.unused || right.unused)
281 … if (left.hack && !right.hack && !right.important || !left.hack && !left.important && right.hack)
284 if (left.important == right.important && left.hack[0] != right.hack[0])
287 …if (left.important == right.important && (left.hack[0] != right.hack[0] || (left.hack[1] && left.h…
293 if (noneOverrideHack(left, right))
296 if (right.shorthand && isComponentOf(right, left)) {
298 if (!right.important && left.important)
301 if (!sameVendorPrefixesIn([left], right.components))
304 if (!anyValue(validator.isFunction, left) && overridingFunction(right, validator))
308 left.unused = true;
312 component = findComponentIn(right, left);
313 mayOverride = compactable[left.name].canOverride;
314 if (everyValuesPair(mayOverride.bind(null, validator), left, component)) {
315 left.unused = true;
317 } else if (right.shorthand && overridesNonComponentShorthand(right, left)) {
319 if (!right.important && left.important) {
323 if (!sameVendorPrefixesIn([left], right.components)) {
327 if (!anyValue(validator.isFunction, left) && overridingFunction(right, validator)) {
331 overriddenComponents = left.shorthand ?
332 left.components:
333 [left];
340 if (!everyValuesPair(mayOverride.bind(null, validator), left, overridingComponent)) {
345 left.unused = true;
346 …} else if (withMerging && left.shorthand && !right.shorthand && isComponentOf(left, right, true)) {
348 if (right.important && !left.important)
351 if (!right.important && left.important) {
357 if (moreSameShorthands(properties, i - 1, left.name))
360 if (overridingFunction(left, validator))
363 if (!isMergeableShorthand(left))
366 component = findComponentIn(left, right);
377 if (!compatibility.properties.merging && wouldBreakCompatibility(left, validator))
380 if (component.value[0][1] != right.value[0][1] && (hasInherit(left) || hasInherit(right)))
383 if (wouldResultInLongerValue(left, right))
386 if (!left.multiplex && right.multiplex)
387 turnIntoMultiplex(left, multiplexSize(right));
390 left.dirty = true;
392 } else if (withMerging && left.shorthand && right.shorthand && left.name == right.name) {
395 if (!left.multiplex && right.multiplex)
398 if (!right.important && left.important) {
403 if (right.important && !left.important) {
404 left.unused = true;
409 left.unused = true;
413 for (k = left.components.length - 1; k >= 0; k--) {
414 var leftComponent = left.components[k];
422 overrideShorthand(left, right);
423 left.dirty = true;
424 } else if (withMerging && left.shorthand && right.shorthand && isComponentOf(left, right)) {
427 if (!left.important && right.important)
430 component = findComponentIn(left, right);
435 if (left.important && !right.important) {
444 component = findComponentIn(left, right);
447 } else if (left.name == right.name) {
453 overriddenComponent = left.components[k];
461 overridable = everyValuesPair(mayOverride.bind(null, validator), left, right);
464 if (left.important && !right.important && overridable) {
469 if (!left.important && right.important && overridable) {
470 left.unused = true;
478 left.unused = true;