• Home
  • Raw
  • Download

Lines Matching refs:id

272 bool CSSParser::parseValue(CSSMutableStyleDeclaration* declaration, int id, const String& string, b…  in parseValue()  argument
282 m_id = id; in parseValue()
515 if (value->unit != CSSPrimitiveValue::CSS_IDENT || value->id) in unitFromString()
597 int id = value->id; in parseValue() local
605 if (id == CSSValueInherit) { in parseValue()
611 else if (id == CSSValueInitial) { in parseValue()
641 if (id) in parseValue()
645 if (id == CSSValueNormal || in parseValue()
646 id == CSSValueEmbed || in parseValue()
647 id == CSSValueBidiOverride) in parseValue()
652 if (id == CSSValueStatic || in parseValue()
653 id == CSSValueRelative || in parseValue()
654 id == CSSValueAbsolute || in parseValue()
655 id == CSSValueFixed) in parseValue()
663 if (id == CSSValueAuto || in parseValue()
664 id == CSSValueAlways || in parseValue()
665 id == CSSValueAvoid || in parseValue()
666 id == CSSValueLeft || in parseValue()
667 id == CSSValueRight) in parseValue()
673 if (id == CSSValueAuto || id == CSSValueAvoid) in parseValue()
678 if (id == CSSValueShow || in parseValue()
679 id == CSSValueHide) in parseValue()
688 if (id == CSSValueNormal || in parseValue()
689 id == CSSValuePre || in parseValue()
690 id == CSSValuePreWrap || in parseValue()
691 id == CSSValuePreLine || in parseValue()
692 id == CSSValueNowrap) in parseValue()
697 if (id == CSSValueAuto) in parseValue()
707 if (id == CSSValueLeft || id == CSSValueRight || in parseValue()
708 id == CSSValueTop || id == CSSValueBottom) in parseValue()
713 if (id == CSSValueCollapse || id == CSSValueSeparate) in parseValue()
718 if (id == CSSValueVisible || id == CSSValueHidden || id == CSSValueCollapse) in parseValue()
732 … if (id == CSSValueVisible || id == CSSValueHidden || id == CSSValueScroll || id == CSSValueAuto || in parseValue()
733 id == CSSValueOverlay || id == CSSValueWebkitMarquee) in parseValue()
738 if (id == CSSValueInside || id == CSSValueOutside) in parseValue()
745 if ((id >= CSSValueDisc && id <= CSSValueKatakanaIroha) || id == CSSValueNone) in parseValue()
754 if ((id >= CSSValueInline && id <= CSSValueWapMarquee) || id == CSSValueNone) in parseValue()
756 if ((id >= CSSValueInline && id <= CSSValueWebkitInlineBox) || id == CSSValueNone) in parseValue()
762 if (id == CSSValueLtr || id == CSSValueRtl) in parseValue()
767 if ((id >= CSSValueCapitalize && id <= CSSValueLowercase) || id == CSSValueNone) in parseValue()
772 if (id == CSSValueLeft || id == CSSValueRight || in parseValue()
773 id == CSSValueNone || id == CSSValueCenter) in parseValue()
778 if (id == CSSValueNone || id == CSSValueLeft || in parseValue()
779 id == CSSValueRight|| id == CSSValueBoth) in parseValue()
785 …if ((id >= CSSValueWebkitAuto && id <= CSSValueWebkitCenter) || id == CSSValueStart || id == CSSVa… in parseValue()
791 … if (id == CSSValueAuto || id == CSSValueNone || (id >= CSSValueInset && id <= CSSValueDouble)) in parseValue()
800 if (id >= CSSValueNone && id <= CSSValueDouble) in parseValue()
833 …if (propId == CSSPropertyOutlineColor && (id == CSSValueInvert || id == CSSValueWebkitFocusRingCol… in parseValue()
850 if (id == CSSValueWebkitText) in parseValue()
853 else if (id == CSSValueCurrentcolor) in parseValue()
855 else if ((id >= CSSValueAqua && id <= CSSValueWindowtext) || id == CSSValueMenu || in parseValue()
856 (id >= CSSValueWebkitFocusRingColor && id < CSSValueWebkitText && !m_strict)) { in parseValue()
903 } else if (!m_strict && value->id == CSSValueHand) // MSIE 5 compatibility :/ in parseValue()
905 …lse if (value && ((value->id >= CSSValueAuto && value->id <= CSSValueWebkitGrabbing) || value->id in parseValue()
906 list->append(CSSPrimitiveValue::createIdentifier(value->id)); in parseValue()
911 id = value->id; in parseValue()
912 if (!m_strict && value->id == CSSValueHand) { // MSIE 5 compatibility :/ in parseValue()
913 id = CSSValuePointer; in parseValue()
915 …} else if ((value->id >= CSSValueAuto && value->id <= CSSValueWebkitGrabbing) || value->id == CSSV… in parseValue()
968 if (id == CSSValueNone) { in parseValue()
993 if (id == CSSValueThin || id == CSSValueMedium || id == CSSValueThick) in parseValue()
1001 if (id == CSSValueNormal) in parseValue()
1008 if (id == CSSValueNormal || id == CSSValueBreakAll || id == CSSValueBreakWord) in parseValue()
1013 if (id == CSSValueNormal || id == CSSValueBreakWord) in parseValue()
1023 validPrimitive = (!id && validUnit(value, FLength | FPercent, m_strict)); in parseValue()
1028 if (id == CSSValueNone || id == CSSValueIntrinsic || id == CSSValueMinIntrinsic) { in parseValue()
1035 if (id == CSSValueIntrinsic || id == CSSValueMinIntrinsic) in parseValue()
1038 validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonNeg, m_strict)); in parseValue()
1043 if (id >= CSSValueXxSmall && id <= CSSValueLarger) in parseValue()
1059 if (id >= CSSValueBaseline && id <= CSSValueWebkitBaselineMiddle) in parseValue()
1062 validPrimitive = (!id && validUnit(value, FLength | FPercent, m_strict)); in parseValue()
1067 if (id == CSSValueAuto || id == CSSValueIntrinsic || id == CSSValueMinIntrinsic) in parseValue()
1071 validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonNeg, m_strict)); in parseValue()
1083 if (id == CSSValueAuto) in parseValue()
1086 validPrimitive = (!id && validUnit(value, FLength | FPercent, m_strict)); in parseValue()
1090 if (id == CSSValueAuto) { in parseValue()
1098 validPrimitive = (!id && validUnit(value, FInteger, false)); in parseValue()
1102 if (id == CSSValueNormal) in parseValue()
1105 … validPrimitive = (!id && validUnit(value, FNumber | FLength | FPercent | FNonNeg, m_strict)); in parseValue()
1108 if (id != CSSValueNone) in parseValue()
1113 if (id != CSSValueNone) in parseValue()
1127 if (id == CSSValueNone) { in parseValue()
1133 switch (value->id) { in parseValue()
1139 list->append(CSSPrimitiveValue::createIdentifier(value->id)); in parseValue()
1154 if (id == CSSValueNormal || id == CSSValueReset || id == CSSValueDocument) in parseValue()
1157 validPrimitive = (!id && validUnit(value, FNumber | FPercent | FNonNeg, true)); in parseValue()
1161 if (id == CSSValueAuto || id == CSSValueFixed) in parseValue()
1173 if ((id >= CSSValueCheckbox && id <= CSSValueTextarea) || id == CSSValueNone) in parseValue()
1179 if (id == CSSValueNone) in parseValue()
1213 if (id == CSSValueNone) in parseValue()
1256 if (id == CSSValueNone) in parseValue()
1262 if (id == CSSValueNone) in parseValue()
1271 if (id == CSSValueStretch || id == CSSValueStart || id == CSSValueEnd || in parseValue()
1272 id == CSSValueCenter || id == CSSValueBaseline) in parseValue()
1276 if (id == CSSValueNormal || id == CSSValueReverse) in parseValue()
1280 if (id == CSSValueSingle || id == CSSValueMultiple) in parseValue()
1284 if (id == CSSValueHorizontal || id == CSSValueVertical || in parseValue()
1285 id == CSSValueInlineAxis || id == CSSValueBlockAxis) in parseValue()
1289 if (id == CSSValueStart || id == CSSValueEnd || in parseValue()
1290 id == CSSValueCenter || id == CSSValueJustify) in parseValue()
1301 validPrimitive = id == CSSValueBorderBox || id == CSSValueContentBox; in parseValue()
1304 validPrimitive = id == CSSValueSrgb || id == CSSValueDefault; in parseValue()
1313 if (id == CSSValueForwards || id == CSSValueBackwards || id == CSSValueAhead || in parseValue()
1314id == CSSValueReverse || id == CSSValueLeft || id == CSSValueRight || id == CSSValueDown || in parseValue()
1315 id == CSSValueUp || id == CSSValueAuto) in parseValue()
1319 if (id == CSSValueSmall || id == CSSValueLarge || id == CSSValueMedium) in parseValue()
1325 … if (id == CSSValueNone || id == CSSValueSlide || id == CSSValueScroll || id == CSSValueAlternate) in parseValue()
1329 if (id == CSSValueInfinite) in parseValue()
1335 if (id == CSSValueNormal || id == CSSValueSlow || id == CSSValueFast) in parseValue()
1342 if (id == CSSValueLtr || id == CSSValueRtl) in parseValue()
1346 … if (id == CSSValueNone || id == CSSValueSlide || id == CSSValueScroll || id == CSSValueAlternate) in parseValue()
1350 if (id == CSSValueInfinite) in parseValue()
1356 if (id == CSSValueNormal || id == CSSValueSlow || id == CSSValueFast) in parseValue()
1363 if (id == CSSValueAuto || id == CSSValueNone || id == CSSValueElement) in parseValue()
1367 … if (id == CSSValueReadOnly || id == CSSValueReadWrite || id == CSSValueReadWritePlaintextOnly) in parseValue()
1371 if (id == CSSValueAuto || id == CSSValueNone || id == CSSValueText) in parseValue()
1375 if (id == CSSValueClip || id == CSSValueEllipsis) in parseValue()
1379 if (id == CSSValueNone) in parseValue()
1409 if (value->id == CSSValueFlat || value->id == CSSValuePreserve3d) in parseValue()
1413 if (value->id == CSSValueVisible || value->id == CSSValueHidden) in parseValue()
1417 if (id == CSSValueNone) in parseValue()
1484 if (id == CSSValueCollapse || id == CSSValueSeparate || id == CSSValueDiscard) in parseValue()
1490 if (id == CSSValueContinuous || id == CSSValueSkipWhiteSpace) in parseValue()
1496 if (id == CSSValueNone || id == CSSValueSolid || id == CSSValueDouble || in parseValue()
1497 id == CSSValueDashed || id == CSSValueDotDash || id == CSSValueDotDotDash || in parseValue()
1498 id == CSSValueWave) in parseValue()
1502 if (id == CSSValueAuto || id == CSSValueOptimizespeed || id == CSSValueOptimizelegibility in parseValue()
1503 || id == CSSValueGeometricprecision) in parseValue()
1509 if (id == CSSValueAuto || id == CSSValueNormal || id == CSSValueThin || in parseValue()
1510 id == CSSValueMedium || id == CSSValueThick) in parseValue()
1513 validPrimitive = !id && validUnit(value, FNumber | FLength | FPercent, m_strict); in parseValue()
1516 …if (id == CSSValueNone || id == CSSValueBoth || id == CSSValueHorizontal || id == CSSValueVertical… in parseValue()
1520 if (id == CSSValueAuto) in parseValue()
1523 validPrimitive = !id && validUnit(value, FInteger | FNonNeg, false); in parseValue()
1526 if (id == CSSValueNormal) in parseValue()
1532 if (id == CSSValueAuto) in parseValue()
1540 … if (id == CSSValueVisible || id == CSSValueNone || id == CSSValueAll || id == CSSValueAuto || in parseValue()
1541 (id >= CSSValueVisiblepainted && id <= CSSValueStroke)) in parseValue()
1552 …validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && va… in parseValue()
1555 if (id == CSSValueAuto || id == CSSValueNone) in parseValue()
1559 if (id == CSSValueLogical || id == CSSValueVisual) in parseValue()
1568 if (id == CSSValueNormal || id == CSSValueSpace) in parseValue()
1573 if (id == CSSValueNormal || id == CSSValueAfterWhiteSpace) in parseValue()
1578 if (id == CSSValueNormal || id == CSSValueMatch) in parseValue()
1583 if (id == CSSValueNone || value->unit == CSSPrimitiveValue::CSS_STRING) in parseValue()
1588 if (id == CSSValueBorder || id == CSSValueLines) in parseValue()
1594 if (id == CSSValueDisc || id == CSSValueCircle || id == CSSValueSquare|| id == CSSValueNone) in parseValue()
1599 if (id == CSSValueAuto || id == CSSValueNone in parseValue()
1600 || id == CSSValueAntialiased || id == CSSValueSubpixelAntialiased) in parseValue()
1606 if (value->unit == CSSParserValue::Function || id == CSSValueNone) in parseValue()
1708 if (id >= CSSValueCaption && id <= CSSValueStatusBar) in parseValue()
1760 if (id != 0) in parseValue()
1761 parsedValue = CSSPrimitiveValue::createIdentifier(id); in parseValue()
1800 …if (parserValue->id == CSSValueBorderBox || parserValue->id == CSSValuePaddingBox || parserValue-> in parseBackgroundClip()
1801 cssValue = CSSPrimitiveValue::createIdentifier(parserValue->id); in parseBackgroundClip()
2251 int id = m_valueList->current()->id; in parseBackgroundColor() local
2252 …if (id == CSSValueWebkitText || (id >= CSSValueAqua && id <= CSSValueWindowtext) || id == CSSValue… in parseBackgroundColor()
2253 (id >= CSSValueGrey && id < CSSValueWebkitText && !m_strict)) in parseBackgroundColor()
2254 return CSSPrimitiveValue::createIdentifier(id); in parseBackgroundColor()
2260 if (m_valueList->current()->id == CSSValueNone) { in parseFillImage()
2284 int id = m_valueList->current()->id; in parseFillPositionXY() local
2285 …if (id == CSSValueLeft || id == CSSValueTop || id == CSSValueRight || id == CSSValueBottom || id =… in parseFillPositionXY()
2287 if (id == CSSValueLeft || id == CSSValueRight) { in parseFillPositionXY()
2291 if (id == CSSValueRight) in parseFillPositionXY()
2294 else if (id == CSSValueTop || id == CSSValueBottom) { in parseFillPositionXY()
2298 if (id == CSSValueBottom) in parseFillPositionXY()
2301 else if (id == CSSValueCenter) in parseFillPositionXY()
2360 int id = m_valueList->current()->id; in parseFillRepeat() local
2361 if (id == CSSValueRepeatX) { in parseFillRepeat()
2368 if (id == CSSValueRepeatY) { in parseFillRepeat()
2375 … if (id == CSSValueRepeat || id == CSSValueNoRepeat || id == CSSValueRound || id == CSSValueSpace) in parseFillRepeat()
2376 value1 = CSSPrimitiveValue::createIdentifier(id); in parseFillRepeat()
2389 id = m_valueList->current()->id; in parseFillRepeat()
2391 …if (value && (id == CSSValueRepeat || id == CSSValueNoRepeat || id == CSSValueRound || id == CSSVa… in parseFillRepeat()
2392 value2 = CSSPrimitiveValue::createIdentifier(id); in parseFillRepeat()
2406 if (value->id == CSSValueContain || value->id == CSSValueCover) in parseFillSize()
2407 return CSSPrimitiveValue::createIdentifier(value->id); in parseFillSize()
2411 if (value->id == CSSValueAuto) in parseFillSize()
2422 if (value->id == CSSValueAuto) in parseFillSize()
2489 … if (val->id == CSSValueScroll || val->id == CSSValueFixed || val->id == CSSValueLocal) { in parseFillProperty()
2490 currValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFillProperty()
2505 … if (val->id == CSSValueBorder || val->id == CSSValuePadding || val->id == CSSValueContent || in parseFillProperty()
2506 … val->id == CSSValueBorderBox || val->id == CSSValuePaddingBox || val->id == CSSValueContentBox || in parseFillProperty()
2508 (val->id == CSSValueText || val->id == CSSValueWebkitText))) { in parseFillProperty()
2509 currValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFillProperty()
2518 …if (val->id == CSSValueBorderBox || val->id == CSSValuePaddingBox || val->id == CSSValueContentBox… in parseFillProperty()
2519 currValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFillProperty()
2546 …if ((val->id >= CSSValueClear && val->id <= CSSValuePlusLighter) || val->id == CSSValueHighlight) { in parseFillProperty()
2547 currValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFillProperty()
2621 if (value->id == CSSValueNormal || value->id == CSSValueAlternate) in parseAnimationDirection()
2622 return CSSPrimitiveValue::createIdentifier(value->id); in parseAnimationDirection()
2637 if (value->id == CSSValueInfinite) in parseAnimationIterationCount()
2638 return CSSPrimitiveValue::createIdentifier(value->id); in parseAnimationIterationCount()
2648 …if (value->id == CSSValueNone || (value->unit == CSSPrimitiveValue::CSS_STRING && equalIgnoringCas… in parseAnimationName()
2660 if (value->id == CSSValueRunning || value->id == CSSValuePaused) in parseAnimationPlayState()
2661 return CSSPrimitiveValue::createIdentifier(value->id); in parseAnimationPlayState()
2713 …if (value->id == CSSValueEase || value->id == CSSValueLinear || value->id == CSSValueEaseIn || val… in parseAnimationTimingFunction()
2714 return CSSPrimitiveValue::createIdentifier(value->id); in parseAnimationTimingFunction()
2861 if (value->id == CSSValueNone) { in parseDashboardRegions()
2864 addProperty(propId, CSSPrimitiveValue::createIdentifier(value->id), important); in parseDashboardRegions()
2947 valid = arg->id == CSSValueAuto || validUnit(arg, FLength, m_strict); in parseDashboardRegions()
2951 RefPtr<CSSPrimitiveValue> amount = arg->id == CSSValueAuto ? in parseDashboardRegions()
3021 if (i->id == CSSValueNone) in parseCounterContent()
3023 else if (i->id >= CSSValueDisc && i->id <= CSSValueKatakanaIroha) in parseCounterContent()
3024 ls = i->id - CSSValueDisc; in parseCounterContent()
3050 valid = a->id == CSSValueAuto || validUnit(a, FLength, m_strict); in parseShape()
3053 RefPtr<CSSPrimitiveValue> length = a->id == CSSValueAuto ? in parseShape()
3091 int id = value->id; in parseFont() local
3092 if (id) { in parseFont()
3093 if (id == CSSValueNormal) { in parseFont()
3095 } else if (id == CSSValueItalic || id == CSSValueOblique) { in parseFont()
3098 font->style = CSSPrimitiveValue::createIdentifier(id); in parseFont()
3099 } else if (id == CSSValueSmallCaps) { in parseFont()
3102 font->variant = CSSPrimitiveValue::createIdentifier(id); in parseFont()
3103 } else if (id >= CSSValueBold && id <= CSSValueLighter) { in parseFont()
3106 font->weight = CSSPrimitiveValue::createIdentifier(id); in parseFont()
3156 if (value->id >= CSSValueXxSmall && value->id <= CSSValueLarger) in parseFont()
3157 font->size = CSSPrimitiveValue::createIdentifier(value->id); in parseFont()
3169 if (value->id == CSSValueNormal) { in parseFont()
3204 ((nextValue->id >= CSSValueSerif && nextValue->id <= CSSValueWebkitBody) || in parseFontFamily()
3207 if (value->id >= CSSValueSerif && value->id <= CSSValueWebkitBody) { in parseFontFamily()
3211 list->append(CSSPrimitiveValue::createIdentifier(value->id)); in parseFontFamily()
3263 … if (val->id == CSSValueNormal || val->id == CSSValueItalic || val->id == CSSValueOblique) in parseFontStyle()
3264 parsedValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFontStyle()
3265 else if (val->id == CSSValueAll && !values) { in parseFontStyle()
3269 parsedValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFontStyle()
3310 if (val->id == CSSValueNormal || val->id == CSSValueSmallCaps) in parseFontVariant()
3311 parsedValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFontVariant()
3312 else if (val->id == CSSValueAll && !values) { in parseFontVariant()
3316 parsedValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFontVariant()
3358 if (val->id >= CSSValueNormal && val->id <= CSSValue900) in parseFontWeight()
3359 parsedValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFontWeight()
3360 else if (val->id == CSSValueAll && !values) { in parseFontWeight()
3364 parsedValue = CSSPrimitiveValue::createIdentifier(val->id); in parseFontWeight()
3789 style = CSSPrimitiveValue::createIdentifier(v->id); in commitStyle()
3844 } else if (val->id == CSSValueInset) { in parseShadow()
3852 …bool isColor = ((val->id >= CSSValueAqua && val->id <= CSSValueWindowtext) || val->id == CSSValueM… in parseShadow()
3853 … (val->id >= CSSValueWebkitFocusRingColor && val->id <= CSSValueWebkitText && !m_strict)); in parseShadow()
3857 parsedColor = CSSPrimitiveValue::createIdentifier(val->id); in parseShadow()
3893 switch (val->id) { in parseReflect()
4097 …(val->id == CSSValueThin || val->id == CSSValueMedium || val->id == CSSValueThick || validUnit(val… in parseBorderImage()
4100 (val->id == CSSValueStretch || val->id == CSSValueRound || val->id == CSSValueRepeat)) { in parseBorderImage()
4101 context.commitRule(val->id); in parseBorderImage()
4276 int id = args->current()->id; in parseGradientColorStop() local
4277 …if (id == CSSValueWebkitText || (id >= CSSValueAqua && id <= CSSValueWindowtext) || id == CSSValue… in parseGradientColorStop()
4278 stop.m_color = CSSPrimitiveValue::createIdentifier(id); in parseGradientColorStop()
4303 int id = stopArg->id; in parseGradientColorStop() local
4304 …if (id == CSSValueWebkitText || (id >= CSSValueAqua && id <= CSSValueWindowtext) || id == CSSValue… in parseGradientColorStop()
4305 stop.m_color = CSSPrimitiveValue::createIdentifier(id); in parseGradientColorStop()
5108 int id = property->id(); in createFontFaceRule() local
5109 …if ((id == CSSPropertyFontWeight || id == CSSPropertyFontStyle || id == CSSPropertyFontVariant) &&… in createFontFaceRule()
5267 int id = property->id(); in deleteFontFaceOnlyValues() local
5268 …if ((id == CSSPropertyFontWeight || id == CSSPropertyFontStyle || id == CSSPropertyFontVariant) &&… in deleteFontFaceOnlyValues()
5356 return hashTableEntry ? hashTableEntry->id : 0; in cssPropertyID()
5398 return hashTableEntry ? hashTableEntry->id : 0; in cssValueKeywordID()