Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* A file meant as input to the preprocessor only */
3 /* DO_PROP serves as an extra level of indirection to allow expansion
4 of CSS_PROP_DOMPROP_PREFIXED */
6 [
8 #define PROP_STRINGIFY_INTERNAL(X) #X
9 #define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X)
11 #define DO_PROP(method, id, flags, pref) \
12 [ #method, #id, PROP_STRINGIFY(flags), pref ],
13 #define CSS_PROP(name, id, method, flags, pref, parsevariant, kwtable, \
14 stylestruct, stylestructofset, animtype) \
15 DO_PROP(method, id, flags, pref)
16 #define CSS_PROP_SHORTHAND(name, id, method, flags, pref) \
17 DO_PROP(method, id, flags, pref)
18 #define CSS_PROP_PUBLIC_OR_PRIVATE(publicname_, privatename_) publicname_
19 #define CSS_PROP_LIST_EXCLUDE_INTERNAL
21 #include "nsCSSPropList.h"
23 #undef CSS_PROP_LIST_EXCLUDE_INTERNAL
24 #undef CSS_PROP_PUBLIC_OR_PRIVATE
25 #undef CSS_PROP_SHORTHAND
26 #undef CSS_PROP
28 #define CSS_PROP_ALIAS(name, id, method, pref) \
29 DO_PROP(method, id, 0, pref)
31 #include "nsCSSPropAliasList.h"
33 #undef CSS_PROP_ALIAS
35 #undef DO_PROP
36 #undef PROP_STRINGIFY
37 #undef PROP_STRINGIFY_INTERNAL
39 ]