michael@0: /* vim: set shiftwidth=2 tabstop=8 autoindent cindent expandtab: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* michael@0: * a list of all CSS property aliases with data about them, for preprocessing michael@0: */ michael@0: michael@0: /****** michael@0: michael@0: This file contains the list of all CSS properties that are just michael@0: aliases for other properties (e.g., for when we temporarily continue michael@0: to support a prefixed property after adding support for its unprefixed michael@0: form). It is designed to be used as inline input through the magic of michael@0: C preprocessing. All entries must be enclosed in the appropriate michael@0: CSS_PROP_ALIAS macro which will have cruel and unusual things done to michael@0: it. michael@0: michael@0: The arguments to CSS_PROP_ALIAS are: michael@0: michael@0: -. 'aliasname' entries represent a CSS property name and *must* use michael@0: only lowercase characters. michael@0: michael@0: -. 'id' should be the same as the 'id' field in nsCSSPropList.h for michael@0: the property that 'aliasname' is being aliased to. michael@0: michael@0: -. 'method' is the CSS2Properties property name. Unlike michael@0: nsCSSPropList.h, prefixes should just be included in this file (rather michael@0: than needing the CSS_PROP_DOMPROP_PREFIXED(prop) macro). michael@0: michael@0: -. 'pref' is the name of a pref that controls whether the property michael@0: is enabled. The property is enabled if 'pref' is an empty string, michael@0: or if the boolean property whose name is 'pref' is set to true. michael@0: michael@0: ******/ michael@0: michael@0: CSS_PROP_ALIAS(-moz-transform-origin, michael@0: transform_origin, michael@0: MozTransformOrigin, michael@0: "layout.css.prefixes.transforms") michael@0: CSS_PROP_ALIAS(-moz-perspective-origin, michael@0: perspective_origin, michael@0: MozPerspectiveOrigin, michael@0: "layout.css.prefixes.transforms") michael@0: CSS_PROP_ALIAS(-moz-perspective, michael@0: perspective, michael@0: MozPerspective, michael@0: "layout.css.prefixes.transforms") michael@0: CSS_PROP_ALIAS(-moz-transform-style, michael@0: transform_style, michael@0: MozTransformStyle, michael@0: "layout.css.prefixes.transforms") michael@0: CSS_PROP_ALIAS(-moz-backface-visibility, michael@0: backface_visibility, michael@0: MozBackfaceVisibility, michael@0: "layout.css.prefixes.transforms") michael@0: CSS_PROP_ALIAS(-moz-border-image, michael@0: border_image, michael@0: MozBorderImage, michael@0: "layout.css.prefixes.border-image") michael@0: CSS_PROP_ALIAS(-moz-transition, michael@0: transition, michael@0: MozTransition, michael@0: "layout.css.prefixes.transitions") michael@0: CSS_PROP_ALIAS(-moz-transition-delay, michael@0: transition_delay, michael@0: MozTransitionDelay, michael@0: "layout.css.prefixes.transitions") michael@0: CSS_PROP_ALIAS(-moz-transition-duration, michael@0: transition_duration, michael@0: MozTransitionDuration, michael@0: "layout.css.prefixes.transitions") michael@0: CSS_PROP_ALIAS(-moz-transition-property, michael@0: transition_property, michael@0: MozTransitionProperty, michael@0: "layout.css.prefixes.transitions") michael@0: CSS_PROP_ALIAS(-moz-transition-timing-function, michael@0: transition_timing_function, michael@0: MozTransitionTimingFunction, michael@0: "layout.css.prefixes.transitions") michael@0: CSS_PROP_ALIAS(-moz-animation, michael@0: animation, michael@0: MozAnimation, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-delay, michael@0: animation_delay, michael@0: MozAnimationDelay, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-direction, michael@0: animation_direction, michael@0: MozAnimationDirection, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-duration, michael@0: animation_duration, michael@0: MozAnimationDuration, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-fill-mode, michael@0: animation_fill_mode, michael@0: MozAnimationFillMode, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-iteration-count, michael@0: animation_iteration_count, michael@0: MozAnimationIterationCount, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-name, michael@0: animation_name, michael@0: MozAnimationName, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-play-state, michael@0: animation_play_state, michael@0: MozAnimationPlayState, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-animation-timing-function, michael@0: animation_timing_function, michael@0: MozAnimationTimingFunction, michael@0: "layout.css.prefixes.animations") michael@0: CSS_PROP_ALIAS(-moz-box-sizing, michael@0: box_sizing, michael@0: MozBoxSizing, michael@0: "layout.css.prefixes.box-sizing") michael@0: CSS_PROP_ALIAS(font-feature-settings, michael@0: font_feature_settings, michael@0: FontFeatureSettings, michael@0: "layout.css.font-features.enabled") michael@0: CSS_PROP_ALIAS(font-language-override, michael@0: font_language_override, michael@0: FontLanguageOverride, michael@0: "layout.css.font-features.enabled")