mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add preferences (defaulting to enabled, for now) to control whether certain prefixed aliases for CSS properties are supported, so that authors can have a way to test what happens when they're turned off in advance of our disabling them. (Bug 804944) r=bzbarsky
This commit is contained in:
parent
fe6b36ef5f
commit
29f92ad50d
@ -35,23 +35,23 @@
|
||||
|
||||
******/
|
||||
|
||||
CSS_PROP_ALIAS(-moz-transform-origin, transform_origin, MozTransformOrigin, "")
|
||||
CSS_PROP_ALIAS(-moz-perspective-origin, perspective_origin, MozPerspectiveOrigin, "")
|
||||
CSS_PROP_ALIAS(-moz-perspective, perspective, MozPerspective, "")
|
||||
CSS_PROP_ALIAS(-moz-transform-style, transform_style, MozTransformStyle, "")
|
||||
CSS_PROP_ALIAS(-moz-backface-visibility, backface_visibility, MozBackfaceVisibility, "")
|
||||
CSS_PROP_ALIAS(-moz-border-image, border_image, MozBorderImage, "")
|
||||
CSS_PROP_ALIAS(-moz-transition, transition, MozTransition, "")
|
||||
CSS_PROP_ALIAS(-moz-transition-delay, transition_delay, MozTransitionDelay, "")
|
||||
CSS_PROP_ALIAS(-moz-transition-duration, transition_duration, MozTransitionDuration, "")
|
||||
CSS_PROP_ALIAS(-moz-transition-property, transition_property, MozTransitionProperty, "")
|
||||
CSS_PROP_ALIAS(-moz-transition-timing-function, transition_timing_function, MozTransitionTimingFunction, "")
|
||||
CSS_PROP_ALIAS(-moz-animation, animation, MozAnimation, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-delay, animation_delay, MozAnimationDelay, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-direction, animation_direction, MozAnimationDirection, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-duration, animation_duration, MozAnimationDuration, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-fill-mode, animation_fill_mode, MozAnimationFillMode, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-iteration-count, animation_iteration_count, MozAnimationIterationCount, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-name, animation_name, MozAnimationName, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-play-state, animation_play_state, MozAnimationPlayState, "")
|
||||
CSS_PROP_ALIAS(-moz-animation-timing-function, animation_timing_function, MozAnimationTimingFunction, "")
|
||||
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")
|
||||
|
@ -3366,7 +3366,7 @@ CSS_PROP_SHORTHAND(
|
||||
MozTransform,
|
||||
CSS_PROPERTY_PARSE_FUNCTION |
|
||||
CSS_PROPERTY_IS_ALIAS,
|
||||
"")
|
||||
"layout.css.prefixes.transforms")
|
||||
|
||||
#ifndef CSS_PROP_LIST_EXCLUDE_INTERNAL
|
||||
// We have a few properties that are in style structs but are not stored
|
||||
|
@ -1610,6 +1610,12 @@ pref("layout.css.supports-rule.enabled", true);
|
||||
// Is support for CSS Flexbox enabled?
|
||||
pref("layout.css.flexbox.enabled", false);
|
||||
|
||||
// Are sets of prefixed properties supported?
|
||||
pref("layout.css.prefixes.border-image", true);
|
||||
pref("layout.css.prefixes.transforms", true);
|
||||
pref("layout.css.prefixes.transitions", true);
|
||||
pref("layout.css.prefixes.animations", true);
|
||||
|
||||
// pref for which side vertical scrollbars should be on
|
||||
// 0 = end-side in UI direction
|
||||
// 1 = end-side in document/content direction
|
||||
|
Loading…
Reference in New Issue
Block a user