2012-08-24 08:08:09 +04: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 21:14:26 +04:00
|
|
|
#define PROP_STRINGIFY_INTERNAL(X) #X
|
|
|
|
#define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X)
|
|
|
|
|
2015-09-22 08:58:20 +03:00
|
|
|
#define DO_PROP(name, method, id, flags, pref, proptype) \
|
|
|
|
[ #name, #method, #id, PROP_STRINGIFY(flags), pref, proptype ],
|
2012-08-24 08:08:09 +04:00
|
|
|
#define CSS_PROP(name, id, method, flags, pref, parsevariant, kwtable, \
|
2015-09-22 08:58:20 +03:00
|
|
|
stylestruct, stylestructoffset, animtype) \
|
|
|
|
DO_PROP(name, method, id, flags, pref, "longhand")
|
2012-08-24 08:08:09 +04:00
|
|
|
#define CSS_PROP_SHORTHAND(name, id, method, flags, pref) \
|
2015-09-22 08:58:20 +03:00
|
|
|
DO_PROP(name, method, id, flags, pref, "shorthand")
|
|
|
|
#define CSS_PROP_LOGICAL(name, id, method, flags, pref, parsevariant, kwtable, \
|
|
|
|
group, stylestruct, stylestructoffset, animtype) \
|
|
|
|
DO_PROP(name, method, id, flags, pref, "logical")
|
2013-03-25 20:24:21 +04:00
|
|
|
#define CSS_PROP_PUBLIC_OR_PRIVATE(publicname_, privatename_) publicname_
|
2012-08-24 08:08:09 +04:00
|
|
|
|
|
|
|
#include "nsCSSPropList.h"
|
|
|
|
|
2013-03-25 20:24:21 +04:00
|
|
|
#undef CSS_PROP_PUBLIC_OR_PRIVATE
|
2015-09-22 08:58:20 +03:00
|
|
|
#undef CSS_PROP_LOGICAL
|
2012-08-24 08:08:09 +04:00
|
|
|
#undef CSS_PROP_SHORTHAND
|
|
|
|
#undef CSS_PROP
|
|
|
|
|
|
|
|
#define CSS_PROP_ALIAS(name, id, method, pref) \
|
2015-09-22 08:58:20 +03:00
|
|
|
DO_PROP(name, method, id, 0, pref, "alias")
|
2012-08-24 08:08:09 +04:00
|
|
|
|
|
|
|
#include "nsCSSPropAliasList.h"
|
|
|
|
|
|
|
|
#undef CSS_PROP_ALIAS
|
|
|
|
|
|
|
|
#undef DO_PROP
|
2014-03-07 21:14:26 +04:00
|
|
|
#undef PROP_STRINGIFY
|
|
|
|
#undef PROP_STRINGIFY_INTERNAL
|
2012-08-24 08:08:09 +04:00
|
|
|
|
|
|
|
]
|