Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Side by Side Diff: Source/core/css/parser/CSSPropertyParser.cpp

Issue 669553002: Remove <marquee> leftovers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/css/parser/CSSParserFastPaths.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * Copyright (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> 5 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com>
6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 6 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. 8 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved.
9 * Copyright (C) 2012 Intel Corporation. All rights reserved. 9 * Copyright (C) 2012 Intel Corporation. All rights reserved.
10 * 10 *
(...skipping 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after
1082 else 1082 else
1083 validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonN eg)); 1083 validPrimitive = (!id && validUnit(value, FLength | FPercent | FNonN eg));
1084 break; 1084 break;
1085 case CSSPropertyFlexGrow: 1085 case CSSPropertyFlexGrow:
1086 case CSSPropertyFlexShrink: 1086 case CSSPropertyFlexShrink:
1087 validPrimitive = validUnit(value, FNumber | FNonNeg); 1087 validPrimitive = validUnit(value, FNumber | FNonNeg);
1088 break; 1088 break;
1089 case CSSPropertyOrder: 1089 case CSSPropertyOrder:
1090 validPrimitive = validUnit(value, FInteger); 1090 validPrimitive = validUnit(value, FInteger);
1091 break; 1091 break;
1092 case CSSPropertyInternalMarqueeIncrement:
1093 validPrimitive = validUnit(value, FLength | FPercent);
1094 break;
1095 case CSSPropertyInternalMarqueeRepetition:
1096 if (id == CSSValueInfinite)
1097 validPrimitive = true;
1098 else
1099 validPrimitive = validUnit(value, FInteger | FNonNeg);
1100 break;
1101 case CSSPropertyInternalMarqueeSpeed:
1102 validPrimitive = validUnit(value, FInteger | FNonNeg);
1103 break;
1104 case CSSPropertyTransform: 1092 case CSSPropertyTransform:
1105 case CSSPropertyWebkitTransform: 1093 case CSSPropertyWebkitTransform:
1106 if (id == CSSValueNone) 1094 if (id == CSSValueNone)
1107 validPrimitive = true; 1095 validPrimitive = true;
1108 else { 1096 else {
1109 RefPtrWillBeRawPtr<CSSValue> transformValue = parseTransform(propId) ; 1097 RefPtrWillBeRawPtr<CSSValue> transformValue = parseTransform(propId) ;
1110 if (transformValue) { 1098 if (transformValue) {
1111 addProperty(propId, transformValue.release(), important); 1099 addProperty(propId, transformValue.release(), important);
1112 return true; 1100 return true;
1113 } 1101 }
(...skipping 7234 matching lines...) Expand 10 before | Expand all | Expand 10 after
8348 return nullptr; 8336 return nullptr;
8349 a = args->next(); 8337 a = args->next();
8350 8338
8351 argNumber++; 8339 argNumber++;
8352 } 8340 }
8353 8341
8354 return transformValue.release(); 8342 return transformValue.release();
8355 } 8343 }
8356 8344
8357 } // namespace blink 8345 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/css/parser/CSSParserFastPaths.cpp ('k') | Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698