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

Side by Side Diff: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp

Issue 1439793003: SVG: Promote d to a property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CSSPropertyParser Created 5 years 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
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 1076 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 case CSSPropertyMarker: 1087 case CSSPropertyMarker:
1088 case CSSPropertyMarkerStart: 1088 case CSSPropertyMarkerStart:
1089 case CSSPropertyMarkerMid: 1089 case CSSPropertyMarkerMid:
1090 case CSSPropertyMarkerEnd: 1090 case CSSPropertyMarkerEnd:
1091 case CSSPropertyFlex: 1091 case CSSPropertyFlex:
1092 case CSSPropertyFlexBasis: 1092 case CSSPropertyFlexBasis:
1093 case CSSPropertyFlexGrow: 1093 case CSSPropertyFlexGrow:
1094 case CSSPropertyFlexShrink: 1094 case CSSPropertyFlexShrink:
1095 case CSSPropertyFlexFlow: 1095 case CSSPropertyFlexFlow:
1096 case CSSPropertyStrokeDasharray: 1096 case CSSPropertyStrokeDasharray:
1097 case CSSPropertyD:
1097 validPrimitive = false; 1098 validPrimitive = false;
1098 break; 1099 break;
1099 1100
1100 case CSSPropertyScrollSnapPointsX: 1101 case CSSPropertyScrollSnapPointsX:
1101 case CSSPropertyScrollSnapPointsY: 1102 case CSSPropertyScrollSnapPointsY:
1102 parsedValue = parseScrollSnapPoints(); 1103 parsedValue = parseScrollSnapPoints();
1103 break; 1104 break;
1104 case CSSPropertyScrollSnapCoordinate: 1105 case CSSPropertyScrollSnapCoordinate:
1105 parsedValue = parseScrollSnapCoordinate(); 1106 parsedValue = parseScrollSnapCoordinate();
1106 break; 1107 break;
(...skipping 4296 matching lines...) Expand 10 before | Expand all | Expand 10 after
5403 m_valueList->next(); 5404 m_valueList->next();
5404 } 5405 }
5405 if (!parsedValue || (m_valueList->current() && !inShorthand())) 5406 if (!parsedValue || (m_valueList->current() && !inShorthand()))
5406 return false; 5407 return false;
5407 5408
5408 addProperty(propId, parsedValue.release(), important); 5409 addProperty(propId, parsedValue.release(), important);
5409 return true; 5410 return true;
5410 } 5411 }
5411 5412
5412 } // namespace blink 5413 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698