layout/style/nsCSSPropAliasList.h

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

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

mercurial