Changeset 105370 in webkit
- Timestamp:
- Jan 18, 2012 6:02:04 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r105366 r105370 1 2012-01-18 Thiago Marcos P. Santos <tmpsantos@gmail.com> 2 3 Save two ID checks on CSS Min/Width property validation 4 https://bugs.webkit.org/show_bug.cgi?id=76565 5 6 The same validation is done again in the next case statement. Check for 7 CSSValueIntrinsic and CSSValueMinIntrinsic was done twice when the value 8 is a number. 9 10 Reviewed by Andreas Kling. 11 12 * css/CSSParser.cpp: 13 (WebCore::CSSParser::parseValue): 14 1 15 2012-01-18 Dana Jansens <danakj@chromium.org> 2 16 -
trunk/Source/WebCore/css/CSSParser.cpp
r105135 r105370 1316 1316 case CSSPropertyWebkitMaxLogicalWidth: 1317 1317 case CSSPropertyWebkitMaxLogicalHeight: 1318 if (id == CSSValueNone || id == CSSValueIntrinsic || id == CSSValueMinIntrinsic) {1318 if (id == CSSValueNone) { 1319 1319 validPrimitive = true; 1320 1320 break;
Note: See TracChangeset
for help on using the changeset viewer.