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

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

Issue 17101024: Add support for CSS3 "text-decoration" shorthand (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added missing code pointed out by Alexis Created 7 years, 6 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/CSSParser.cpp ('k') | Source/core/css/StylePropertyShorthand.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
4 * Copyright (C) 2013 Intel Corporation. All rights reserved. 4 * Copyright (C) 2013 Intel Corporation. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const StylePropertyShorthand& borderSpacingShorthand(); 80 const StylePropertyShorthand& borderSpacingShorthand();
81 const StylePropertyShorthand& borderStyleShorthand(); 81 const StylePropertyShorthand& borderStyleShorthand();
82 const StylePropertyShorthand& borderTopShorthand(); 82 const StylePropertyShorthand& borderTopShorthand();
83 const StylePropertyShorthand& borderWidthShorthand(); 83 const StylePropertyShorthand& borderWidthShorthand();
84 const StylePropertyShorthand& listStyleShorthand(); 84 const StylePropertyShorthand& listStyleShorthand();
85 const StylePropertyShorthand& fontShorthand(); 85 const StylePropertyShorthand& fontShorthand();
86 const StylePropertyShorthand& marginShorthand(); 86 const StylePropertyShorthand& marginShorthand();
87 const StylePropertyShorthand& outlineShorthand(); 87 const StylePropertyShorthand& outlineShorthand();
88 const StylePropertyShorthand& overflowShorthand(); 88 const StylePropertyShorthand& overflowShorthand();
89 const StylePropertyShorthand& paddingShorthand(); 89 const StylePropertyShorthand& paddingShorthand();
90 const StylePropertyShorthand& textDecorationShorthand();
90 const StylePropertyShorthand& transitionShorthand(); 91 const StylePropertyShorthand& transitionShorthand();
91 const StylePropertyShorthand& webkitAnimationShorthand(); 92 const StylePropertyShorthand& webkitAnimationShorthand();
92 const StylePropertyShorthand& webkitAnimationShorthandForParsing(); 93 const StylePropertyShorthand& webkitAnimationShorthandForParsing();
93 const StylePropertyShorthand& webkitBorderAfterShorthand(); 94 const StylePropertyShorthand& webkitBorderAfterShorthand();
94 const StylePropertyShorthand& webkitBorderBeforeShorthand(); 95 const StylePropertyShorthand& webkitBorderBeforeShorthand();
95 const StylePropertyShorthand& webkitBorderEndShorthand(); 96 const StylePropertyShorthand& webkitBorderEndShorthand();
96 const StylePropertyShorthand& webkitBorderStartShorthand(); 97 const StylePropertyShorthand& webkitBorderStartShorthand();
97 const StylePropertyShorthand& webkitColumnsShorthand(); 98 const StylePropertyShorthand& webkitColumnsShorthand();
98 const StylePropertyShorthand& webkitColumnRuleShorthand(); 99 const StylePropertyShorthand& webkitColumnRuleShorthand();
99 const StylePropertyShorthand& webkitFlexFlowShorthand(); 100 const StylePropertyShorthand& webkitFlexFlowShorthand();
(...skipping 16 matching lines...) Expand all
116 117
117 // Return the list of shorthands for a given longhand. 118 // Return the list of shorthands for a given longhand.
118 const Vector<StylePropertyShorthand> matchingShorthandsForLonghand(CSSPropertyID ); 119 const Vector<StylePropertyShorthand> matchingShorthandsForLonghand(CSSPropertyID );
119 unsigned indexOfShorthandForLonghand(CSSPropertyID, const Vector<StylePropertySh orthand>&); 120 unsigned indexOfShorthandForLonghand(CSSPropertyID, const Vector<StylePropertySh orthand>&);
120 121
121 bool isExpandedShorthand(CSSPropertyID); 122 bool isExpandedShorthand(CSSPropertyID);
122 123
123 } // namespace WebCore 124 } // namespace WebCore
124 125
125 #endif // StylePropertyShorthand_h 126 #endif // StylePropertyShorthand_h
OLDNEW
« no previous file with comments | « Source/core/css/CSSParser.cpp ('k') | Source/core/css/StylePropertyShorthand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698