Changeset 213561 in webkit
- Timestamp:
- Mar 7, 2017, 7:15:02 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r213560 r213561 1 2017-03-07 Simon Fraser <simon.fraser@apple.com> 2 3 Parsing -webkit-hyphenate-character uses confusingly named consumeLocale() 4 https://bugs.webkit.org/show_bug.cgi?id=168638 5 6 Reviewed by Zalan Bujtas. 7 8 Parsing CSSPropertyWebkitHyphenateCharacter very confusingly called consumeLocale(), 9 which is really just "consume the 'auto' ident or a string", so rename that function. 10 11 * css/parser/CSSPropertyParser.cpp: 12 (WebCore::consumeAutoOrString): 13 (WebCore::CSSPropertyParser::parseSingleValue): 14 (WebCore::consumeLocale): Deleted. 15 1 16 2017-03-07 Jiewen Tan <jiewen_tan@apple.com> 2 17 -
trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp
r213528 r213561 1379 1379 } 1380 1380 1381 static RefPtr<CSSValue> consume Locale(CSSParserTokenRange& range)1381 static RefPtr<CSSValue> consumeAutoOrString(CSSParserTokenRange& range) 1382 1382 { 1383 1383 if (range.peek().id() == CSSValueAuto) … … 3923 3923 case CSSPropertyWebkitHyphenateCharacter: 3924 3924 case CSSPropertyWebkitLocale: 3925 return consume Locale(m_range);3925 return consumeAutoOrString(m_range); 3926 3926 case CSSPropertyWebkitHyphenateLimitBefore: 3927 3927 case CSSPropertyWebkitHyphenateLimitAfter:
Note:
See TracChangeset
for help on using the changeset viewer.