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

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

Issue 562743003: Remove outdated comment in CSSPropertyParser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | 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 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after
2185 } else if (equalIgnoringCase(val->function->name, "-webkit-image-set (")) { 2185 } else if (equalIgnoringCase(val->function->name, "-webkit-image-set (")) {
2186 parsedValue = parseImageSet(m_valueList); 2186 parsedValue = parseImageSet(m_valueList);
2187 if (!parsedValue) 2187 if (!parsedValue)
2188 return false; 2188 return false;
2189 } else if (isGeneratedImageValue(val)) { 2189 } else if (isGeneratedImageValue(val)) {
2190 if (!parseGeneratedImage(m_valueList, parsedValue)) 2190 if (!parseGeneratedImage(m_valueList, parsedValue))
2191 return false; 2191 return false;
2192 } else 2192 } else
2193 return false; 2193 return false;
2194 } else if (val->unit == CSSPrimitiveValue::CSS_IDENT) { 2194 } else if (val->unit == CSSPrimitiveValue::CSS_IDENT) {
2195 // open-quote
2196 // close-quote
2197 // no-open-quote
2198 // no-close-quote
2199 // inherit
2200 // FIXME: These are not yet implemented (http://bugs.webkit.org/show _bug.cgi?id=6503).
2201 // none
2202 // normal
2203 switch (val->id) { 2195 switch (val->id) {
2204 case CSSValueOpenQuote: 2196 case CSSValueOpenQuote:
2205 case CSSValueCloseQuote: 2197 case CSSValueCloseQuote:
2206 case CSSValueNoOpenQuote: 2198 case CSSValueNoOpenQuote:
2207 case CSSValueNoCloseQuote: 2199 case CSSValueNoCloseQuote:
2208 case CSSValueNone: 2200 case CSSValueNone:
2209 case CSSValueNormal: 2201 case CSSValueNormal:
2210 parsedValue = cssValuePool().createIdentifierValue(val->id); 2202 parsedValue = cssValuePool().createIdentifierValue(val->id);
2211 default: 2203 default:
2212 break; 2204 break;
(...skipping 5983 matching lines...) Expand 10 before | Expand all | Expand 10 after
8196 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill)); 8188 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueFill));
8197 if (!seenStroke) 8189 if (!seenStroke)
8198 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) ); 8190 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueStroke) );
8199 if (!seenMarkers) 8191 if (!seenMarkers)
8200 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers )); 8192 parsedValues->append(CSSPrimitiveValue::createIdentifier(CSSValueMarkers ));
8201 8193
8202 return parsedValues.release(); 8194 return parsedValues.release();
8203 } 8195 }
8204 8196
8205 } // namespace blink 8197 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698