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

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

Issue 13992003: Add support for parsing <grid-line> that includes a 'span' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed the change to match the specification Created 7 years, 8 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
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSParser.cpp » ('j') | 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) 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 PassRefPtr<CSSValue> parseAnimationProperty(AnimationParseContext&); 152 PassRefPtr<CSSValue> parseAnimationProperty(AnimationParseContext&);
153 PassRefPtr<CSSValue> parseAnimationTimingFunction(); 153 PassRefPtr<CSSValue> parseAnimationTimingFunction();
154 154
155 bool parseTransformOriginShorthand(RefPtr<CSSValue>&, RefPtr<CSSValue>&, Ref Ptr<CSSValue>&); 155 bool parseTransformOriginShorthand(RefPtr<CSSValue>&, RefPtr<CSSValue>&, Ref Ptr<CSSValue>&);
156 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result); 156 bool parseCubicBezierTimingFunctionValue(CSSParserValueList*& args, double& result);
157 bool parseAnimationProperty(CSSPropertyID, RefPtr<CSSValue>&, AnimationParse Context&); 157 bool parseAnimationProperty(CSSPropertyID, RefPtr<CSSValue>&, AnimationParse Context&);
158 bool parseTransitionShorthand(CSSPropertyID, bool important); 158 bool parseTransitionShorthand(CSSPropertyID, bool important);
159 bool parseAnimationShorthand(bool important); 159 bool parseAnimationShorthand(bool important);
160 160
161 bool cssGridLayoutEnabled() const; 161 bool cssGridLayoutEnabled() const;
162 PassRefPtr<CSSValue> parseGridPosition();
162 bool parseGridItemPositionShorthand(CSSPropertyID, bool important); 163 bool parseGridItemPositionShorthand(CSSPropertyID, bool important);
163 bool parseGridTrackList(CSSPropertyID, bool important); 164 bool parseGridTrackList(CSSPropertyID, bool important);
164 PassRefPtr<CSSPrimitiveValue> parseGridTrackSize(); 165 PassRefPtr<CSSPrimitiveValue> parseGridTrackSize();
165 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*); 166 PassRefPtr<CSSPrimitiveValue> parseGridBreadth(CSSParserValue*);
166 167
167 bool parseClipShape(CSSPropertyID, bool important); 168 bool parseClipShape(CSSPropertyID, bool important);
168 169
169 bool parseBasicShape(CSSPropertyID, bool important); 170 bool parseBasicShape(CSSPropertyID, bool important);
170 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ; 171 PassRefPtr<CSSBasicShape> parseBasicShapeRectangle(CSSParserValueList* args) ;
171 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args); 172 PassRefPtr<CSSBasicShape> parseBasicShapeCircle(CSSParserValueList* args);
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 } 719 }
719 720
720 inline int cssyylex(void* yylval, CSSParser* parser) 721 inline int cssyylex(void* yylval, CSSParser* parser)
721 { 722 {
722 return parser->lex(yylval); 723 return parser->lex(yylval);
723 } 724 }
724 725
725 } // namespace WebCore 726 } // namespace WebCore
726 727
727 #endif // CSSParser_h 728 #endif // CSSParser_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSComputedStyleDeclaration.cpp ('k') | Source/core/css/CSSParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698