dom/webidl/CSS2PropertiesProps.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:f2b87a5facfb
1 /* A file meant as input to the preprocessor only */
2
3 /* DO_PROP serves as an extra level of indirection to allow expansion
4 of CSS_PROP_DOMPROP_PREFIXED */
5
6 [
7
8 #define PROP_STRINGIFY_INTERNAL(X) #X
9 #define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X)
10
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
20
21 #include "nsCSSPropList.h"
22
23 #undef CSS_PROP_LIST_EXCLUDE_INTERNAL
24 #undef CSS_PROP_PUBLIC_OR_PRIVATE
25 #undef CSS_PROP_SHORTHAND
26 #undef CSS_PROP
27
28 #define CSS_PROP_ALIAS(name, id, method, pref) \
29 DO_PROP(method, id, 0, pref)
30
31 #include "nsCSSPropAliasList.h"
32
33 #undef CSS_PROP_ALIAS
34
35 #undef DO_PROP
36 #undef PROP_STRINGIFY
37 #undef PROP_STRINGIFY_INTERNAL
38
39 ]

mercurial