2012-08-23 21:08:09 -07:00
|
|
|
/* A file meant as input to the preprocessor only */
|
|
|
|
|
|
|
|
/* DO_PROP serves as an extra level of indirection to allow expansion
|
|
|
|
of CSS_PROP_DOMPROP_PREFIXED */
|
|
|
|
|
|
|
|
[
|
|
|
|
|
2014-03-07 09:14:26 -08:00
|
|
|
#define PROP_STRINGIFY_INTERNAL(X) #X
|
|
|
|
#define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X)
|
|
|
|
|
2014-09-19 19:58:26 -07:00
|
|
|
#define DO_PROP(name, method, id, flags, pref) \
|
|
|
|
[ #name, #method, #id, PROP_STRINGIFY(flags), pref ],
|
2012-08-23 21:08:09 -07:00
|
|
|
#define CSS_PROP(name, id, method, flags, pref, parsevariant, kwtable, \
|
|
|
|
stylestruct, stylestructofset, animtype) \
|
2014-09-19 19:58:26 -07:00
|
|
|
DO_PROP(name, method, id, flags, pref)
|
2012-08-23 21:08:09 -07:00
|
|
|
#define CSS_PROP_SHORTHAND(name, id, method, flags, pref) \
|
2014-09-19 19:58:26 -07:00
|
|
|
DO_PROP(name, method, id, flags, pref)
|
2013-03-25 09:24:21 -07:00
|
|
|
#define CSS_PROP_PUBLIC_OR_PRIVATE(publicname_, privatename_) publicname_
|
2012-08-23 21:08:09 -07:00
|
|
|
#define CSS_PROP_LIST_EXCLUDE_INTERNAL
|
|
|
|
|
|
|
|
#include "nsCSSPropList.h"
|
|
|
|
|
|
|
|
#undef CSS_PROP_LIST_EXCLUDE_INTERNAL
|
2013-03-25 09:24:21 -07:00
|
|
|
#undef CSS_PROP_PUBLIC_OR_PRIVATE
|
2012-08-23 21:08:09 -07:00
|
|
|
#undef CSS_PROP_SHORTHAND
|
|
|
|
#undef CSS_PROP
|
|
|
|
|
|
|
|
#define CSS_PROP_ALIAS(name, id, method, pref) \
|
2014-09-19 19:58:26 -07:00
|
|
|
DO_PROP(name, method, id, 0, pref)
|
2012-08-23 21:08:09 -07:00
|
|
|
|
|
|
|
#include "nsCSSPropAliasList.h"
|
|
|
|
|
|
|
|
#undef CSS_PROP_ALIAS
|
|
|
|
|
|
|
|
#undef DO_PROP
|
2014-03-07 09:14:26 -08:00
|
|
|
#undef PROP_STRINGIFY
|
|
|
|
#undef PROP_STRINGIFY_INTERNAL
|
2012-08-23 21:08:09 -07:00
|
|
|
|
|
|
|
]
|