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

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

Issue 2804623002: [css-align] Implement place-self alignment shorthand (Closed)
Patch Set: Added a regression test. Created 3 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
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 3 * Copyright (C) 2004, 2005, 2006, 2008, 2009, 2010 Apple Inc. All rights
4 * reserved. 4 * reserved.
5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> 5 * Copyright (C) 2008 Eric Seidel <eric@webkit.org>
6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights 6 * Copyright (C) 2009 - 2010 Torch Mobile (Beijing) Co. Ltd. All rights
7 * reserved. 7 * reserved.
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 bool consumeColumns(bool important); 96 bool consumeColumns(bool important);
97 97
98 bool consumeGridItemPositionShorthand(CSSPropertyID, bool important); 98 bool consumeGridItemPositionShorthand(CSSPropertyID, bool important);
99 bool consumeGridTemplateRowsAndAreasAndColumns(CSSPropertyID, bool important); 99 bool consumeGridTemplateRowsAndAreasAndColumns(CSSPropertyID, bool important);
100 bool consumeGridTemplateShorthand(CSSPropertyID, bool important); 100 bool consumeGridTemplateShorthand(CSSPropertyID, bool important);
101 bool consumeGridShorthand(bool important); 101 bool consumeGridShorthand(bool important);
102 bool consumeGridAreaShorthand(bool important); 102 bool consumeGridAreaShorthand(bool important);
103 103
104 bool consumePlaceContentShorthand(bool important); 104 bool consumePlaceContentShorthand(bool important);
105 bool consumePlaceItemsShorthand(bool important); 105 bool consumePlaceItemsShorthand(bool important);
106 bool consumePlaceSelfShorthand(bool important);
106 107
107 bool consumeFont(bool important); 108 bool consumeFont(bool important);
108 bool consumeFontVariantShorthand(bool important); 109 bool consumeFontVariantShorthand(bool important);
109 bool consumeSystemFont(bool important); 110 bool consumeSystemFont(bool important);
110 111
111 bool consumeBorderSpacing(bool important); 112 bool consumeBorderSpacing(bool important);
112 113
113 // CSS3 Parsing Routines (for properties specific to CSS3) 114 // CSS3 Parsing Routines (for properties specific to CSS3)
114 bool consumeBorderImage(CSSPropertyID, bool important); 115 bool consumeBorderImage(CSSPropertyID, bool important);
115 116
116 bool consumeFlex(bool important); 117 bool consumeFlex(bool important);
117 118
118 bool consumeLegacyBreakProperty(CSSPropertyID, bool important); 119 bool consumeLegacyBreakProperty(CSSPropertyID, bool important);
119 120
120 private: 121 private:
121 // Inputs: 122 // Inputs:
122 CSSParserTokenRange m_range; 123 CSSParserTokenRange m_range;
123 Member<const CSSParserContext> m_context; 124 Member<const CSSParserContext> m_context;
124 // Outputs: 125 // Outputs:
125 HeapVector<CSSProperty, 256>* m_parsedProperties; 126 HeapVector<CSSProperty, 256>* m_parsedProperties;
126 }; 127 };
127 128
128 CSSPropertyID unresolvedCSSPropertyID(StringView); 129 CSSPropertyID unresolvedCSSPropertyID(StringView);
129 CSSValueID cssValueKeywordID(StringView); 130 CSSValueID cssValueKeywordID(StringView);
130 131
131 } // namespace blink 132 } // namespace blink
132 133
133 #endif // CSSPropertyParser_h 134 #endif // CSSPropertyParser_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698