dom/webidl/CSS2PropertiesProps.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* A file meant as input to the preprocessor only */
michael@0 2
michael@0 3 /* DO_PROP serves as an extra level of indirection to allow expansion
michael@0 4 of CSS_PROP_DOMPROP_PREFIXED */
michael@0 5
michael@0 6 [
michael@0 7
michael@0 8 #define PROP_STRINGIFY_INTERNAL(X) #X
michael@0 9 #define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X)
michael@0 10
michael@0 11 #define DO_PROP(method, id, flags, pref) \
michael@0 12 [ #method, #id, PROP_STRINGIFY(flags), pref ],
michael@0 13 #define CSS_PROP(name, id, method, flags, pref, parsevariant, kwtable, \
michael@0 14 stylestruct, stylestructofset, animtype) \
michael@0 15 DO_PROP(method, id, flags, pref)
michael@0 16 #define CSS_PROP_SHORTHAND(name, id, method, flags, pref) \
michael@0 17 DO_PROP(method, id, flags, pref)
michael@0 18 #define CSS_PROP_PUBLIC_OR_PRIVATE(publicname_, privatename_) publicname_
michael@0 19 #define CSS_PROP_LIST_EXCLUDE_INTERNAL
michael@0 20
michael@0 21 #include "nsCSSPropList.h"
michael@0 22
michael@0 23 #undef CSS_PROP_LIST_EXCLUDE_INTERNAL
michael@0 24 #undef CSS_PROP_PUBLIC_OR_PRIVATE
michael@0 25 #undef CSS_PROP_SHORTHAND
michael@0 26 #undef CSS_PROP
michael@0 27
michael@0 28 #define CSS_PROP_ALIAS(name, id, method, pref) \
michael@0 29 DO_PROP(method, id, 0, pref)
michael@0 30
michael@0 31 #include "nsCSSPropAliasList.h"
michael@0 32
michael@0 33 #undef CSS_PROP_ALIAS
michael@0 34
michael@0 35 #undef DO_PROP
michael@0 36 #undef PROP_STRINGIFY
michael@0 37 #undef PROP_STRINGIFY_INTERNAL
michael@0 38
michael@0 39 ]

mercurial