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

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

Issue 373603004: Hashless hex color quirk for color/background/border only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights reserv ed.
4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d. 5 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights reserve d.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 PassRefPtrWillBeRawPtr<CSSBasicShape> parseBasicShapeInset(CSSParserValueLis t* args); 175 PassRefPtrWillBeRawPtr<CSSBasicShape> parseBasicShapeInset(CSSParserValueLis t* args);
176 176
177 bool parseFont(bool important); 177 bool parseFont(bool important);
178 PassRefPtrWillBeRawPtr<CSSValueList> parseFontFamily(); 178 PassRefPtrWillBeRawPtr<CSSValueList> parseFontFamily();
179 179
180 bool parseCounter(CSSPropertyID, int defaultValue, bool important); 180 bool parseCounter(CSSPropertyID, int defaultValue, bool important);
181 PassRefPtrWillBeRawPtr<CSSValue> parseCounterContent(CSSParserValueList* arg s, bool counters); 181 PassRefPtrWillBeRawPtr<CSSValue> parseCounterContent(CSSParserValueList* arg s, bool counters);
182 182
183 bool parseColorParameters(CSSParserValue*, int* colorValues, bool parseAlpha ); 183 bool parseColorParameters(CSSParserValue*, int* colorValues, bool parseAlpha );
184 bool parseHSLParameters(CSSParserValue*, double* colorValues, bool parseAlph a); 184 bool parseHSLParameters(CSSParserValue*, double* colorValues, bool parseAlph a);
185 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseColor(CSSParserValue* = 0); 185 PassRefPtrWillBeRawPtr<CSSPrimitiveValue> parseColor(CSSParserValue* = 0, bo ol acceptQuirkyColors = false);
186 bool parseColorFromValue(CSSParserValue*, RGBA32&); 186 bool parseColorFromValue(CSSParserValue*, RGBA32&, bool acceptQuirkyColors = false);
187 187
188 bool parseLineHeight(bool important); 188 bool parseLineHeight(bool important);
189 bool parseFontSize(bool important); 189 bool parseFontSize(bool important);
190 bool parseFontVariant(bool important); 190 bool parseFontVariant(bool important);
191 bool parseFontWeight(bool important); 191 bool parseFontWeight(bool important);
192 bool parseFontStretch(bool important); 192 bool parseFontStretch(bool important);
193 bool parseFontFaceSrc(); 193 bool parseFontFaceSrc();
194 bool parseFontFaceUnicodeRange(); 194 bool parseFontFaceUnicodeRange();
195 195
196 bool parseSVGValue(CSSPropertyID propId, bool important); 196 bool parseSVGValue(CSSPropertyID propId, bool important);
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 CSSPropertyID cssPropertyID(const CSSParserString&); 395 CSSPropertyID cssPropertyID(const CSSParserString&);
396 CSSPropertyID cssPropertyID(const String&); 396 CSSPropertyID cssPropertyID(const String&);
397 CSSValueID cssValueKeywordID(const CSSParserString&); 397 CSSValueID cssValueKeywordID(const CSSParserString&);
398 398
399 bool isKeywordPropertyID(CSSPropertyID); 399 bool isKeywordPropertyID(CSSPropertyID);
400 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&); 400 bool isValidKeywordPropertyAndValue(CSSPropertyID, CSSValueID, const CSSParserCo ntext&);
401 401
402 } // namespace blink 402 } // namespace blink
403 403
404 #endif // CSSPropertyParser_h 404 #endif // CSSPropertyParser_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/parsing-color-quirk.html ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698