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

Side by Side Diff: Source/core/css/CSSParser.h

Issue 14334014: Parse "-webkit-columns: auto <length>" properly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Compile fix Created 7 years, 5 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 PassRefPtr<CSSValue> parseAnimationPlayState(); 162 PassRefPtr<CSSValue> parseAnimationPlayState();
163 PassRefPtr<CSSValue> parseAnimationProperty(AnimationParseContext&); 163 PassRefPtr<CSSValue> parseAnimationProperty(AnimationParseContext&);
164 PassRefPtr<CSSValue> parseAnimationTimingFunction(); 164 PassRefPtr<CSSValue> parseAnimationTimingFunction();
165 165
166 bool parseTransformOriginShorthand(RefPtr<CSSValue>&, RefPtr<CSSValue>&, Ref Ptr<CSSValue>&); 166 bool parseTransformOriginShorthand(RefPtr<CSSValue>&, RefPtr<CSSValue>&, Ref Ptr<CSSValue>&);
167 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result); 167 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result);
168 bool parseAnimationProperty(CSSPropertyID, RefPtr<CSSValue>&, AnimationParse Context&); 168 bool parseAnimationProperty(CSSPropertyID, RefPtr<CSSValue>&, AnimationParse Context&);
169 bool parseTransitionShorthand(CSSPropertyID, bool important); 169 bool parseTransitionShorthand(CSSPropertyID, bool important);
170 bool parseAnimationShorthand(bool important); 170 bool parseAnimationShorthand(bool important);
171 171
172 PassRefPtr<CSSValue> parseColumnWidth();
173 PassRefPtr<CSSValue> parseColumnCount();
174 bool parseColumnsShorthand(bool important);
175
172 PassRefPtr<CSSValue> parseGridPosition(); 176 PassRefPtr<CSSValue> parseGridPosition();
173 bool parseIntegerOrStringFromGridPosition(RefPtr<CSSPrimitiveValue>& numeric Value, RefPtr<CSSPrimitiveValue>& gridLineName); 177 bool parseIntegerOrStringFromGridPosition(RefPtr<CSSPrimitiveValue>& numeric Value, RefPtr<CSSPrimitiveValue>& gridLineName);
174 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); 178 bool parseGridItemPositionShorthand(CSSPropertyID, bool important);
175 bool parseGridTrackList(CSSPropertyID, bool important); 179 bool parseGridTrackList(CSSPropertyID, bool important);
176 bool parseGridTrackRepeatFunction(CSSValueList&); 180 bool parseGridTrackRepeatFunction(CSSValueList&);
177 PassRefPtr<CSSPrimitiveValue> parseGridTrackSize(CSSParserValueList& inputLi st); 181 PassRefPtr<CSSPrimitiveValue> parseGridTrackSize(CSSParserValueList& inputLi st);
178 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 182 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
179 183
180 bool parseClipShape(CSSPropertyID, bool important); 184 bool parseClipShape(CSSPropertyID, bool important);
181 185
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 } 755 }
752 756
753 inline int cssyylex(void* yylval, CSSParser* parser) 757 inline int cssyylex(void* yylval, CSSParser* parser)
754 { 758 {
755 return parser->lex(yylval); 759 return parser->lex(yylval);
756 } 760 }
757 761
758 } // namespace WebCore 762 } // namespace WebCore
759 763
760 #endif // CSSParser_h 764 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « LayoutTests/fast/multicol/columns-shorthand-parsing-2-expected.txt ('k') | Source/core/css/CSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698