mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
add pref for en/disabling CSS Animations and Transitions.
This commit is contained in:
parent
4e8d205102
commit
864fc133a3
2 changed files with 8 additions and 2 deletions
|
|
@ -366,7 +366,7 @@ CSS_PROP_SHORTHAND(
|
|||
animation,
|
||||
Animation,
|
||||
CSS_PROPERTY_PARSE_FUNCTION,
|
||||
"")
|
||||
"layout.css.animation.enabled")
|
||||
CSS_PROP_DISPLAY(
|
||||
animation-delay,
|
||||
animation_delay,
|
||||
|
|
@ -4277,7 +4277,7 @@ CSS_PROP_SHORTHAND(
|
|||
transition,
|
||||
Transition,
|
||||
CSS_PROPERTY_PARSE_FUNCTION,
|
||||
"")
|
||||
"layout.css.transition.enabled")
|
||||
CSS_PROP_DISPLAY(
|
||||
transition-delay,
|
||||
transition_delay,
|
||||
|
|
|
|||
|
|
@ -2489,6 +2489,12 @@ pref("layout.css.isolation.enabled", true);
|
|||
// Is support for CSS Filters enabled?
|
||||
pref("layout.css.filters.enabled", true);
|
||||
|
||||
// Is support for CSS Animation enabled?
|
||||
pref("layout.css.animation.enabled", true);
|
||||
|
||||
// Is support for CSS Transition enabled?
|
||||
pref("layout.css.transition.enabled", true);
|
||||
|
||||
// Is support for scrollbar-width property enabled?
|
||||
pref("layout.css.scrollbar-width.enabled", true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue