| OLD | NEW |
| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>,
bool); | 109 void addExpandedPropertyForValue(CSSPropertyID propId, PassRefPtr<CSSValue>,
bool); |
| 110 void setCurrentProperty(CSSPropertyID); | 110 void setCurrentProperty(CSSPropertyID); |
| 111 | 111 |
| 112 bool parseValue(CSSPropertyID, bool important); | 112 bool parseValue(CSSPropertyID, bool important); |
| 113 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor
tant); | 113 bool parseShorthand(CSSPropertyID, const StylePropertyShorthand&, bool impor
tant); |
| 114 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor
tant); | 114 bool parse4Values(CSSPropertyID, const CSSPropertyID* properties, bool impor
tant); |
| 115 bool parseContent(CSSPropertyID, bool important); | 115 bool parseContent(CSSPropertyID, bool important); |
| 116 bool parseQuotes(CSSPropertyID, bool important); | 116 bool parseQuotes(CSSPropertyID, bool important); |
| 117 | 117 |
| 118 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String
&, bool important, Document*); | 118 static bool parseValue(MutableStylePropertySet*, CSSPropertyID, const String
&, bool important, Document*); |
| 119 bool cssVariablesEnabled() const; | |
| 120 void storeVariableDeclaration(const CSSParserString&, PassOwnPtr<CSSParserVa
lueList>, bool important); | 119 void storeVariableDeclaration(const CSSParserString&, PassOwnPtr<CSSParserVa
lueList>, bool important); |
| 121 | 120 |
| 122 PassRefPtr<CSSValue> parseAttr(CSSParserValueList* args); | 121 PassRefPtr<CSSValue> parseAttr(CSSParserValueList* args); |
| 123 | 122 |
| 124 PassRefPtr<CSSValue> parseBackgroundColor(); | 123 PassRefPtr<CSSValue> parseBackgroundColor(); |
| 125 | 124 |
| 126 bool parseFillImage(CSSParserValueList*, RefPtr<CSSValue>&); | 125 bool parseFillImage(CSSParserValueList*, RefPtr<CSSValue>&); |
| 127 | 126 |
| 128 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1,
XFillPosition = 2, YFillPosition = 4 }; | 127 enum FillPositionFlag { InvalidFillPosition = 0, AmbiguousFillPosition = 1,
XFillPosition = 2, YFillPosition = 4 }; |
| 129 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe
yword = 1 }; | 128 enum FillPositionParsingMode { ResolveValuesAsPercent = 0, ResolveValuesAsKe
yword = 1 }; |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 737 } | 736 } |
| 738 | 737 |
| 739 inline int cssyylex(void* yylval, CSSParser* parser) | 738 inline int cssyylex(void* yylval, CSSParser* parser) |
| 740 { | 739 { |
| 741 return parser->lex(yylval); | 740 return parser->lex(yylval); |
| 742 } | 741 } |
| 743 | 742 |
| 744 } // namespace WebCore | 743 } // namespace WebCore |
| 745 | 744 |
| 746 #endif // CSSParser_h | 745 #endif // CSSParser_h |
| OLD | NEW |