OLD | NEW |
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 const StylePropertyShorthand& paddingShorthand(); | 89 const StylePropertyShorthand& paddingShorthand(); |
90 const StylePropertyShorthand& transitionShorthand(); | 90 const StylePropertyShorthand& transitionShorthand(); |
91 const StylePropertyShorthand& webkitAnimationShorthand(); | 91 const StylePropertyShorthand& webkitAnimationShorthand(); |
92 const StylePropertyShorthand& webkitAnimationShorthandForParsing(); | 92 const StylePropertyShorthand& webkitAnimationShorthandForParsing(); |
93 const StylePropertyShorthand& webkitBorderAfterShorthand(); | 93 const StylePropertyShorthand& webkitBorderAfterShorthand(); |
94 const StylePropertyShorthand& webkitBorderBeforeShorthand(); | 94 const StylePropertyShorthand& webkitBorderBeforeShorthand(); |
95 const StylePropertyShorthand& webkitBorderEndShorthand(); | 95 const StylePropertyShorthand& webkitBorderEndShorthand(); |
96 const StylePropertyShorthand& webkitBorderStartShorthand(); | 96 const StylePropertyShorthand& webkitBorderStartShorthand(); |
97 const StylePropertyShorthand& webkitColumnsShorthand(); | 97 const StylePropertyShorthand& webkitColumnsShorthand(); |
98 const StylePropertyShorthand& webkitColumnRuleShorthand(); | 98 const StylePropertyShorthand& webkitColumnRuleShorthand(); |
99 const StylePropertyShorthand& webkitFlexFlowShorthand(); | 99 const StylePropertyShorthand& flexFlowShorthand(); |
100 const StylePropertyShorthand& webkitFlexShorthand(); | 100 const StylePropertyShorthand& flexShorthand(); |
101 const StylePropertyShorthand& gridColumnShorthand(); | 101 const StylePropertyShorthand& gridColumnShorthand(); |
102 const StylePropertyShorthand& gridRowShorthand(); | 102 const StylePropertyShorthand& gridRowShorthand(); |
103 const StylePropertyShorthand& gridAreaShorthand(); | 103 const StylePropertyShorthand& gridAreaShorthand(); |
104 const StylePropertyShorthand& webkitMarginCollapseShorthand(); | 104 const StylePropertyShorthand& webkitMarginCollapseShorthand(); |
105 const StylePropertyShorthand& webkitMarqueeShorthand(); | 105 const StylePropertyShorthand& webkitMarqueeShorthand(); |
106 const StylePropertyShorthand& webkitMaskShorthand(); | 106 const StylePropertyShorthand& webkitMaskShorthand(); |
107 const StylePropertyShorthand& webkitMaskPositionShorthand(); | 107 const StylePropertyShorthand& webkitMaskPositionShorthand(); |
108 const StylePropertyShorthand& webkitMaskRepeatShorthand(); | 108 const StylePropertyShorthand& webkitMaskRepeatShorthand(); |
109 const StylePropertyShorthand& webkitTextEmphasisShorthand(); | 109 const StylePropertyShorthand& webkitTextEmphasisShorthand(); |
110 const StylePropertyShorthand& webkitTextStrokeShorthand(); | 110 const StylePropertyShorthand& webkitTextStrokeShorthand(); |
111 const StylePropertyShorthand& webkitTransitionShorthand(); | 111 const StylePropertyShorthand& webkitTransitionShorthand(); |
112 const StylePropertyShorthand& webkitTransformOriginShorthand(); | 112 const StylePropertyShorthand& webkitTransformOriginShorthand(); |
113 | 113 |
114 // Returns an empty list if the property is not a shorthand. | 114 // Returns an empty list if the property is not a shorthand. |
115 const StylePropertyShorthand& shorthandForProperty(CSSPropertyID); | 115 const StylePropertyShorthand& shorthandForProperty(CSSPropertyID); |
116 | 116 |
117 // Return the list of shorthands for a given longhand. | 117 // Return the list of shorthands for a given longhand. |
118 const Vector<StylePropertyShorthand> matchingShorthandsForLonghand(CSSPropertyID
); | 118 const Vector<StylePropertyShorthand> matchingShorthandsForLonghand(CSSPropertyID
); |
119 unsigned indexOfShorthandForLonghand(CSSPropertyID, const Vector<StylePropertySh
orthand>&); | 119 unsigned indexOfShorthandForLonghand(CSSPropertyID, const Vector<StylePropertySh
orthand>&); |
120 | 120 |
121 bool isExpandedShorthand(CSSPropertyID); | 121 bool isExpandedShorthand(CSSPropertyID); |
122 | 122 |
123 } // namespace WebCore | 123 } // namespace WebCore |
124 | 124 |
125 #endif // StylePropertyShorthand_h | 125 #endif // StylePropertyShorthand_h |
OLD | NEW |