Bumping manifests a=b2g-bump
[gecko.git] / layout / style / nsComputedDOMStylePropertyList.h
blob7f3f38da258e834700137a6be23597c5a9cb62a0
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 /*
7 * a list of the CSS properties that are exposed on nsComputedDOMStyle
8 * objects, for preprocessing
9 */
11 /******
13 This file contains the list of CSS properties that are exposed
14 on nsComputedDOMStyle objects. It is designed to be included in
15 nsComputedDOMStyle.cpp to generate the "computed style map", a
16 table of property IDs and corresponding functions on nsComputedDOMStyle
17 that return the CSSValue representing that property's computed value.
19 The COMPUTED_STYLE_PROP macro is defined for each such property.
20 Its arguments are:
22 -. 'id' the nsCSSProperty ID, without the leading "nsCSSProperty_".
24 -. 'method' the nsComputedDOMStyle method name that returns the
25 CSSValue representing that property's computed value, without the leading
26 "Do".
28 ******/
30 /* ******************************************************************* *\
31 * Properties below are listed in alphabetical order. *
32 * Please keep them that way. *
33 * *
34 * Properties commented out with // are not yet implemented *
35 * Properties commented out with //// are shorthands and not queryable *
36 \* ******************************************************************* */
38 /* ***************************** *\
39 * Implementations of CSS styles *
40 \* ***************************** */
42 COMPUTED_STYLE_PROP(align_content, AlignContent)
43 COMPUTED_STYLE_PROP(align_items, AlignItems)
44 COMPUTED_STYLE_PROP(align_self, AlignSelf)
45 //// COMPUTED_STYLE_PROP(animation, Animation)
46 COMPUTED_STYLE_PROP(animation_delay, AnimationDelay)
47 COMPUTED_STYLE_PROP(animation_direction, AnimationDirection)
48 COMPUTED_STYLE_PROP(animation_duration, AnimationDuration)
49 COMPUTED_STYLE_PROP(animation_fill_mode, AnimationFillMode)
50 COMPUTED_STYLE_PROP(animation_iteration_count, AnimationIterationCount)
51 COMPUTED_STYLE_PROP(animation_name, AnimationName)
52 COMPUTED_STYLE_PROP(animation_play_state, AnimationPlayState)
53 COMPUTED_STYLE_PROP(animation_timing_function, AnimationTimingFunction)
54 COMPUTED_STYLE_PROP(backface_visibility, BackfaceVisibility)
55 //// COMPUTED_STYLE_PROP(background, Background)
56 COMPUTED_STYLE_PROP(background_attachment, BackgroundAttachment)
57 COMPUTED_STYLE_PROP(background_blend_mode, BackgroundBlendMode)
58 COMPUTED_STYLE_PROP(background_clip, BackgroundClip)
59 COMPUTED_STYLE_PROP(background_color, BackgroundColor)
60 COMPUTED_STYLE_PROP(background_image, BackgroundImage)
61 COMPUTED_STYLE_PROP(background_origin, BackgroundOrigin)
62 COMPUTED_STYLE_PROP(background_position, BackgroundPosition)
63 COMPUTED_STYLE_PROP(background_repeat, BackgroundRepeat)
64 COMPUTED_STYLE_PROP(background_size, BackgroundSize)
65 //// COMPUTED_STYLE_PROP(border, Border)
66 //// COMPUTED_STYLE_PROP(border_bottom, BorderBottom)
67 COMPUTED_STYLE_PROP(border_bottom_color, BorderBottomColor)
68 COMPUTED_STYLE_PROP(border_bottom_left_radius, BorderBottomLeftRadius)
69 COMPUTED_STYLE_PROP(border_bottom_right_radius, BorderBottomRightRadius)
70 COMPUTED_STYLE_PROP(border_bottom_style, BorderBottomStyle)
71 COMPUTED_STYLE_PROP(border_bottom_width, BorderBottomWidth)
72 COMPUTED_STYLE_PROP(border_collapse, BorderCollapse)
73 //// COMPUTED_STYLE_PROP(border_color, BorderColor)
74 //// COMPUTED_STYLE_PROP(border_image, BorderImage)
75 COMPUTED_STYLE_PROP(border_image_outset, BorderImageOutset)
76 COMPUTED_STYLE_PROP(border_image_repeat, BorderImageRepeat)
77 COMPUTED_STYLE_PROP(border_image_slice, BorderImageSlice)
78 COMPUTED_STYLE_PROP(border_image_source, BorderImageSource)
79 COMPUTED_STYLE_PROP(border_image_width, BorderImageWidth)
80 //// COMPUTED_STYLE_PROP(border_left, BorderLeft)
81 COMPUTED_STYLE_PROP(border_left_color, BorderLeftColor)
82 COMPUTED_STYLE_PROP(border_left_style, BorderLeftStyle)
83 COMPUTED_STYLE_PROP(border_left_width, BorderLeftWidth)
84 //// COMPUTED_STYLE_PROP(border_right, BorderRight)
85 COMPUTED_STYLE_PROP(border_right_color, BorderRightColor)
86 COMPUTED_STYLE_PROP(border_right_style, BorderRightStyle)
87 COMPUTED_STYLE_PROP(border_right_width, BorderRightWidth)
88 COMPUTED_STYLE_PROP(border_spacing, BorderSpacing)
89 //// COMPUTED_STYLE_PROP(border_style, BorderStyle)
90 //// COMPUTED_STYLE_PROP(border_top, BorderTop)
91 COMPUTED_STYLE_PROP(border_top_color, BorderTopColor)
92 COMPUTED_STYLE_PROP(border_top_left_radius, BorderTopLeftRadius)
93 COMPUTED_STYLE_PROP(border_top_right_radius, BorderTopRightRadius)
94 COMPUTED_STYLE_PROP(border_top_style, BorderTopStyle)
95 COMPUTED_STYLE_PROP(border_top_width, BorderTopWidth)
96 //// COMPUTED_STYLE_PROP(border_width, BorderWidth)
97 COMPUTED_STYLE_PROP(bottom, Bottom)
98 COMPUTED_STYLE_PROP(box_decoration_break, BoxDecorationBreak)
99 COMPUTED_STYLE_PROP(box_shadow, BoxShadow)
100 COMPUTED_STYLE_PROP(box_sizing, BoxSizing)
101 COMPUTED_STYLE_PROP(caption_side, CaptionSide)
102 COMPUTED_STYLE_PROP(clear, Clear)
103 COMPUTED_STYLE_PROP(clip, Clip)
104 COMPUTED_STYLE_PROP(color, Color)
105 COMPUTED_STYLE_PROP(content, Content)
106 COMPUTED_STYLE_PROP(counter_increment, CounterIncrement)
107 COMPUTED_STYLE_PROP(counter_reset, CounterReset)
108 COMPUTED_STYLE_PROP(cursor, Cursor)
109 COMPUTED_STYLE_PROP(direction, Direction)
110 COMPUTED_STYLE_PROP(display, Display)
111 COMPUTED_STYLE_PROP(empty_cells, EmptyCells)
112 COMPUTED_STYLE_PROP(flex_basis, FlexBasis)
113 COMPUTED_STYLE_PROP(flex_direction, FlexDirection)
114 COMPUTED_STYLE_PROP(flex_grow, FlexGrow)
115 COMPUTED_STYLE_PROP(flex_shrink, FlexShrink)
116 COMPUTED_STYLE_PROP(flex_wrap, FlexWrap)
117 COMPUTED_STYLE_PROP(float, Float)
118 //// COMPUTED_STYLE_PROP(font, Font)
119 COMPUTED_STYLE_PROP(font_family, FontFamily)
120 COMPUTED_STYLE_PROP(font_feature_settings, FontFeatureSettings)
121 COMPUTED_STYLE_PROP(font_kerning, FontKerning)
122 COMPUTED_STYLE_PROP(font_language_override, FontLanguageOverride)
123 COMPUTED_STYLE_PROP(font_size, FontSize)
124 COMPUTED_STYLE_PROP(font_size_adjust, FontSizeAdjust)
125 COMPUTED_STYLE_PROP(font_stretch, FontStretch)
126 COMPUTED_STYLE_PROP(font_style, FontStyle)
127 COMPUTED_STYLE_PROP(font_synthesis, FontSynthesis)
128 COMPUTED_STYLE_PROP(font_variant, FontVariant)
129 COMPUTED_STYLE_PROP(font_variant_alternates, FontVariantAlternates)
130 COMPUTED_STYLE_PROP(font_variant_caps, FontVariantCaps)
131 COMPUTED_STYLE_PROP(font_variant_east_asian, FontVariantEastAsian)
132 COMPUTED_STYLE_PROP(font_variant_ligatures, FontVariantLigatures)
133 COMPUTED_STYLE_PROP(font_variant_numeric, FontVariantNumeric)
134 COMPUTED_STYLE_PROP(font_variant_position, FontVariantPosition)
135 COMPUTED_STYLE_PROP(font_weight, FontWeight)
136 COMPUTED_STYLE_PROP(grid_auto_columns, GridAutoColumns)
137 COMPUTED_STYLE_PROP(grid_auto_flow, GridAutoFlow)
138 COMPUTED_STYLE_PROP(grid_auto_rows, GridAutoRows)
139 COMPUTED_STYLE_PROP(grid_column_end, GridColumnEnd)
140 COMPUTED_STYLE_PROP(grid_column_start, GridColumnStart)
141 COMPUTED_STYLE_PROP(grid_row_end, GridRowEnd)
142 COMPUTED_STYLE_PROP(grid_row_start, GridRowStart)
143 COMPUTED_STYLE_PROP(grid_template_areas, GridTemplateAreas)
144 COMPUTED_STYLE_PROP(grid_template_columns, GridTemplateColumns)
145 COMPUTED_STYLE_PROP(grid_template_rows, GridTemplateRows)
146 COMPUTED_STYLE_PROP(height, Height)
147 COMPUTED_STYLE_PROP(image_orientation, ImageOrientation)
148 COMPUTED_STYLE_PROP(ime_mode, IMEMode)
149 COMPUTED_STYLE_PROP(justify_content, JustifyContent)
150 COMPUTED_STYLE_PROP(left, Left)
151 COMPUTED_STYLE_PROP(letter_spacing, LetterSpacing)
152 COMPUTED_STYLE_PROP(line_height, LineHeight)
153 //// COMPUTED_STYLE_PROP(list_style, ListStyle)
154 COMPUTED_STYLE_PROP(list_style_image, ListStyleImage)
155 COMPUTED_STYLE_PROP(list_style_position, ListStylePosition)
156 COMPUTED_STYLE_PROP(list_style_type, ListStyleType)
157 //// COMPUTED_STYLE_PROP(margin, Margin)
158 COMPUTED_STYLE_PROP(margin_bottom, MarginBottomWidth)
159 COMPUTED_STYLE_PROP(margin_left, MarginLeftWidth)
160 COMPUTED_STYLE_PROP(margin_right, MarginRightWidth)
161 COMPUTED_STYLE_PROP(margin_top, MarginTopWidth)
162 COMPUTED_STYLE_PROP(marker_offset, MarkerOffset)
163 // COMPUTED_STYLE_PROP(marks, Marks)
164 COMPUTED_STYLE_PROP(max_height, MaxHeight)
165 COMPUTED_STYLE_PROP(max_width, MaxWidth)
166 COMPUTED_STYLE_PROP(min_height, MinHeight)
167 COMPUTED_STYLE_PROP(min_width, MinWidth)
168 COMPUTED_STYLE_PROP(mix_blend_mode, MixBlendMode)
169 COMPUTED_STYLE_PROP(opacity, Opacity)
170 // COMPUTED_STYLE_PROP(orphans, Orphans)
171 //// COMPUTED_STYLE_PROP(outline, Outline)
172 COMPUTED_STYLE_PROP(order, Order)
173 COMPUTED_STYLE_PROP(outline_color, OutlineColor)
174 COMPUTED_STYLE_PROP(outline_offset, OutlineOffset)
175 COMPUTED_STYLE_PROP(outline_style, OutlineStyle)
176 COMPUTED_STYLE_PROP(outline_width, OutlineWidth)
177 COMPUTED_STYLE_PROP(overflow, Overflow)
178 COMPUTED_STYLE_PROP(overflow_clip_box, OverflowClipBox)
179 COMPUTED_STYLE_PROP(overflow_x, OverflowX)
180 COMPUTED_STYLE_PROP(overflow_y, OverflowY)
181 //// COMPUTED_STYLE_PROP(padding, Padding)
182 COMPUTED_STYLE_PROP(padding_bottom, PaddingBottom)
183 COMPUTED_STYLE_PROP(padding_left, PaddingLeft)
184 COMPUTED_STYLE_PROP(padding_right, PaddingRight)
185 COMPUTED_STYLE_PROP(padding_top, PaddingTop)
186 // COMPUTED_STYLE_PROP(page, Page)
187 COMPUTED_STYLE_PROP(page_break_after, PageBreakAfter)
188 COMPUTED_STYLE_PROP(page_break_before, PageBreakBefore)
189 COMPUTED_STYLE_PROP(page_break_inside, PageBreakInside)
190 COMPUTED_STYLE_PROP(perspective, Perspective)
191 COMPUTED_STYLE_PROP(perspective_origin, PerspectiveOrigin)
192 COMPUTED_STYLE_PROP(pointer_events, PointerEvents)
193 COMPUTED_STYLE_PROP(position, Position)
194 COMPUTED_STYLE_PROP(quotes, Quotes)
195 COMPUTED_STYLE_PROP(resize, Resize)
196 COMPUTED_STYLE_PROP(right, Right)
197 //// COMPUTED_STYLE_PROP(size, Size)
198 COMPUTED_STYLE_PROP(table_layout, TableLayout)
199 COMPUTED_STYLE_PROP(text_align, TextAlign)
200 COMPUTED_STYLE_PROP(text_combine_upright, TextCombineUpright)
201 COMPUTED_STYLE_PROP(text_decoration, TextDecoration)
202 COMPUTED_STYLE_PROP(text_indent, TextIndent)
203 COMPUTED_STYLE_PROP(text_orientation, TextOrientation)
204 COMPUTED_STYLE_PROP(text_overflow, TextOverflow)
205 COMPUTED_STYLE_PROP(text_shadow, TextShadow)
206 COMPUTED_STYLE_PROP(text_transform, TextTransform)
207 COMPUTED_STYLE_PROP(top, Top)
208 COMPUTED_STYLE_PROP(touch_action, TouchAction)
209 COMPUTED_STYLE_PROP(transform, Transform)
210 COMPUTED_STYLE_PROP(transform_origin, TransformOrigin)
211 COMPUTED_STYLE_PROP(transform_style, TransformStyle)
212 //// COMPUTED_STYLE_PROP(transition, Transition)
213 COMPUTED_STYLE_PROP(transition_delay, TransitionDelay)
214 COMPUTED_STYLE_PROP(transition_duration, TransitionDuration)
215 COMPUTED_STYLE_PROP(transition_property, TransitionProperty)
216 COMPUTED_STYLE_PROP(transition_timing_function, TransitionTimingFunction)
217 COMPUTED_STYLE_PROP(unicode_bidi, UnicodeBidi)
218 COMPUTED_STYLE_PROP(vertical_align, VerticalAlign)
219 COMPUTED_STYLE_PROP(visibility, Visibility)
220 COMPUTED_STYLE_PROP(white_space, WhiteSpace)
221 // COMPUTED_STYLE_PROP(widows, Widows)
222 COMPUTED_STYLE_PROP(width, Width)
223 COMPUTED_STYLE_PROP(will_change, WillChange)
224 COMPUTED_STYLE_PROP(word_break, WordBreak)
225 COMPUTED_STYLE_PROP(word_spacing, WordSpacing)
226 COMPUTED_STYLE_PROP(word_wrap, WordWrap)
227 COMPUTED_STYLE_PROP(writing_mode, WritingMode)
228 COMPUTED_STYLE_PROP(z_index, ZIndex)
230 /* ******************************* *\
231 * Implementations of -moz- styles *
232 \* ******************************* */
234 COMPUTED_STYLE_PROP(appearance, Appearance)
235 COMPUTED_STYLE_PROP(binding, Binding)
236 COMPUTED_STYLE_PROP(border_bottom_colors, BorderBottomColors)
237 COMPUTED_STYLE_PROP(border_left_colors, BorderLeftColors)
238 COMPUTED_STYLE_PROP(border_right_colors, BorderRightColors)
239 COMPUTED_STYLE_PROP(border_top_colors, BorderTopColors)
240 COMPUTED_STYLE_PROP(box_align, BoxAlign)
241 COMPUTED_STYLE_PROP(box_direction, BoxDirection)
242 COMPUTED_STYLE_PROP(box_flex, BoxFlex)
243 COMPUTED_STYLE_PROP(box_ordinal_group, BoxOrdinalGroup)
244 COMPUTED_STYLE_PROP(box_orient, BoxOrient)
245 COMPUTED_STYLE_PROP(box_pack, BoxPack)
246 COMPUTED_STYLE_PROP(_moz_column_count, ColumnCount)
247 COMPUTED_STYLE_PROP(_moz_column_fill, ColumnFill)
248 COMPUTED_STYLE_PROP(_moz_column_gap, ColumnGap)
249 //// COMPUTED_STYLE_PROP(_moz_column_rule, ColumnRule)
250 COMPUTED_STYLE_PROP(_moz_column_rule_color, ColumnRuleColor)
251 COMPUTED_STYLE_PROP(_moz_column_rule_style, ColumnRuleStyle)
252 COMPUTED_STYLE_PROP(_moz_column_rule_width, ColumnRuleWidth)
253 COMPUTED_STYLE_PROP(_moz_column_width, ColumnWidth)
254 COMPUTED_STYLE_PROP(float_edge, FloatEdge)
255 COMPUTED_STYLE_PROP(force_broken_image_icon, ForceBrokenImageIcon)
256 COMPUTED_STYLE_PROP(hyphens, Hyphens)
257 COMPUTED_STYLE_PROP(image_region, ImageRegion)
258 COMPUTED_STYLE_PROP(orient, Orient)
259 COMPUTED_STYLE_PROP(osx_font_smoothing, OSXFontSmoothing)
260 COMPUTED_STYLE_PROP(_moz_outline_radius_bottomLeft, OutlineRadiusBottomLeft)
261 COMPUTED_STYLE_PROP(_moz_outline_radius_bottomRight,OutlineRadiusBottomRight)
262 COMPUTED_STYLE_PROP(_moz_outline_radius_topLeft, OutlineRadiusTopLeft)
263 COMPUTED_STYLE_PROP(_moz_outline_radius_topRight, OutlineRadiusTopRight)
264 COMPUTED_STYLE_PROP(stack_sizing, StackSizing)
265 COMPUTED_STYLE_PROP(_moz_tab_size, TabSize)
266 COMPUTED_STYLE_PROP(text_align_last, TextAlignLast)
267 COMPUTED_STYLE_PROP(text_decoration_color, TextDecorationColor)
268 COMPUTED_STYLE_PROP(text_decoration_line, TextDecorationLine)
269 COMPUTED_STYLE_PROP(text_decoration_style, TextDecorationStyle)
270 COMPUTED_STYLE_PROP(text_size_adjust, TextSizeAdjust)
271 COMPUTED_STYLE_PROP(user_focus, UserFocus)
272 COMPUTED_STYLE_PROP(user_input, UserInput)
273 COMPUTED_STYLE_PROP(user_modify, UserModify)
274 COMPUTED_STYLE_PROP(user_select, UserSelect)
275 COMPUTED_STYLE_PROP(_moz_window_shadow, WindowShadow)
277 /* ***************************** *\
278 * Implementations of SVG styles *
279 \* ***************************** */
281 COMPUTED_STYLE_PROP(clip_path, ClipPath)
282 COMPUTED_STYLE_PROP(clip_rule, ClipRule)
283 COMPUTED_STYLE_PROP(color_interpolation, ColorInterpolation)
284 COMPUTED_STYLE_PROP(color_interpolation_filters, ColorInterpolationFilters)
285 COMPUTED_STYLE_PROP(dominant_baseline, DominantBaseline)
286 COMPUTED_STYLE_PROP(fill, Fill)
287 COMPUTED_STYLE_PROP(fill_opacity, FillOpacity)
288 COMPUTED_STYLE_PROP(fill_rule, FillRule)
289 COMPUTED_STYLE_PROP(filter, Filter)
290 COMPUTED_STYLE_PROP(flood_color, FloodColor)
291 COMPUTED_STYLE_PROP(flood_opacity, FloodOpacity)
292 COMPUTED_STYLE_PROP(image_rendering, ImageRendering)
293 COMPUTED_STYLE_PROP(lighting_color, LightingColor)
294 COMPUTED_STYLE_PROP(marker_end, MarkerEnd)
295 COMPUTED_STYLE_PROP(marker_mid, MarkerMid)
296 COMPUTED_STYLE_PROP(marker_start, MarkerStart)
297 COMPUTED_STYLE_PROP(mask, Mask)
298 COMPUTED_STYLE_PROP(mask_type, MaskType)
299 COMPUTED_STYLE_PROP(paint_order, PaintOrder)
300 COMPUTED_STYLE_PROP(shape_rendering, ShapeRendering)
301 COMPUTED_STYLE_PROP(stop_color, StopColor)
302 COMPUTED_STYLE_PROP(stop_opacity, StopOpacity)
303 COMPUTED_STYLE_PROP(stroke, Stroke)
304 COMPUTED_STYLE_PROP(stroke_dasharray, StrokeDasharray)
305 COMPUTED_STYLE_PROP(stroke_dashoffset, StrokeDashoffset)
306 COMPUTED_STYLE_PROP(stroke_linecap, StrokeLinecap)
307 COMPUTED_STYLE_PROP(stroke_linejoin, StrokeLinejoin)
308 COMPUTED_STYLE_PROP(stroke_miterlimit, StrokeMiterlimit)
309 COMPUTED_STYLE_PROP(stroke_opacity, StrokeOpacity)
310 COMPUTED_STYLE_PROP(stroke_width, StrokeWidth)
311 COMPUTED_STYLE_PROP(text_anchor, TextAnchor)
312 COMPUTED_STYLE_PROP(text_rendering, TextRendering)
313 COMPUTED_STYLE_PROP(vector_effect, VectorEffect)