1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
15 * The Original Code is mozilla.org code.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1999
20 * the Initial Developer. All Rights Reserved.
23 * Mats Palmgren <mats.palmgren@bredband.net>
25 * Alternatively, the contents of this file may be used under the terms of
26 * either of the GNU General Public License Version 2 or later (the "GPL"),
27 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
40 * a list of all CSS properties with considerable data about them, for
46 This file contains the list of all parsed CSS properties. It is
47 designed to be used as inline input through the magic of C
48 preprocessing. All entries must be enclosed in the appropriate
49 CSS_PROP_* macro which will have cruel and unusual things done to it.
50 It is recommended (but not strictly necessary) to keep all entries in
53 The arguments to CSS_PROP_* are:
55 1. 'name' entries represent a CSS property name and *must* use only
58 2. 'id' should be the same as 'name' except that all hyphens ('-')
59 in 'name' are converted to underscores ('_') in 'id'. This lets us
60 do nice things with the macros without having to copy/convert strings
61 at runtime. These are the names used for the enum values of the
62 nsCSSProperty enumeration defined in nsCSSProps.h.
64 3. 'method' is designed to be as input for CSS2Properties and similar
65 callers. It must always be the same as 'name' except it must use
66 InterCaps and all hyphens ('-') must be removed.
68 4. 'flags', a bitfield containing CSS_PROPERTY_* flags.
70 5. 'datastruct' says which nsRuleData* struct this property goes in.
72 6. 'member' gives the name of the member variable in the nsRuleData
75 7. 'type' gives the |nsCSSType| of the data in the nsRuleData struct
76 and in the nsCSSDeclaration backend.
78 8. 'kwtable', which is either nsnull or the name of the appropriate
79 keyword table member of class nsCSSProps, for use in
80 nsCSSProps::LookupPropertyValue.
85 /*************************************************************************/
88 // All includers must explicitly define CSS_PROP_NOTIMPLEMENTED if they
89 // want this. (Only the DOM cares.)
90 #ifndef CSS_PROP_NOTIMPLEMENTED
91 #define CSS_PROP_NOTIMPLEMENTED(name_, id_, method_, flags_) /* nothing */
92 #define DEFINED_CSS_PROP_NOTIMPLEMENTED
95 // All includers must explicitly define CSS_PROP_SHORTHAND if they
97 #ifndef CSS_PROP_SHORTHAND
98 #define CSS_PROP_SHORTHAND(name_, id_, method_, flags_) /* nothing */
99 #define DEFINED_CSS_PROP_SHORTHAND
103 // Callers may define CSS_PROP_LIST_EXCLUDE_INTERNAL if they want to
104 // exclude internal properties that are not represented in the DOM (only
105 // the DOM style code defines this).
107 // A caller who wants all the properties can define the |CSS_PROP|
111 #define USED_CSS_PROP
112 #define CSS_PROP_FONT(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
113 #define CSS_PROP_COLOR(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
114 #define CSS_PROP_BACKGROUND(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
115 #define CSS_PROP_LIST(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
116 #define CSS_PROP_POSITION(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
117 #define CSS_PROP_TEXT(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
118 #define CSS_PROP_TEXTRESET(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
119 #define CSS_PROP_DISPLAY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
120 #define CSS_PROP_VISIBILITY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
121 #define CSS_PROP_CONTENT(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
122 #define CSS_PROP_QUOTES(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
123 #define CSS_PROP_USERINTERFACE(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
124 #define CSS_PROP_UIRESET(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
125 #define CSS_PROP_TABLE(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
126 #define CSS_PROP_TABLEBORDER(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
127 #define CSS_PROP_MARGIN(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
128 #define CSS_PROP_PADDING(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
129 #define CSS_PROP_BORDER(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
130 #define CSS_PROP_OUTLINE(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
131 #define CSS_PROP_XUL(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
132 #define CSS_PROP_COLUMN(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
133 #define CSS_PROP_SVG(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
134 #define CSS_PROP_SVGRESET(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
136 // For properties that are stored in the CSS backend but are not
137 // computed. An includer may define this in addition to CSS_PROP, but
138 // otherwise we treat it as the same.
139 #ifndef CSS_PROP_BACKENDONLY
140 #define CSS_PROP_BACKENDONLY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) CSS_PROP(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_)
141 #define DEFINED_CSS_PROP_BACKENDONLY
144 #else /* !defined(CSS_PROP) */
146 // An includer who does not define CSS_PROP can define any or all of the
147 // per-struct macros that are equivalent to it, and the rest will be
150 #ifndef CSS_PROP_FONT
151 #define CSS_PROP_FONT(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
152 #define DEFINED_CSS_PROP_FONT
154 #ifndef CSS_PROP_COLOR
155 #define CSS_PROP_COLOR(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
156 #define DEFINED_CSS_PROP_COLOR
158 #ifndef CSS_PROP_BACKGROUND
159 #define CSS_PROP_BACKGROUND(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
160 #define DEFINED_CSS_PROP_BACKGROUND
162 #ifndef CSS_PROP_LIST
163 #define CSS_PROP_LIST(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
164 #define DEFINED_CSS_PROP_LIST
166 #ifndef CSS_PROP_POSITION
167 #define CSS_PROP_POSITION(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
168 #define DEFINED_CSS_PROP_POSITION
170 #ifndef CSS_PROP_TEXT
171 #define CSS_PROP_TEXT(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
172 #define DEFINED_CSS_PROP_TEXT
174 #ifndef CSS_PROP_TEXTRESET
175 #define CSS_PROP_TEXTRESET(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
176 #define DEFINED_CSS_PROP_TEXTRESET
178 #ifndef CSS_PROP_DISPLAY
179 #define CSS_PROP_DISPLAY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
180 #define DEFINED_CSS_PROP_DISPLAY
182 #ifndef CSS_PROP_VISIBILITY
183 #define CSS_PROP_VISIBILITY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
184 #define DEFINED_CSS_PROP_VISIBILITY
186 #ifndef CSS_PROP_CONTENT
187 #define CSS_PROP_CONTENT(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
188 #define DEFINED_CSS_PROP_CONTENT
190 #ifndef CSS_PROP_QUOTES
191 #define CSS_PROP_QUOTES(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
192 #define DEFINED_CSS_PROP_QUOTES
194 #ifndef CSS_PROP_USERINTERFACE
195 #define CSS_PROP_USERINTERFACE(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
196 #define DEFINED_CSS_PROP_USERINTERFACE
198 #ifndef CSS_PROP_UIRESET
199 #define CSS_PROP_UIRESET(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
200 #define DEFINED_CSS_PROP_UIRESET
202 #ifndef CSS_PROP_TABLE
203 #define CSS_PROP_TABLE(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
204 #define DEFINED_CSS_PROP_TABLE
206 #ifndef CSS_PROP_TABLEBORDER
207 #define CSS_PROP_TABLEBORDER(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
208 #define DEFINED_CSS_PROP_TABLEBORDER
210 #ifndef CSS_PROP_MARGIN
211 #define CSS_PROP_MARGIN(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
212 #define DEFINED_CSS_PROP_MARGIN
214 #ifndef CSS_PROP_PADDING
215 #define CSS_PROP_PADDING(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
216 #define DEFINED_CSS_PROP_PADDING
218 #ifndef CSS_PROP_BORDER
219 #define CSS_PROP_BORDER(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
220 #define DEFINED_CSS_PROP_BORDER
222 #ifndef CSS_PROP_OUTLINE
223 #define CSS_PROP_OUTLINE(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
224 #define DEFINED_CSS_PROP_OUTLINE
227 #define CSS_PROP_XUL(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
228 #define DEFINED_CSS_PROP_XUL
230 #ifndef CSS_PROP_COLUMN
231 #define CSS_PROP_COLUMN(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
232 #define DEFINED_CSS_PROP_COLUMN
235 #define CSS_PROP_SVG(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
236 #define DEFINED_CSS_PROP_SVG
238 #ifndef CSS_PROP_SVGRESET
239 #define CSS_PROP_SVGRESET(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
240 #define DEFINED_CSS_PROP_SVGRESET
243 #ifndef CSS_PROP_BACKENDONLY
244 #define CSS_PROP_BACKENDONLY(name_, id_, method_, flags_, datastruct_, member_, type_, kwtable_) /* nothing */
245 #define DEFINED_CSS_PROP_BACKENDONLY
248 #endif /* !defined(CSS_PROP) */
250 /*************************************************************************/
252 // For notes XXX bug 3935 below, the names being parsed do not correspond
253 // to the constants used internally. It would be nice to bring the
254 // constants into line sometime.
256 // The parser will refuse to parse properties marked with -x-.
258 // Those marked XXX bug 48973 are CSS2 properties that we support
259 // differently from the spec for UI requirements. If we ever
260 // support them correctly the old constants need to be renamed and
261 // new ones should be entered.
263 // CSS2.1 section 5.12.1 says that the properties that apply to
264 // :first-line are: font properties, color properties, background
265 // properties, 'word-spacing', 'letter-spacing', 'text-decoration',
266 // 'vertical-align', 'text-transform', and 'line-height'.
268 // We also allow 'text-shadow', which was listed in CSS2 (where the
269 // property existed).
271 // CSS2.1 section 5.12.2 says that the properties that apply to
272 // :first-letter are: font properties, 'text-decoration',
273 // 'text-transform', 'letter-spacing', 'word-spacing' (when
274 // appropriate), 'line-height', 'float', 'vertical-align' (only if
275 // 'float' is 'none'), margin properties, padding properties, border
276 // properties, 'color', and background properties. We also allow
277 // 'text-shadow' (see above) and '-moz-box-shadow' (which is like the
278 // border properties).
280 // We include '-moz-background-inline-policy' (css3-background's
281 // 'background-break') in both as a background property, although this
282 // is somewhat questionable.
284 CSS_PROP_DISPLAY(-moz
-appearance
, appearance
, MozAppearance
, 0, Display
, mAppearance
, eCSSType_Value
, kAppearanceKTable
)
285 CSS_PROP_SHORTHAND(-moz
-border
-radius
, _moz_border_radius
, MozBorderRadius
, 0)
286 CSS_PROP_BORDER(-moz
-border
-radius
-topleft
, _moz_border_radius_topLeft
, MozBorderRadiusTopleft
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderRadius
.mTopLeft
, eCSSType_ValuePair
, nsnull
)
287 CSS_PROP_BORDER(-moz
-border
-radius
-topright
, _moz_border_radius_topRight
, MozBorderRadiusTopright
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderRadius
.mTopRight
, eCSSType_ValuePair
, nsnull
)
288 CSS_PROP_BORDER(-moz
-border
-radius
-bottomright
, _moz_border_radius_bottomRight
, MozBorderRadiusBottomright
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderRadius
.mBottomRight
, eCSSType_ValuePair
, nsnull
)
289 CSS_PROP_BORDER(-moz
-border
-radius
-bottomleft
, _moz_border_radius_bottomLeft
, MozBorderRadiusBottomleft
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderRadius
.mBottomLeft
, eCSSType_ValuePair
, nsnull
)
290 CSS_PROP_SHORTHAND(-moz
-outline
-radius
, _moz_outline_radius
, MozOutlineRadius
, 0)
291 CSS_PROP_OUTLINE(-moz
-outline
-radius
-topleft
, _moz_outline_radius_topLeft
, MozOutlineRadiusTopleft
, 0, Margin
, mOutlineRadius
.mTopLeft
, eCSSType_ValuePair
, nsnull
)
292 CSS_PROP_OUTLINE(-moz
-outline
-radius
-topright
, _moz_outline_radius_topRight
, MozOutlineRadiusTopright
, 0, Margin
, mOutlineRadius
.mTopRight
, eCSSType_ValuePair
, nsnull
)
293 CSS_PROP_OUTLINE(-moz
-outline
-radius
-bottomright
, _moz_outline_radius_bottomRight
, MozOutlineRadiusBottomright
, 0, Margin
, mOutlineRadius
.mBottomRight
, eCSSType_ValuePair
, nsnull
)
294 CSS_PROP_OUTLINE(-moz
-outline
-radius
-bottomleft
, _moz_outline_radius_bottomLeft
, MozOutlineRadiusBottomleft
, 0, Margin
, mOutlineRadius
.mBottomLeft
, eCSSType_ValuePair
, nsnull
)
295 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
296 CSS_PROP_FONT(-x
-system
-font
, _x_system_font
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mSystemFont
, eCSSType_Value
, kFontKTable
)
298 CSS_PROP_BACKENDONLY(azimuth
, azimuth
, Azimuth
, 0, Aural
, mAzimuth
, eCSSType_Value
, kAzimuthKTable
)
299 CSS_PROP_SHORTHAND(background
, background
, Background
, 0)
300 CSS_PROP_BACKGROUND(background
-attachment
, background_attachment
, BackgroundAttachment
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Color
, mBackAttachment
, eCSSType_ValueList
, kBackgroundAttachmentKTable
)
301 CSS_PROP_BACKGROUND(-moz
-background
-clip
, _moz_background_clip
, MozBackgroundClip
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Color
, mBackClip
, eCSSType_ValueList
, kBackgroundClipKTable
)
302 CSS_PROP_BACKGROUND(background
-color
, background_color
, BackgroundColor
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Color
, mBackColor
, eCSSType_ValuePair
, nsnull
)
303 CSS_PROP_BACKGROUND(background
-image
, background_image
, BackgroundImage
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Color
, mBackImage
, eCSSType_ValueList
, nsnull
)
304 CSS_PROP_BACKGROUND(-moz
-background
-inline-policy
, _moz_background_inline_policy
, MozBackgroundInlinePolicy
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Color
, mBackInlinePolicy
, eCSSType_Value
, kBackgroundInlinePolicyKTable
)
305 CSS_PROP_BACKGROUND(-moz
-background
-origin
, _moz_background_origin
, MozBackgroundOrigin
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Color
, mBackOrigin
, eCSSType_ValueList
, kBackgroundOriginKTable
)
306 CSS_PROP_BACKGROUND(background
-position
, background_position
, BackgroundPosition
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Color
, mBackPosition
, eCSSType_ValuePairList
, kBackgroundPositionKTable
)
307 CSS_PROP_BACKGROUND(background
-repeat
, background_repeat
, BackgroundRepeat
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Color
, mBackRepeat
, eCSSType_ValueList
, kBackgroundRepeatKTable
)
308 CSS_PROP_DISPLAY(-moz
-binding
, binding
, MozBinding
, 0, Display
, mBinding
, eCSSType_Value
, nsnull
) // XXX bug 3935
309 CSS_PROP_SHORTHAND(border
, border
, Border
, 0)
310 CSS_PROP_SHORTHAND(border
-bottom
, border_bottom
, BorderBottom
, 0)
311 CSS_PROP_BORDER(border
-bottom
-color
, border_bottom_color
, BorderBottomColor
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColor
.mBottom
, eCSSType_Value
, kBorderColorKTable
)
312 CSS_PROP_BORDER(-moz
-border
-bottom
-colors
, border_bottom_colors
, MozBorderBottomColors
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColors
.mBottom
, eCSSType_ValueList
, nsnull
)
313 CSS_PROP_BORDER(border
-bottom
-style
, border_bottom_style
, BorderBottomStyle
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStyle
.mBottom
, eCSSType_Value
, kBorderStyleKTable
) // on/off will need reflow
314 CSS_PROP_BORDER(border
-bottom
-width
, border_bottom_width
, BorderBottomWidth
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderWidth
.mBottom
, eCSSType_Value
, kBorderWidthKTable
)
315 CSS_PROP_TABLEBORDER(border
-collapse
, border_collapse
, BorderCollapse
, 0, Table
, mBorderCollapse
, eCSSType_Value
, kBorderCollapseKTable
)
316 CSS_PROP_SHORTHAND(border
-color
, border_color
, BorderColor
, 0)
317 CSS_PROP_SHORTHAND(-moz
-border
-end
, border_end
, MozBorderEnd
, 0)
318 CSS_PROP_SHORTHAND(-moz
-border
-end
-color
, border_end_color
, MozBorderEndColor
, 0)
319 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
320 CSS_PROP_BORDER(border
-end
-color
-value
, border_end_color_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderEndColor
, eCSSType_Value
, kBorderColorKTable
)
322 CSS_PROP_SHORTHAND(-moz
-border
-end
-style
, border_end_style
, MozBorderEndStyle
, 0)
323 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
324 CSS_PROP_BORDER(border
-end
-style
-value
, border_end_style_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderEndStyle
, eCSSType_Value
, kBorderStyleKTable
)
326 CSS_PROP_SHORTHAND(-moz
-border
-end
-width
, border_end_width
, MozBorderEndWidth
, 0)
327 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
328 CSS_PROP_BORDER(border
-end
-width
-value
, border_end_width_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderEndWidth
, eCSSType_Value
, kBorderWidthKTable
)
330 CSS_PROP_BORDER(-moz
-border
-image
, border_image
, MozBorderImage
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderImage
, eCSSType_Value
, kBorderImageKTable
)
331 CSS_PROP_SHORTHAND(border
-left
, border_left
, BorderLeft
, 0)
332 CSS_PROP_SHORTHAND(border
-left
-color
, border_left_color
, BorderLeftColor
, 0)
333 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
334 CSS_PROP_BORDER(border
-left
-color
-value
, border_left_color_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColor
.mLeft
, eCSSType_Value
, kBorderColorKTable
)
335 CSS_PROP_BORDER(border
-left
-color
-ltr
-source
, border_left_color_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderLeftColorLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
336 CSS_PROP_BORDER(border
-left
-color
-rtl
-source
, border_left_color_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderLeftColorRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
338 CSS_PROP_BORDER(-moz
-border
-left
-colors
, border_left_colors
, MozBorderLeftColors
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColors
.mLeft
, eCSSType_ValueList
, nsnull
)
339 CSS_PROP_SHORTHAND(border
-left
-style
, border_left_style
, BorderLeftStyle
, 0) // on/off will need reflow
340 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
341 CSS_PROP_BORDER(border
-left
-style
-value
, border_left_style_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStyle
.mLeft
, eCSSType_Value
, kBorderStyleKTable
)
342 CSS_PROP_BORDER(border
-left
-style
-ltr
-source
, border_left_style_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderLeftStyleLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
343 CSS_PROP_BORDER(border
-left
-style
-rtl
-source
, border_left_style_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderLeftStyleRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
345 CSS_PROP_SHORTHAND(border
-left
-width
, border_left_width
, BorderLeftWidth
, 0)
346 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
347 CSS_PROP_BORDER(border
-left
-width
-value
, border_left_width_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderWidth
.mLeft
, eCSSType_Value
, kBorderWidthKTable
)
348 CSS_PROP_BORDER(border
-left
-width
-ltr
-source
, border_left_width_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderLeftWidthLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
349 CSS_PROP_BORDER(border
-left
-width
-rtl
-source
, border_left_width_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderLeftWidthRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
351 CSS_PROP_SHORTHAND(border
-right
, border_right
, BorderRight
, 0)
352 CSS_PROP_SHORTHAND(border
-right
-color
, border_right_color
, BorderRightColor
, 0)
353 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
354 CSS_PROP_BORDER(border
-right
-color
-value
, border_right_color_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColor
.mRight
, eCSSType_Value
, kBorderColorKTable
)
355 CSS_PROP_BORDER(border
-right
-color
-ltr
-source
, border_right_color_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderRightColorLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
356 CSS_PROP_BORDER(border
-right
-color
-rtl
-source
, border_right_color_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderRightColorRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
358 CSS_PROP_BORDER(-moz
-border
-right
-colors
, border_right_colors
, MozBorderRightColors
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColors
.mRight
, eCSSType_ValueList
, nsnull
)
359 CSS_PROP_SHORTHAND(border
-right
-style
, border_right_style
, BorderRightStyle
, 0) // on/off will need reflow
360 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
361 CSS_PROP_BORDER(border
-right
-style
-value
, border_right_style_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStyle
.mRight
, eCSSType_Value
, kBorderStyleKTable
)
362 CSS_PROP_BORDER(border
-right
-style
-ltr
-source
, border_right_style_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderRightStyleLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
363 CSS_PROP_BORDER(border
-right
-style
-rtl
-source
, border_right_style_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderRightStyleRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
365 CSS_PROP_SHORTHAND(border
-right
-width
, border_right_width
, BorderRightWidth
, 0)
366 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
367 CSS_PROP_BORDER(border
-right
-width
-value
, border_right_width_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderWidth
.mRight
, eCSSType_Value
, kBorderWidthKTable
)
368 CSS_PROP_BORDER(border
-right
-width
-ltr
-source
, border_right_width_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderRightWidthLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
369 CSS_PROP_BORDER(border
-right
-width
-rtl
-source
, border_right_width_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mBorderRightWidthRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
371 CSS_PROP_TABLEBORDER(border
-spacing
, border_spacing
, BorderSpacing
, 0, Table
, mBorderSpacing
, eCSSType_ValuePair
, nsnull
) // XXX bug 3935
372 CSS_PROP_SHORTHAND(-moz
-border
-start
, border_start
, MozBorderStart
, 0)
373 CSS_PROP_SHORTHAND(-moz
-border
-start
-color
, border_start_color
, MozBorderStartColor
, 0)
374 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
375 CSS_PROP_BORDER(border
-start
-color
-value
, border_start_color_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStartColor
, eCSSType_Value
, kBorderColorKTable
)
377 CSS_PROP_SHORTHAND(-moz
-border
-start
-style
, border_start_style
, MozBorderStartStyle
, 0)
378 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
379 CSS_PROP_BORDER(border
-start
-style
-value
, border_start_style_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStartStyle
, eCSSType_Value
, kBorderStyleKTable
)
381 CSS_PROP_SHORTHAND(-moz
-border
-start
-width
, border_start_width
, MozBorderStartWidth
, 0)
382 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
383 CSS_PROP_BORDER(border
-start
-width
-value
, border_start_width_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStartWidth
, eCSSType_Value
, kBorderWidthKTable
)
385 CSS_PROP_SHORTHAND(border
-style
, border_style
, BorderStyle
, 0) // on/off will need reflow
386 CSS_PROP_SHORTHAND(border
-top
, border_top
, BorderTop
, 0)
387 CSS_PROP_BORDER(border
-top
-color
, border_top_color
, BorderTopColor
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColor
.mTop
, eCSSType_Value
, kBorderColorKTable
)
388 CSS_PROP_BORDER(-moz
-border
-top
-colors
, border_top_colors
, MozBorderTopColors
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderColors
.mTop
, eCSSType_ValueList
, nsnull
)
389 CSS_PROP_BORDER(border
-top
-style
, border_top_style
, BorderTopStyle
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderStyle
.mTop
, eCSSType_Value
, kBorderStyleKTable
) // on/off will need reflow
390 CSS_PROP_BORDER(border
-top
-width
, border_top_width
, BorderTopWidth
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mBorderWidth
.mTop
, eCSSType_Value
, kBorderWidthKTable
)
391 CSS_PROP_SHORTHAND(border
-width
, border_width
, BorderWidth
, 0)
392 CSS_PROP_POSITION(bottom
, bottom
, Bottom
, 0, Position
, mOffset
.mBottom
, eCSSType_Value
, nsnull
)
393 CSS_PROP_BORDER(-moz
-box
-shadow
, box_shadow
, MozBoxShadow
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Margin
, mBoxShadow
, eCSSType_ValueList
, kBoxShadowTypeKTable
)
394 CSS_PROP_POSITION(-moz
-box
-sizing
, box_sizing
, MozBoxSizing
, 0, Position
, mBoxSizing
, eCSSType_Value
, kBoxSizingKTable
) // XXX bug 3935
395 CSS_PROP_TABLEBORDER(caption
-side
, caption_side
, CaptionSide
, 0, Table
, mCaptionSide
, eCSSType_Value
, kCaptionSideKTable
)
396 CSS_PROP_DISPLAY(clear
, clear
, Clear
, 0, Display
, mClear
, eCSSType_Value
, kClearKTable
)
397 CSS_PROP_DISPLAY(clip
, clip
, Clip
, 0, Display
, mClip
, eCSSType_Rect
, nsnull
)
398 CSS_PROP_COLOR(color
, color
, Color
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Color
, mColor
, eCSSType_Value
, nsnull
)
399 CSS_PROP_COLUMN(-moz
-column
-count
, _moz_column_count
, MozColumnCount
, 0, Column
, mColumnCount
, eCSSType_Value
, nsnull
)
400 CSS_PROP_COLUMN(-moz
-column
-width
, _moz_column_width
, MozColumnWidth
, 0, Column
, mColumnWidth
, eCSSType_Value
, nsnull
)
401 CSS_PROP_COLUMN(-moz
-column
-gap
, _moz_column_gap
, MozColumnGap
, 0, Column
, mColumnGap
, eCSSType_Value
, nsnull
)
402 CSS_PROP_SHORTHAND(-moz
-column
-rule
, _moz_column_rule
, MozColumnRule
, 0)
403 CSS_PROP_COLUMN(-moz
-column
-rule
-color
, _moz_column_rule_color
, MozColumnRuleColor
, 0, Column
, mColumnRuleColor
, eCSSType_Value
, nsnull
)
404 CSS_PROP_COLUMN(-moz
-column
-rule
-style
, _moz_column_rule_style
, MozColumnRuleStyle
, 0, Column
, mColumnRuleStyle
, eCSSType_Value
, kBorderStyleKTable
)
405 CSS_PROP_COLUMN(-moz
-column
-rule
-width
, _moz_column_rule_width
, MozColumnRuleWidth
, 0, Column
, mColumnRuleWidth
, eCSSType_Value
, kBorderWidthKTable
)
406 CSS_PROP_CONTENT(content
, content
, Content
, 0, Content
, mContent
, eCSSType_ValueList
, kContentKTable
)
407 CSS_PROP_CONTENT(counter
-increment
, counter_increment
, CounterIncrement
, 0, Content
, mCounterIncrement
, eCSSType_ValuePairList
, nsnull
) // XXX bug 137285
408 CSS_PROP_CONTENT(counter
-reset
, counter_reset
, CounterReset
, 0, Content
, mCounterReset
, eCSSType_ValuePairList
, nsnull
) // XXX bug 137285
409 CSS_PROP_SHORTHAND(cue
, cue
, Cue
, 0)
410 CSS_PROP_BACKENDONLY(cue
-after
, cue_after
, CueAfter
, 0, Aural
, mCueAfter
, eCSSType_Value
, nsnull
)
411 CSS_PROP_BACKENDONLY(cue
-before
, cue_before
, CueBefore
, 0, Aural
, mCueBefore
, eCSSType_Value
, nsnull
)
412 CSS_PROP_USERINTERFACE(cursor
, cursor
, Cursor
, CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, UserInterface
, mCursor
, eCSSType_ValueList
, kCursorKTable
)
413 CSS_PROP_VISIBILITY(direction
, direction
, Direction
, 0, Display
, mDirection
, eCSSType_Value
, kDirectionKTable
)
414 CSS_PROP_DISPLAY(display
, display
, Display
, 0, Display
, mDisplay
, eCSSType_Value
, kDisplayKTable
)
415 CSS_PROP_BACKENDONLY(elevation
, elevation
, Elevation
, 0, Aural
, mElevation
, eCSSType_Value
, kElevationKTable
)
416 CSS_PROP_TABLEBORDER(empty
-cells
, empty_cells
, EmptyCells
, 0, Table
, mEmptyCells
, eCSSType_Value
, kEmptyCellsKTable
)
417 CSS_PROP_DISPLAY(float, float, CssFloat
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Display
, mFloat
, eCSSType_Value
, kFloatKTable
)
418 CSS_PROP_BORDER(-moz
-float-edge
, float_edge
, MozFloatEdge
, 0, Margin
, mFloatEdge
, eCSSType_Value
, kFloatEdgeKTable
) // XXX bug 3935
419 CSS_PROP_SHORTHAND(font
, font
, Font
, 0)
420 CSS_PROP_FONT(font
-family
, font_family
, FontFamily
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mFamily
, eCSSType_Value
, nsnull
)
421 CSS_PROP_FONT(font
-size
, font_size
, FontSize
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mSize
, eCSSType_Value
, kFontSizeKTable
)
422 CSS_PROP_FONT(font
-size
-adjust
, font_size_adjust
, FontSizeAdjust
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mSizeAdjust
, eCSSType_Value
, nsnull
)
423 CSS_PROP_FONT(font
-stretch
, font_stretch
, FontStretch
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mStretch
, eCSSType_Value
, kFontStretchKTable
)
424 CSS_PROP_FONT(font
-style
, font_style
, FontStyle
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mStyle
, eCSSType_Value
, kFontStyleKTable
)
425 CSS_PROP_FONT(font
-variant
, font_variant
, FontVariant
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mVariant
, eCSSType_Value
, kFontVariantKTable
)
426 CSS_PROP_FONT(font
-weight
, font_weight
, FontWeight
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Font
, mWeight
, eCSSType_Value
, kFontWeightKTable
)
427 CSS_PROP_UIRESET(-moz
-force
-broken
-image
-icon
, force_broken_image_icon
, MozForceBrokenImageIcon
, 0, UserInterface
, mForceBrokenImageIcon
, eCSSType_Value
, nsnull
) // bug 58646
428 CSS_PROP_POSITION(height
, height
, Height
, 0, Position
, mHeight
, eCSSType_Value
, nsnull
)
429 CSS_PROP_LIST(-moz
-image
-region
, image_region
, MozImageRegion
, 0, List
, mImageRegion
, eCSSType_Rect
, nsnull
)
430 CSS_PROP_UIRESET(ime
-mode
, ime_mode
, ImeMode
, 0, UserInterface
, mIMEMode
, eCSSType_Value
, kIMEModeKTable
)
431 CSS_PROP_POSITION(left
, left
, Left
, 0, Position
, mOffset
.mLeft
, eCSSType_Value
, nsnull
)
432 CSS_PROP_TEXT(letter
-spacing
, letter_spacing
, LetterSpacing
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Text
, mLetterSpacing
, eCSSType_Value
, nsnull
)
433 CSS_PROP_TEXT(line
-height
, line_height
, LineHeight
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Text
, mLineHeight
, eCSSType_Value
, nsnull
)
434 CSS_PROP_SHORTHAND(list
-style
, list_style
, ListStyle
, 0)
435 CSS_PROP_LIST(list
-style
-image
, list_style_image
, ListStyleImage
, 0, List
, mImage
, eCSSType_Value
, nsnull
)
436 CSS_PROP_LIST(list
-style
-position
, list_style_position
, ListStylePosition
, 0, List
, mPosition
, eCSSType_Value
, kListStylePositionKTable
)
437 CSS_PROP_LIST(list
-style
-type
, list_style_type
, ListStyleType
, 0, List
, mType
, eCSSType_Value
, kListStyleKTable
)
438 CSS_PROP_SHORTHAND(margin
, margin
, Margin
, 0)
439 CSS_PROP_MARGIN(margin
-bottom
, margin_bottom
, MarginBottom
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mMargin
.mBottom
, eCSSType_Value
, nsnull
)
440 CSS_PROP_SHORTHAND(-moz
-margin
-end
, margin_end
, MozMarginEnd
, 0)
441 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
442 CSS_PROP_MARGIN(margin
-end
-value
, margin_end_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mMarginEnd
, eCSSType_Value
, nsnull
)
444 CSS_PROP_SHORTHAND(margin
-left
, margin_left
, MarginLeft
, 0)
445 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
446 CSS_PROP_MARGIN(margin
-left
-value
, margin_left_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mMargin
.mLeft
, eCSSType_Value
, nsnull
)
447 CSS_PROP_MARGIN(margin
-left
-ltr
-source
, margin_left_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mMarginLeftLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
448 CSS_PROP_MARGIN(margin
-left
-rtl
-source
, margin_left_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mMarginLeftRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
450 CSS_PROP_SHORTHAND(margin
-right
, margin_right
, MarginRight
, 0)
451 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
452 CSS_PROP_MARGIN(margin
-right
-value
, margin_right_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mMargin
.mRight
, eCSSType_Value
, nsnull
)
453 CSS_PROP_MARGIN(margin
-right
-ltr
-source
, margin_right_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mMarginRightLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
454 CSS_PROP_MARGIN(margin
-right
-rtl
-source
, margin_right_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mMarginRightRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
456 CSS_PROP_SHORTHAND(-moz
-margin
-start
, margin_start
, MozMarginStart
, 0)
457 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
458 CSS_PROP_MARGIN(margin
-start
-value
, margin_start_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mMarginStart
, eCSSType_Value
, nsnull
)
460 CSS_PROP_MARGIN(margin
-top
, margin_top
, MarginTop
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mMargin
.mTop
, eCSSType_Value
, nsnull
)
461 CSS_PROP_CONTENT(marker
-offset
, marker_offset
, MarkerOffset
, 0, Content
, mMarkerOffset
, eCSSType_Value
, nsnull
)
462 CSS_PROP_BACKENDONLY(marks
, marks
, Marks
, 0, Page
, mMarks
, eCSSType_Value
, kPageMarksKTable
)
463 CSS_PROP_POSITION(max
-height
, max_height
, MaxHeight
, 0, Position
, mMaxHeight
, eCSSType_Value
, nsnull
)
464 CSS_PROP_POSITION(max
-width
, max_width
, MaxWidth
, 0, Position
, mMaxWidth
, eCSSType_Value
, kWidthKTable
)
465 CSS_PROP_POSITION(min
-height
, min_height
, MinHeight
, 0, Position
, mMinHeight
, eCSSType_Value
, nsnull
)
466 CSS_PROP_POSITION(min
-width
, min_width
, MinWidth
, 0, Position
, mMinWidth
, eCSSType_Value
, kWidthKTable
)
467 CSS_PROP_DISPLAY(opacity
, opacity
, Opacity
, 0, Display
, mOpacity
, eCSSType_Value
, nsnull
) // XXX bug 3935
468 CSS_PROP_BACKENDONLY(orphans
, orphans
, Orphans
, 0, Breaks
, mOrphans
, eCSSType_Value
, nsnull
)
469 CSS_PROP_SHORTHAND(outline
, outline
, Outline
, 0)
470 CSS_PROP_OUTLINE(outline
-color
, outline_color
, OutlineColor
, 0, Margin
, mOutlineColor
, eCSSType_Value
, kOutlineColorKTable
)
471 CSS_PROP_OUTLINE(outline
-style
, outline_style
, OutlineStyle
, 0, Margin
, mOutlineStyle
, eCSSType_Value
, kBorderStyleKTable
)
472 CSS_PROP_OUTLINE(outline
-width
, outline_width
, OutlineWidth
, 0, Margin
, mOutlineWidth
, eCSSType_Value
, kBorderWidthKTable
)
473 CSS_PROP_OUTLINE(outline
-offset
, outline_offset
, OutlineOffset
, 0, Margin
, mOutlineOffset
, eCSSType_Value
, nsnull
)
474 CSS_PROP_SHORTHAND(overflow
, overflow
, Overflow
, 0)
475 CSS_PROP_DISPLAY(overflow
-x
, overflow_x
, OverflowX
, 0, Display
, mOverflowX
, eCSSType_Value
, kOverflowSubKTable
)
476 CSS_PROP_DISPLAY(overflow
-y
, overflow_y
, OverflowY
, 0, Display
, mOverflowY
, eCSSType_Value
, kOverflowSubKTable
)
477 CSS_PROP_SHORTHAND(padding
, padding
, Padding
, 0)
478 CSS_PROP_PADDING(padding
-bottom
, padding_bottom
, PaddingBottom
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mPadding
.mBottom
, eCSSType_Value
, nsnull
)
479 CSS_PROP_SHORTHAND(-moz
-padding
-end
, padding_end
, MozPaddingEnd
, 0)
480 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
481 CSS_PROP_PADDING(padding
-end
-value
, padding_end_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mPaddingEnd
, eCSSType_Value
, nsnull
)
483 CSS_PROP_SHORTHAND(padding
-left
, padding_left
, PaddingLeft
, 0)
484 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
485 CSS_PROP_PADDING(padding
-left
-value
, padding_left_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mPadding
.mLeft
, eCSSType_Value
, nsnull
)
486 CSS_PROP_PADDING(padding
-left
-ltr
-source
, padding_left_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mPaddingLeftLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
487 CSS_PROP_PADDING(padding
-left
-rtl
-source
, padding_left_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mPaddingLeftRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
489 CSS_PROP_SHORTHAND(padding
-right
, padding_right
, PaddingRight
, 0)
490 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
491 CSS_PROP_PADDING(padding
-right
-value
, padding_right_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mPadding
.mRight
, eCSSType_Value
, nsnull
)
492 CSS_PROP_PADDING(padding
-right
-ltr
-source
, padding_right_ltr_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mPaddingRightLTRSource
, eCSSType_Value
, kBoxPropSourceKTable
)
493 CSS_PROP_PADDING(padding
-right
-rtl
-source
, padding_right_rtl_source
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
| CSS_PROPERTY_DIRECTIONAL_SOURCE
, Margin
, mPaddingRightRTLSource
, eCSSType_Value
, kBoxPropSourceKTable
)
495 CSS_PROP_SHORTHAND(-moz
-padding
-start
, padding_start
, MozPaddingStart
, 0)
496 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
497 CSS_PROP_PADDING(padding
-start
-value
, padding_start_value
, X
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mPaddingStart
, eCSSType_Value
, nsnull
)
499 CSS_PROP_PADDING(padding
-top
, padding_top
, PaddingTop
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER
, Margin
, mPadding
.mTop
, eCSSType_Value
, nsnull
)
500 CSS_PROP_BACKENDONLY(page
, page
, Page
, 0, Breaks
, mPage
, eCSSType_Value
, nsnull
)
501 CSS_PROP_DISPLAY(page
-break-after
, page_break_after
, PageBreakAfter
, 0, Display
, mBreakAfter
, eCSSType_Value
, kPageBreakKTable
) // temp fix for bug 24000
502 CSS_PROP_DISPLAY(page
-break-before
, page_break_before
, PageBreakBefore
, 0, Display
, mBreakBefore
, eCSSType_Value
, kPageBreakKTable
) // temp fix for bug 24000
503 CSS_PROP_BACKENDONLY(page
-break-inside
, page_break_inside
, PageBreakInside
, 0, Breaks
, mPageBreakInside
, eCSSType_Value
, kPageBreakInsideKTable
)
504 CSS_PROP_SHORTHAND(pause
, pause
, Pause
, 0)
505 CSS_PROP_BACKENDONLY(pause
-after
, pause_after
, PauseAfter
, 0, Aural
, mPauseAfter
, eCSSType_Value
, nsnull
)
506 CSS_PROP_BACKENDONLY(pause
-before
, pause_before
, PauseBefore
, 0, Aural
, mPauseBefore
, eCSSType_Value
, nsnull
)
507 CSS_PROP_BACKENDONLY(pitch
, pitch
, Pitch
, 0, Aural
, mPitch
, eCSSType_Value
, kPitchKTable
)
508 CSS_PROP_BACKENDONLY(pitch
-range
, pitch_range
, PitchRange
, 0, Aural
, mPitchRange
, eCSSType_Value
, nsnull
)
509 CSS_PROP_DISPLAY(position
, position
, Position
, 0, Display
, mPosition
, eCSSType_Value
, kPositionKTable
)
510 CSS_PROP_QUOTES(quotes
, quotes
, Quotes
, 0, Content
, mQuotes
, eCSSType_ValuePairList
, nsnull
)
511 CSS_PROP_BACKENDONLY(richness
, richness
, Richness
, 0, Aural
, mRichness
, eCSSType_Value
, nsnull
)
512 CSS_PROP_POSITION(right
, right
, Right
, 0, Position
, mOffset
.mRight
, eCSSType_Value
, nsnull
)
513 CSS_PROP_BACKENDONLY(size
, size
, Size
, 0, Page
, mSize
, eCSSType_ValuePair
, kPageSizeKTable
)
514 CSS_PROP_BACKENDONLY(speak
, speak
, Speak
, 0, Aural
, mSpeak
, eCSSType_Value
, kSpeakKTable
)
515 CSS_PROP_BACKENDONLY(speak
-header
, speak_header
, SpeakHeader
, 0, Aural
, mSpeakHeader
, eCSSType_Value
, kSpeakHeaderKTable
)
516 CSS_PROP_BACKENDONLY(speak
-numeral
, speak_numeral
, SpeakNumeral
, 0, Aural
, mSpeakNumeral
, eCSSType_Value
, kSpeakNumeralKTable
)
517 CSS_PROP_BACKENDONLY(speak
-punctuation
, speak_punctuation
, SpeakPunctuation
, 0, Aural
, mSpeakPunctuation
, eCSSType_Value
, kSpeakPunctuationKTable
)
518 CSS_PROP_BACKENDONLY(speech
-rate
, speech_rate
, SpeechRate
, 0, Aural
, mSpeechRate
, eCSSType_Value
, kSpeechRateKTable
)
519 CSS_PROP_BACKENDONLY(stress
, stress
, Stress
, 0, Aural
, mStress
, eCSSType_Value
, nsnull
)
520 CSS_PROP_TABLE(table
-layout
, table_layout
, TableLayout
, 0, Table
, mLayout
, eCSSType_Value
, kTableLayoutKTable
)
521 CSS_PROP_TEXT(text
-align
, text_align
, TextAlign
, 0, Text
, mTextAlign
, eCSSType_Value
, kTextAlignKTable
)
522 CSS_PROP_TEXTRESET(text
-decoration
, text_decoration
, TextDecoration
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Text
, mDecoration
, eCSSType_Value
, kTextDecorationKTable
)
523 CSS_PROP_TEXT(text
-indent
, text_indent
, TextIndent
, 0, Text
, mTextIndent
, eCSSType_Value
, nsnull
)
524 CSS_PROP_TEXT(text
-shadow
, text_shadow
, TextShadow
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
| CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, Text
, mTextShadow
, eCSSType_ValueList
, nsnull
)
525 CSS_PROP_TEXT(text
-transform
, text_transform
, TextTransform
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Text
, mTextTransform
, eCSSType_Value
, kTextTransformKTable
)
526 CSS_PROP_DISPLAY(-moz
-transform
, _moz_transform
, MozTransform
, 0, Display
, mTransform
, eCSSType_ValueList
, kDisplayKTable
)
527 CSS_PROP_DISPLAY(-moz
-transform
-origin
, _moz_transform_origin
, MozTransformOrigin
, 0, Display
, mTransformOrigin
, eCSSType_ValuePair
, kBackgroundPositionKTable
)
528 CSS_PROP_POSITION(top
, top
, Top
, 0, Position
, mOffset
.mTop
, eCSSType_Value
, nsnull
)
529 CSS_PROP_TEXTRESET(unicode
-bidi
, unicode_bidi
, UnicodeBidi
, 0, Text
, mUnicodeBidi
, eCSSType_Value
, kUnicodeBidiKTable
)
530 CSS_PROP_USERINTERFACE(-moz
-user
-focus
, user_focus
, MozUserFocus
, 0, UserInterface
, mUserFocus
, eCSSType_Value
, kUserFocusKTable
) // XXX bug 3935
531 CSS_PROP_USERINTERFACE(-moz
-user
-input
, user_input
, MozUserInput
, 0, UserInterface
, mUserInput
, eCSSType_Value
, kUserInputKTable
) // XXX ??? // XXX bug 3935
532 CSS_PROP_USERINTERFACE(-moz
-user
-modify
, user_modify
, MozUserModify
, 0, UserInterface
, mUserModify
, eCSSType_Value
, kUserModifyKTable
) // XXX bug 3935
533 CSS_PROP_UIRESET(-moz
-user
-select
, user_select
, MozUserSelect
, 0, UserInterface
, mUserSelect
, eCSSType_Value
, kUserSelectKTable
) // XXX bug 3935
534 // NOTE: vertical-align is only supposed to apply to :first-letter when
535 // 'float' is 'none', but we don't worry about that since it has no
537 CSS_PROP_TEXTRESET(vertical
-align
, vertical_align
, VerticalAlign
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Text
, mVerticalAlign
, eCSSType_Value
, kVerticalAlignKTable
)
538 CSS_PROP_VISIBILITY(visibility
, visibility
, Visibility
, 0, Display
, mVisibility
, eCSSType_Value
, kVisibilityKTable
) // reflow for collapse
539 CSS_PROP_BACKENDONLY(voice
-family
, voice_family
, VoiceFamily
, 0, Aural
, mVoiceFamily
, eCSSType_Value
, nsnull
)
540 CSS_PROP_BACKENDONLY(volume
, volume
, Volume
, 0, Aural
, mVolume
, eCSSType_Value
, kVolumeKTable
)
541 CSS_PROP_TEXT(white
-space
, white_space
, WhiteSpace
, 0, Text
, mWhiteSpace
, eCSSType_Value
, kWhitespaceKTable
)
542 CSS_PROP_BACKENDONLY(widows
, widows
, Widows
, 0, Breaks
, mWidows
, eCSSType_Value
, nsnull
)
543 CSS_PROP_POSITION(width
, width
, Width
, 0, Position
, mWidth
, eCSSType_Value
, kWidthKTable
)
544 CSS_PROP_UIRESET(-moz
-window
-shadow
, _moz_window_shadow
, MozWindowShadow
, 0, UserInterface
, mWindowShadow
, eCSSType_Value
, kWindowShadowKTable
)
545 CSS_PROP_TEXT(word
-spacing
, word_spacing
, WordSpacing
, CSS_PROPERTY_APPLIES_TO_FIRST_LETTER_AND_FIRST_LINE
, Text
, mWordSpacing
, eCSSType_Value
, nsnull
)
546 CSS_PROP_TEXT(word
-wrap
, word_wrap
, WordWrap
, 0, Text
, mWordWrap
, eCSSType_Value
, kWordwrapKTable
)
547 CSS_PROP_POSITION(z
-index
, z_index
, ZIndex
, 0, Position
, mZIndex
, eCSSType_Value
, nsnull
)
549 CSS_PROP_XUL(-moz
-box
-align
, box_align
, MozBoxAlign
, 0, XUL
, mBoxAlign
, eCSSType_Value
, kBoxAlignKTable
) // XXX bug 3935
550 CSS_PROP_XUL(-moz
-box
-direction
, box_direction
, MozBoxDirection
, 0, XUL
, mBoxDirection
, eCSSType_Value
, kBoxDirectionKTable
) // XXX bug 3935
551 CSS_PROP_XUL(-moz
-box
-flex
, box_flex
, MozBoxFlex
, 0, XUL
, mBoxFlex
, eCSSType_Value
, nsnull
) // XXX bug 3935
552 CSS_PROP_XUL(-moz
-box
-orient
, box_orient
, MozBoxOrient
, 0, XUL
, mBoxOrient
, eCSSType_Value
, kBoxOrientKTable
) // XXX bug 3935
553 CSS_PROP_XUL(-moz
-box
-pack
, box_pack
, MozBoxPack
, 0, XUL
, mBoxPack
, eCSSType_Value
, kBoxPackKTable
) // XXX bug 3935
554 CSS_PROP_XUL(-moz
-box
-ordinal
-group
, box_ordinal_group
, MozBoxOrdinalGroup
, 0, XUL
, mBoxOrdinal
, eCSSType_Value
, nsnull
)
555 CSS_PROP_XUL(-moz
-stack
-sizing
, stack_sizing
, MozStackSizing
, 0, XUL
, mStackSizing
, eCSSType_Value
, kStackSizingKTable
)
558 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
559 CSS_PROP_FONT(-moz
-script
-level
, script_level
, ScriptLevel
, 0, Font
, mScriptLevel
, eCSSType_Value
, nsnull
)
560 CSS_PROP_FONT(-moz
-script
-size
-multiplier
, script_size_multiplier
, ScriptSizeMultiplier
, 0, Font
, mScriptSizeMultiplier
, eCSSType_Value
, nsnull
)
561 CSS_PROP_FONT(-moz
-script
-min
-size
, script_min_size
, ScriptMinSize
, 0, Font
, mScriptMinSize
, eCSSType_Value
, nsnull
)
566 // XXX treat SVG's CSS Properties as internal for now.
567 // Do we want to create an nsIDOMSVGCSS2Properties interface?
568 #ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
569 CSS_PROP_SVGRESET(clip
-path
, clip_path
, ClipPath
, 0, SVG
, mClipPath
, eCSSType_Value
, nsnull
)
570 CSS_PROP_SVG(clip
-rule
, clip_rule
, ClipRule
, 0, SVG
, mClipRule
, eCSSType_Value
, kFillRuleKTable
)
571 CSS_PROP_SVG(color
-interpolation
, color_interpolation
, ColorInterpolation
, 0, SVG
, mColorInterpolation
, eCSSType_Value
, kColorInterpolationKTable
)
572 CSS_PROP_SVG(color
-interpolation
-filters
, color_interpolation_filters
, ColorInterpolationFilters
, 0, SVG
, mColorInterpolationFilters
, eCSSType_Value
, kColorInterpolationKTable
)
573 CSS_PROP_SVGRESET(dominant
-baseline
, dominant_baseline
, DominantBaseline
, 0, SVG
, mDominantBaseline
, eCSSType_Value
, kDominantBaselineKTable
)
574 CSS_PROP_SVG(fill
, fill
, Fill
, 0, SVG
, mFill
, eCSSType_ValuePair
, nsnull
)
575 CSS_PROP_SVG(fill
-opacity
, fill_opacity
, FillOpacity
, 0, SVG
, mFillOpacity
, eCSSType_Value
, nsnull
)
576 CSS_PROP_SVG(fill
-rule
, fill_rule
, FillRule
, 0, SVG
, mFillRule
, eCSSType_Value
, kFillRuleKTable
)
577 CSS_PROP_SVGRESET(filter
, filter
, Filter
, 0, SVG
, mFilter
, eCSSType_Value
, nsnull
)
578 CSS_PROP_SVGRESET(flood
-color
, flood_color
, FloodColor
, 0, SVG
, mFloodColor
, eCSSType_Value
, nsnull
)
579 CSS_PROP_SVGRESET(flood
-opacity
, flood_opacity
, FloodOpacity
, 0, SVG
, mFloodOpacity
, eCSSType_Value
, nsnull
)
580 CSS_PROP_SVGRESET(lighting
-color
, lighting_color
, LightingColor
, 0, SVG
, mLightingColor
, eCSSType_Value
, nsnull
)
581 CSS_PROP_SHORTHAND(marker
, marker
, Marker
, 0)
582 CSS_PROP_SVG(marker
-end
, marker_end
, MarkerEnd
, 0, SVG
, mMarkerEnd
, eCSSType_Value
, nsnull
)
583 CSS_PROP_SVG(marker
-mid
, marker_mid
, MarkerMid
, 0, SVG
, mMarkerMid
, eCSSType_Value
, nsnull
)
584 CSS_PROP_SVG(marker
-start
, marker_start
, MarkerStart
, 0, SVG
, mMarkerStart
, eCSSType_Value
, nsnull
)
585 CSS_PROP_SVGRESET(mask
, mask
, Mask
, 0, SVG
, mMask
, eCSSType_Value
, nsnull
)
586 CSS_PROP_SVG(pointer
-events
, pointer_events
, PointerEvents
, 0, SVG
, mPointerEvents
, eCSSType_Value
, kPointerEventsKTable
)
587 CSS_PROP_SVG(shape
-rendering
, shape_rendering
, ShapeRendering
, 0, SVG
, mShapeRendering
, eCSSType_Value
, kShapeRenderingKTable
)
588 CSS_PROP_SVGRESET(stop
-color
, stop_color
, StopColor
, 0, SVG
, mStopColor
, eCSSType_Value
, nsnull
)
589 CSS_PROP_SVGRESET(stop
-opacity
, stop_opacity
, StopOpacity
, 0, SVG
, mStopOpacity
, eCSSType_Value
, nsnull
)
590 CSS_PROP_SVG(stroke
, stroke
, Stroke
, 0, SVG
, mStroke
, eCSSType_ValuePair
, nsnull
)
591 CSS_PROP_SVG(stroke
-dasharray
, stroke_dasharray
, StrokeDasharray
, 0 | CSS_PROPERTY_VALUE_LIST_USES_COMMAS
, SVG
, mStrokeDasharray
, eCSSType_ValueList
, nsnull
)
592 CSS_PROP_SVG(stroke
-dashoffset
, stroke_dashoffset
, StrokeDashoffset
, 0, SVG
, mStrokeDashoffset
, eCSSType_Value
, nsnull
)
593 CSS_PROP_SVG(stroke
-linecap
, stroke_linecap
, StrokeLinecap
, 0, SVG
, mStrokeLinecap
, eCSSType_Value
, kStrokeLinecapKTable
)
594 CSS_PROP_SVG(stroke
-linejoin
, stroke_linejoin
, StrokeLinejoin
, 0, SVG
, mStrokeLinejoin
, eCSSType_Value
, kStrokeLinejoinKTable
)
595 CSS_PROP_SVG(stroke
-miterlimit
, stroke_miterlimit
, StrokeMiterlimit
, 0, SVG
, mStrokeMiterlimit
, eCSSType_Value
, nsnull
)
596 CSS_PROP_SVG(stroke
-opacity
, stroke_opacity
, StrokeOpacity
, 0, SVG
, mStrokeOpacity
, eCSSType_Value
, nsnull
)
597 CSS_PROP_SVG(stroke
-width
, stroke_width
, StrokeWidth
, 0, SVG
, mStrokeWidth
, eCSSType_Value
, nsnull
)
598 CSS_PROP_SVG(text
-anchor
, text_anchor
, TextAnchor
, 0, SVG
, mTextAnchor
, eCSSType_Value
, kTextAnchorKTable
)
599 CSS_PROP_SVG(text
-rendering
, text_rendering
, TextRendering
, 0, SVG
, mTextRendering
, eCSSType_Value
, kTextRenderingKTable
)
600 #endif /* !defined (CSS_PROP_LIST_EXCLUDE_INTERNAL) */
603 // Callers that want information on the properties that are in
604 // the style structs but not in the nsCSS* structs should define
605 // |CSS_PROP_INCLUDE_NOT_CSS|. (Some of these are also in nsRuleData*,
606 // and a distinction might be needed at some point.)
607 // The first 3 parameters don't matter, but some compilers don't like
608 // empty arguments to macros.
609 #ifdef CSS_PROP_INCLUDE_NOT_CSS
610 CSS_PROP_VISIBILITY(X
, X
, X
, 0, Display
, mLang
, eCSSType_Value
, nsnull
)
611 CSS_PROP_TABLE(X
, X
, X
, 0, Table
, mFrame
, eCSSType_Value
, nsnull
)
612 CSS_PROP_TABLE(X
, X
, X
, 0, Table
, mRules
, eCSSType_Value
, nsnull
)
613 CSS_PROP_TABLE(X
, X
, X
, 0, Table
, mCols
, eCSSType_Value
, nsnull
)
614 CSS_PROP_TABLE(X
, X
, X
, 0, Table
, mSpan
, eCSSType_Value
, nsnull
)
615 #endif /* defined(CSS_PROP_INCLUDE_NOT_CSS) */
621 #undef CSS_PROP_COLOR
622 #undef CSS_PROP_BACKGROUND
624 #undef CSS_PROP_POSITION
626 #undef CSS_PROP_TEXTRESET
627 #undef CSS_PROP_DISPLAY
628 #undef CSS_PROP_VISIBILITY
629 #undef CSS_PROP_CONTENT
630 #undef CSS_PROP_QUOTES
631 #undef CSS_PROP_USERINTERFACE
632 #undef CSS_PROP_UIRESET
633 #undef CSS_PROP_TABLE
634 #undef CSS_PROP_TABLEBORDER
635 #undef CSS_PROP_MARGIN
636 #undef CSS_PROP_PADDING
637 #undef CSS_PROP_BORDER
638 #undef CSS_PROP_OUTLINE
640 #undef CSS_PROP_COLUMN
642 #undef CSS_PROP_SVGRESET
643 #ifdef DEFINED_CSS_PROP_BACKENDONLY
644 #undef CSS_PROP_BACKENDONLY
645 #undef DEFINED_CSS_PROP_BACKENDONLY
648 #else /* !defined(USED_CSS_PROP) */
650 #ifdef DEFINED_CSS_PROP_FONT
652 #undef DEFINED_CSS_PROP_FONT
654 #ifdef DEFINED_CSS_PROP_COLOR
655 #undef CSS_PROP_COLOR
656 #undef DEFINED_CSS_PROP_COLOR
658 #ifdef DEFINED_CSS_PROP_BACKGROUND
659 #undef CSS_PROP_BACKGROUND
660 #undef DEFINED_CSS_PROP_BACKGROUND
662 #ifdef DEFINED_CSS_PROP_LIST
664 #undef DEFINED_CSS_PROP_LIST
666 #ifdef DEFINED_CSS_PROP_POSITION
667 #undef CSS_PROP_POSITION
668 #undef DEFINED_CSS_PROP_POSITION
670 #ifdef DEFINED_CSS_PROP_TEXT
672 #undef DEFINED_CSS_PROP_TETEXTRESETT
674 #ifdef DEFINED_CSS_PROP_TEXTRESET
675 #undef CSS_PROP_TEXTRESET
676 #undef DEFINED_CSS_PROP_TEDISPLAYTRESET
678 #ifdef DEFINED_CSS_PROP_DISPLAY
679 #undef CSS_PROP_DISPLAY
680 #undef DEFINED_CSS_PROP_DISPLAY
682 #ifdef DEFINED_CSS_PROP_VISIBILITY
683 #undef CSS_PROP_VISIBILITY
684 #undef DEFINED_CSS_PROP_VISIBILITY
686 #ifdef DEFINED_CSS_PROP_CONTENT
687 #undef CSS_PROP_CONTENT
688 #undef DEFINED_CSS_PROP_CONTENT
690 #ifdef DEFINED_CSS_PROP_QUOTES
691 #undef CSS_PROP_QUOTES
692 #undef DEFINED_CSS_PROP_QUOTES
694 #ifdef DEFINED_CSS_PROP_USERINTERFACE
695 #undef CSS_PROP_USERINTERFACE
696 #undef DEFINED_CSS_PROP_USERINTERFACE
698 #ifdef DEFINED_CSS_PROP_UIRESET
699 #undef CSS_PROP_UIRESET
700 #undef DEFINED_CSS_PROP_UIRESET
702 #ifdef DEFINED_CSS_PROP_TABLE
703 #undef CSS_PROP_TABLE
704 #undef DEFINED_CSS_PROP_TABLE
706 #ifdef DEFINED_CSS_PROP_TABLEBORDER
707 #undef CSS_PROP_TABLEBORDER
708 #undef DEFINED_CSS_PROP_TABLEBORDER
710 #ifdef DEFINED_CSS_PROP_MARGIN
711 #undef CSS_PROP_MARGIN
712 #undef DEFINED_CSS_PROP_MARGIN
714 #ifdef DEFINED_CSS_PROP_PADDING
715 #undef CSS_PROP_PADDING
716 #undef DEFINED_CSS_PROP_PADDING
718 #ifdef DEFINED_CSS_PROP_BORDER
719 #undef CSS_PROP_BORDER
720 #undef DEFINED_CSS_PROP_BORDER
722 #ifdef DEFINED_CSS_PROP_OUTLINE
723 #undef CSS_PROP_OUTLINE
724 #undef DEFINED_CSS_PROP_OUTLINE
726 #ifdef DEFINED_CSS_PROP_XUL
728 #undef DEFINED_CSS_PROP_XUL
730 #ifdef DEFINED_CSS_PROP_COLUMN
731 #undef CSS_PROP_COLUMN
732 #undef DEFINED_CSS_PROP_COLUMN
734 #ifdef DEFINED_CSS_PROP_SVG
736 #undef DEFINED_CSS_PROP_SVG
738 #ifdef DEFINED_CSS_PROP_SVGRESET
739 #undef CSS_PROP_SVGRESET
740 #undef DEFINED_CSS_PROP_SVGRESET
742 #ifdef DEFINED_CSS_PROP_BACKENDONLY
743 #undef CSS_PROP_BACKENDONLY
744 #undef DEFINED_CSS_PROP_BACKENDONLY
747 #endif /* !defined(USED_CSS_PROP) */
749 #ifdef DEFINED_CSS_PROP_NOTIMPLEMENTED
750 #undef CSS_PROP_NOTIMPLEMENTED
751 #undef DEFINED_CSS_PROP_NOTIMPLEMENTED
754 #ifdef DEFINED_CSS_PROP_SHORTHAND
755 #undef CSS_PROP_SHORTHAND
756 #undef DEFINED_CSS_PROP_SHORTHAND