1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/webidl/CSS2PropertiesProps.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +/* A file meant as input to the preprocessor only */ 1.5 + 1.6 +/* DO_PROP serves as an extra level of indirection to allow expansion 1.7 + of CSS_PROP_DOMPROP_PREFIXED */ 1.8 + 1.9 +[ 1.10 + 1.11 +#define PROP_STRINGIFY_INTERNAL(X) #X 1.12 +#define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X) 1.13 + 1.14 +#define DO_PROP(method, id, flags, pref) \ 1.15 + [ #method, #id, PROP_STRINGIFY(flags), pref ], 1.16 +#define CSS_PROP(name, id, method, flags, pref, parsevariant, kwtable, \ 1.17 + stylestruct, stylestructofset, animtype) \ 1.18 + DO_PROP(method, id, flags, pref) 1.19 +#define CSS_PROP_SHORTHAND(name, id, method, flags, pref) \ 1.20 + DO_PROP(method, id, flags, pref) 1.21 +#define CSS_PROP_PUBLIC_OR_PRIVATE(publicname_, privatename_) publicname_ 1.22 +#define CSS_PROP_LIST_EXCLUDE_INTERNAL 1.23 + 1.24 +#include "nsCSSPropList.h" 1.25 + 1.26 +#undef CSS_PROP_LIST_EXCLUDE_INTERNAL 1.27 +#undef CSS_PROP_PUBLIC_OR_PRIVATE 1.28 +#undef CSS_PROP_SHORTHAND 1.29 +#undef CSS_PROP 1.30 + 1.31 +#define CSS_PROP_ALIAS(name, id, method, pref) \ 1.32 + DO_PROP(method, id, 0, pref) 1.33 + 1.34 +#include "nsCSSPropAliasList.h" 1.35 + 1.36 +#undef CSS_PROP_ALIAS 1.37 + 1.38 +#undef DO_PROP 1.39 +#undef PROP_STRINGIFY 1.40 +#undef PROP_STRINGIFY_INTERNAL 1.41 + 1.42 +]