dom/webidl/CSS2PropertiesProps.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 /* A file meant as input to the preprocessor only */
     3 /* DO_PROP serves as an extra level of indirection to allow expansion
     4    of CSS_PROP_DOMPROP_PREFIXED */
     6 [
     8 #define PROP_STRINGIFY_INTERNAL(X) #X
     9 #define PROP_STRINGIFY(X) PROP_STRINGIFY_INTERNAL(X)
    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
    21 #include "nsCSSPropList.h"
    23 #undef CSS_PROP_LIST_EXCLUDE_INTERNAL
    24 #undef CSS_PROP_PUBLIC_OR_PRIVATE
    25 #undef CSS_PROP_SHORTHAND
    26 #undef CSS_PROP
    28 #define CSS_PROP_ALIAS(name, id, method, pref) \
    29   DO_PROP(method, id, 0, pref)
    31 #include "nsCSSPropAliasList.h"
    33 #undef CSS_PROP_ALIAS
    35 #undef DO_PROP
    36 #undef PROP_STRINGIFY
    37 #undef PROP_STRINGIFY_INTERNAL
    39 ]

mercurial