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