validUnit 1468 Source/core/css/parser/BisonCSSParser-in.cpp if (!validUnit(a, FAngle, HTMLStandardMode)) validUnit 1472 Source/core/css/parser/BisonCSSParser-in.cpp if (!validUnit(a, FLength, HTMLStandardMode)) validUnit 1476 Source/core/css/parser/BisonCSSParser-in.cpp if (!validUnit(a, FLength, HTMLStandardMode)) validUnit 1480 Source/core/css/parser/BisonCSSParser-in.cpp if ((propId == CSSPropertyWebkitTransform && !validUnit(a, FNumber | FLength | FNonNeg, HTMLStandardMode)) validUnit 1481 Source/core/css/parser/BisonCSSParser-in.cpp || (propId == CSSPropertyTransform && !validUnit(a, FLength | FNonNeg, HTMLStandardMode))) validUnit 1483 Source/core/css/parser/BisonCSSParser-in.cpp } else if (!validUnit(a, unit, HTMLStandardMode)) { validUnit 400 Source/core/css/parser/CSSPropertyParser.cpp return !id && validUnit(value, FLength | FPercent | FNonNeg); validUnit 584 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FNonNeg); validUnit 788 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FNonNeg); validUnit 796 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength); validUnit 811 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonNeg)); validUnit 848 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FLength | FPercent)); validUnit 866 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FLength | FPercent)); validUnit 874 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FPositiveInteger, HTMLQuirksMode)); validUnit 881 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FInteger, HTMLQuirksMode)); validUnit 932 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FNumber | FPercent | FNonNeg, HTMLStandardMode)); validUnit 996 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent | FNonNeg); validUnit 1003 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent | FNonNeg); validUnit 1014 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FInteger | FNonNeg); validUnit 1022 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength); validUnit 1046 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FNumber); validUnit 1049 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FNumber); validUnit 1052 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FInteger | FNonNeg, HTMLStandardMode); validUnit 1055 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FInteger | FNonNeg, HTMLStandardMode) && value->fValue; validUnit 1084 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonNeg)); validUnit 1088 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FNumber | FNonNeg); validUnit 1091 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FInteger, HTMLStandardMode); validUnit 1097 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent); validUnit 1103 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FInteger | FNonNeg); validUnit 1109 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FTime | FInteger | FNonNeg); validUnit 1157 Source/core/css/parser/CSSPropertyParser.cpp } else if (validUnit(value, FLength | FNonNeg)) { validUnit 1165 Source/core/css/parser/CSSPropertyParser.cpp } else if (validUnit(value, FNumber | FLength | FNonNeg)) { validUnit 1304 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = !id && validUnit(value, FNumber | FLength | FPercent); validUnit 1313 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FNonNeg); validUnit 1319 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FNumber | FNonNeg) && value->fValue == 1; validUnit 1335 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && validUnit(value, FInteger | FPercent | FNonNeg, HTMLQuirksMode)); validUnit 1339 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength); validUnit 1517 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (RuntimeEnabledFeatures::cssShapesEnabled() && !id && validUnit(value, FLength | FNonNeg)); validUnit 1520 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (RuntimeEnabledFeatures::cssShapesEnabled() && !id && validUnit(value, FNumber)); validUnit 2000 Source/core/css/parser/CSSPropertyParser.cpp || (validUnit(value, FLength | FNonNeg, HTMLStandardMode) && value->fValue)) { validUnit 2012 Source/core/css/parser/CSSPropertyParser.cpp || (!value->id && validUnit(value, FPositiveInteger, HTMLQuirksMode))) { validUnit 2265 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(value, FLength | FNonNeg) && (prevParamType == None || prevParamType == Length)) { validUnit 2439 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(valueList->current(), FPercent | FLength)) validUnit 2455 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(valueList->current(), FPercent | FLength)) validUnit 2492 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(valueList->current(), FPercent | FLength)) { validUnit 2666 Source/core/css/parser/CSSPropertyParser.cpp return isFillPositionKeyword(value->id) || validUnit(value, FPercent | FLength, ReleaseParsedCalcValue); validUnit 2828 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FLength | FPercent)) validUnit 2838 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FLength | FPercent)) { validUnit 3050 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(value, FTime)) validUnit 3066 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(value, FTime | FNonNeg)) validUnit 3084 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(value, FNumber | FNonNeg)) validUnit 3136 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(m_valueList->current(), FLength)) { validUnit 3150 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, FNumber)) validUnit 3187 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, FInteger)) validUnit 3369 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(value, FInteger) && value->fValue) { validUnit 3382 Source/core/css/parser/CSSPropertyParser.cpp if (value && validUnit(value, FInteger) && value->fValue) { validUnit 3731 Source/core/css/parser/CSSPropertyParser.cpp if (!arguments || arguments->size() < 3 || !validUnit(arguments->valueAt(0), FPositiveInteger) || !isComma(arguments->valueAt(1))) validUnit 3817 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(currentValue, FNonNeg | FLength | FPercent)) validUnit 3972 Source/core/css/parser/CSSPropertyParser.cpp valid = a->id == CSSValueAuto || validUnit(a, FLength); validUnit 4061 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FLength | FPercent | FNonNeg)) validUnit 4104 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(argument, unitFlags) || widthArguments.size() > 4) validUnit 4201 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FLength | FPercent | FNonNeg)) validUnit 4328 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(argumentX, FLength | FPercent)) validUnit 4332 Source/core/css/parser/CSSPropertyParser.cpp if (!argumentY || !validUnit(argumentY, FLength | FPercent)) validUnit 4645 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FNumber | FLength | FPercent | FNonNeg)); validUnit 4660 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent | FNonNeg); validUnit 4720 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(value, FInteger | FNonNeg, HTMLQuirksMode)) { validUnit 5265 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(v, FInteger, HTMLStandardMode)) validUnit 5267 Source/core/css/parser/CSSPropertyParser.cpp else if (validUnit(v, FPercent, HTMLStandardMode)) validUnit 5278 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, unitType, HTMLStandardMode)) validUnit 5287 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, FNumber, HTMLStandardMode)) validUnit 5307 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, FNumber, HTMLStandardMode)) validUnit 5316 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, FPercent, HTMLStandardMode)) validUnit 5325 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(v, FNumber, HTMLStandardMode)) validUnit 5530 Source/core/css/parser/CSSPropertyParser.cpp } else if (validUnit(val, FLength, HTMLStandardMode)) { validUnit 5536 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowBlur && !validUnit(val, FLength | FNonNeg, HTMLStandardMode)) validUnit 5605 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(val, FLength | FPercent)) validUnit 5635 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(arg, FNumber | FNonNeg)) { validUnit 5647 Source/core/css/parser/CSSPropertyParser.cpp } else if (!flexBasis && (arg->id == CSSValueAuto || validUnit(arg, FLength | FPercent | FNonNeg))) validUnit 6029 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowNumber() && !isCalculation(val) && validUnit(val, FInteger | FNonNeg | FPercent, HTMLStandardMode)) { validUnit 6143 Source/core/css/parser/CSSPropertyParser.cpp if (context.allowNumber() && (validUnit(val, validUnits, HTMLStandardMode) || val->id == CSSValueAuto)) { validUnit 6205 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FLength | FPercent | FNonNeg)) validUnit 6255 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(lvalue, FNumber | FNonNeg) || !validUnit(rvalue, FNumber | FNonNeg)) validUnit 6567 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(a, FAngle, HTMLStandardMode)) { validUnit 6706 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(a, FLength | FPercent)) { validUnit 6715 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(a, FLength | FPercent)) { validUnit 6753 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(a, FAngle, HTMLStandardMode)) { validUnit 6863 Source/core/css/parser/CSSPropertyParser.cpp } else if (validUnit(a, FLength | FPercent)) { validUnit 6873 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(a, FLength | FPercent)) { validUnit 6959 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(a, FLength | FPercent)) { validUnit 7272 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FNumber | FPercent | FNonNeg, HTMLStandardMode)) validUnit 7296 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FNumber | FPercent, HTMLStandardMode)) validUnit 7310 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(argument, FAngle, HTMLStandardMode)) validUnit 7324 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(argument, FLength | FNonNeg, HTMLStandardMode)) validUnit 7400 Source/core/css/parser/CSSPropertyParser.cpp } else if (validUnit(value, FPercent | FLength)) { validUnit 7414 Source/core/css/parser/CSSPropertyParser.cpp } else if (!yValue && validUnit(value, FPercent | FLength)) { validUnit 7427 Source/core/css/parser/CSSPropertyParser.cpp if (!validUnit(value, FLength)) validUnit 7481 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(m_valueList->current(), FLength)) validUnit 7707 Source/core/css/parser/CSSPropertyParser.cpp if (!value->id && validUnit(value, FLength | FPercent)) { validUnit 7729 Source/core/css/parser/CSSPropertyParser.cpp if (validUnit(firstValue, FLength | FPercent) && secondValue->id == CSSValueEachLine) validUnit 7732 Source/core/css/parser/CSSPropertyParser.cpp else if (firstValue->id == CSSValueEachLine && validUnit(secondValue, FLength | FPercent)) validUnit 7937 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonNeg)); validUnit 7949 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FNumber | FPercent | FNonNeg)); validUnit 8113 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent, SVGAttributeMode); validUnit 8152 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FNumber | FNonNeg, SVGAttributeMode); validUnit 8169 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = (!id && validUnit(value, FNumber | FPercent, SVGAttributeMode)); validUnit 8300 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent, SVGAttributeMode); validUnit 8314 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength, SVGAttributeMode); validUnit 8384 Source/core/css/parser/CSSPropertyParser.cpp validPrimitive = validUnit(value, FLength | FPercent | FNonNeg, SVGAttributeMode); validUnit 364 Source/core/css/parser/CSSPropertyParser.h inline bool validUnit(CSSParserValue* value, Units unitflags, ReleaseParsedCalcValueCondition releaseCalc = DoNotReleaseParsedCalcValue) { return validUnit(value, unitflags, m_context.mode(), releaseCalc); } validUnit 365 Source/core/css/parser/CSSPropertyParser.h bool validUnit(CSSParserValue*, Units, CSSParserMode, ReleaseParsedCalcValueCondition releaseCalc = DoNotReleaseParsedCalcValue);