layout/style/nsCSSPropAliasList.h

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 /* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 /*
     7  * a list of all CSS property aliases with data about them, for preprocessing
     8  */
    10 /******
    12   This file contains the list of all CSS properties that are just
    13   aliases for other properties (e.g., for when we temporarily continue
    14   to support a prefixed property after adding support for its unprefixed
    15   form).  It is designed to be used as inline input through the magic of
    16   C preprocessing.  All entries must be enclosed in the appropriate
    17   CSS_PROP_ALIAS macro which will have cruel and unusual things done to
    18   it.
    20   The arguments to CSS_PROP_ALIAS are:
    22   -. 'aliasname' entries represent a CSS property name and *must* use
    23   only lowercase characters.
    25   -. 'id' should be the same as the 'id' field in nsCSSPropList.h for
    26   the property that 'aliasname' is being aliased to.
    28   -. 'method' is the CSS2Properties property name.  Unlike
    29   nsCSSPropList.h, prefixes should just be included in this file (rather
    30   than needing the CSS_PROP_DOMPROP_PREFIXED(prop) macro).
    32   -. 'pref' is the name of a pref that controls whether the property
    33   is enabled.  The property is enabled if 'pref' is an empty string,
    34   or if the boolean property whose name is 'pref' is set to true.
    36  ******/
    38 CSS_PROP_ALIAS(-moz-transform-origin,
    39                transform_origin,
    40                MozTransformOrigin,
    41                "layout.css.prefixes.transforms")
    42 CSS_PROP_ALIAS(-moz-perspective-origin,
    43                perspective_origin,
    44                MozPerspectiveOrigin,
    45                "layout.css.prefixes.transforms")
    46 CSS_PROP_ALIAS(-moz-perspective,
    47                perspective,
    48                MozPerspective,
    49                "layout.css.prefixes.transforms")
    50 CSS_PROP_ALIAS(-moz-transform-style,
    51                transform_style,
    52                MozTransformStyle,
    53                "layout.css.prefixes.transforms")
    54 CSS_PROP_ALIAS(-moz-backface-visibility,
    55                backface_visibility,
    56                MozBackfaceVisibility,
    57                "layout.css.prefixes.transforms")
    58 CSS_PROP_ALIAS(-moz-border-image,
    59                border_image,
    60                MozBorderImage,
    61                "layout.css.prefixes.border-image")
    62 CSS_PROP_ALIAS(-moz-transition,
    63                transition,
    64                MozTransition,
    65                "layout.css.prefixes.transitions")
    66 CSS_PROP_ALIAS(-moz-transition-delay,
    67                transition_delay,
    68                MozTransitionDelay,
    69                "layout.css.prefixes.transitions")
    70 CSS_PROP_ALIAS(-moz-transition-duration,
    71                transition_duration,
    72                MozTransitionDuration,
    73                "layout.css.prefixes.transitions")
    74 CSS_PROP_ALIAS(-moz-transition-property,
    75                transition_property,
    76                MozTransitionProperty,
    77                "layout.css.prefixes.transitions")
    78 CSS_PROP_ALIAS(-moz-transition-timing-function,
    79                transition_timing_function,
    80                MozTransitionTimingFunction,
    81                "layout.css.prefixes.transitions")
    82 CSS_PROP_ALIAS(-moz-animation,
    83                animation,
    84                MozAnimation,
    85                "layout.css.prefixes.animations")
    86 CSS_PROP_ALIAS(-moz-animation-delay,
    87                animation_delay,
    88                MozAnimationDelay,
    89                "layout.css.prefixes.animations")
    90 CSS_PROP_ALIAS(-moz-animation-direction,
    91                animation_direction,
    92                MozAnimationDirection,
    93                "layout.css.prefixes.animations")
    94 CSS_PROP_ALIAS(-moz-animation-duration,
    95                animation_duration,
    96                MozAnimationDuration,
    97                "layout.css.prefixes.animations")
    98 CSS_PROP_ALIAS(-moz-animation-fill-mode,
    99                animation_fill_mode,
   100                MozAnimationFillMode,
   101                "layout.css.prefixes.animations")
   102 CSS_PROP_ALIAS(-moz-animation-iteration-count,
   103                animation_iteration_count,
   104                MozAnimationIterationCount,
   105                "layout.css.prefixes.animations")
   106 CSS_PROP_ALIAS(-moz-animation-name,
   107                animation_name,
   108                MozAnimationName,
   109                "layout.css.prefixes.animations")
   110 CSS_PROP_ALIAS(-moz-animation-play-state,
   111                animation_play_state,
   112                MozAnimationPlayState,
   113                "layout.css.prefixes.animations")
   114 CSS_PROP_ALIAS(-moz-animation-timing-function,
   115                animation_timing_function,
   116                MozAnimationTimingFunction,
   117                "layout.css.prefixes.animations")
   118 CSS_PROP_ALIAS(-moz-box-sizing,
   119                box_sizing,
   120                MozBoxSizing,
   121                "layout.css.prefixes.box-sizing")
   122 CSS_PROP_ALIAS(font-feature-settings,
   123                font_feature_settings,
   124                FontFeatureSettings,
   125                "layout.css.font-features.enabled")
   126 CSS_PROP_ALIAS(font-language-override,
   127                font_language_override,
   128                FontLanguageOverride,
   129                "layout.css.font-features.enabled")

mercurial