Changeset 208678 in webkit
- Timestamp:
- Nov 14, 2016 5:48:41 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r208677 r208678 1 2016-11-14 Csaba Osztrogonác <ossy@webkit.org> 2 3 Fix the !ENABLE(CSS_GRID_LAYOUT) build 4 https://bugs.webkit.org/show_bug.cgi?id=164477 5 6 Reviewed by Darin Adler. 7 8 * css/parser/CSSParserFastPaths.cpp: 9 (WebCore::isSimpleLengthPropertyID): 10 * css/parser/CSSPropertyParser.cpp: 11 (WebCore::CSSPropertyParser::parseSingleValue): 12 (WebCore::CSSPropertyParser::parseShorthand): 13 1 14 2016-11-14 Csaba Osztrogonác <ossy@webkit.org> 2 15 -
trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp
r208636 r208678 50 50 switch (propertyId) { 51 51 case CSSPropertyFontSize: 52 #if ENABLE(CSS_GRID_LAYOUT) 52 53 case CSSPropertyGridColumnGap: 53 54 case CSSPropertyGridRowGap: 55 #endif 54 56 case CSSPropertyHeight: 55 57 case CSSPropertyWidth: -
trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp
r208620 r208678 2684 2684 } 2685 2685 2686 #if ENABLE(CSS_GRID_LAYOUT) 2686 2687 static RefPtr<CSSValueList> consumeGridAutoFlow(CSSParserTokenRange& range) 2687 2688 { … … 2700 2701 return parsedValues; 2701 2702 } 2703 #endif 2702 2704 2703 2705 static RefPtr<CSSValue> consumeBackgroundComponent(CSSPropertyID property, CSSParserTokenRange& range, const CSSParserContext& context) … … 3560 3562 case CSSPropertyTransitionTimingFunction: 3561 3563 return consumeAnimationPropertyList(property, m_range, m_context); 3564 #if ENABLE(CSS_GRID_LAYOUT) 3562 3565 case CSSPropertyGridColumnGap: 3563 3566 case CSSPropertyGridRowGap: 3564 3567 return consumeLength(m_range, m_context.mode, ValueRangeNonNegative); 3568 #endif 3565 3569 case CSSPropertyShapeMargin: 3566 3570 return consumeLengthOrPercent(m_range, m_context.mode, ValueRangeNonNegative); … … 4710 4714 } 4711 4715 4716 #if ENABLE(CSS_GRID_LAYOUT) 4712 4717 bool CSSPropertyParser::consumeGridItemPositionShorthand(CSSPropertyID shorthandId, bool important) 4713 4718 { … … 4968 4973 return true; 4969 4974 } 4975 #endif 4970 4976 4971 4977 bool CSSPropertyParser::parseShorthand(CSSPropertyID property, bool important) … … 5120 5126 case CSSPropertyPerspectiveOrigin: 5121 5127 return consumePerspectiveOrigin(important); 5128 #if ENABLE(CSS_GRID_LAYOUT) 5122 5129 case CSSPropertyGridGap: { 5123 5130 RefPtr<CSSValue> rowGap = consumeLength(m_range, m_context.mode, ValueRangeNonNegative); … … 5140 5147 case CSSPropertyGrid: 5141 5148 return consumeGridShorthand(important); 5149 #endif 5142 5150 case CSSPropertyWebkitMarquee: 5143 5151 return consumeShorthandGreedily(webkitMarqueeShorthand(), important);
Note: See TracChangeset
for help on using the changeset viewer.