dom/webidl/CSS2PropertiesProps.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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