Bug 1836525 - [Content-visibility] Make content-visibility animatable, r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D190694
This commit is contained in:
Cathie Chen 2023-10-27 00:43:25 +00:00
parent e8968d56fe
commit ef95647a77
3 changed files with 19 additions and 82 deletions

View File

@ -495,7 +495,7 @@ ${helpers.predefined_type(
engines="gecko",
spec="https://drafts.csswg.org/css-contain/#content-visibility",
gecko_pref="layout.css.content-visibility.enabled",
animation_value_type="none",
animation_value_type="discrete",
affects="layout",
)}

View File

@ -1,3 +0,0 @@
[content-visibility-077.html]
[Content-visibility is animatable]
expected: FAIL

View File

@ -11,84 +11,6 @@
[CSS Transitions: property <content-visibility> from [visible\] to [hidden\] at (0.9) should be [visible\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [visible\] to [hidden\] at (1) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [visible\] to [hidden\] at (1.5) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [visible\] to [hidden\] at (1) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [visible\] to [hidden\] at (1.5) should be [hidden\]]
expected: FAIL
[CSS Transitions: property <content-visibility> from [hidden\] to [visible\] at (-1) should be [hidden\]]
expected: FAIL
[CSS Transitions: property <content-visibility> from [hidden\] to [visible\] at (0) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [visible\] at (-1) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [visible\] at (0) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [visible\] at (-1) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [visible\] at (0) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [auto\] to [visible\] at (-0.3) should be [auto\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [auto\] to [visible\] at (0) should be [auto\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [auto\] to [visible\] at (0.3) should be [auto\]]
expected: FAIL
[Web Animations: property <content-visibility> from [auto\] to [visible\] at (-0.3) should be [auto\]]
expected: FAIL
[Web Animations: property <content-visibility> from [auto\] to [visible\] at (0) should be [auto\]]
expected: FAIL
[Web Animations: property <content-visibility> from [auto\] to [visible\] at (0.3) should be [auto\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [hidden\] at (-1) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [hidden\] at (0) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [hidden\] at (0.5) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [hidden\] at (1) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [hidden\] at (1.5) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [hidden\] at (-1) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [hidden\] at (0) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [hidden\] at (0.5) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [hidden\] at (1) should be [hidden\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [hidden\] at (1.5) should be [hidden\]]
expected: FAIL
[CSS Transitions with transition: all: property <content-visibility> from [visible\] to [hidden\] at (-1) should be [visible\]]
expected: FAIL
@ -101,8 +23,26 @@
[CSS Transitions with transition: all: property <content-visibility> from [visible\] to [hidden\] at (0.9) should be [visible\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [visible\] to [hidden\] at (0.9) should be [visible\]]
expected: FAIL
[Web Animations: property <content-visibility> from [visible\] to [hidden\] at (0.9) should be [visible\]]
expected: FAIL
[CSS Transitions: property <content-visibility> from [hidden\] to [visible\] at (-1) should be [hidden\]]
expected: FAIL
[CSS Transitions: property <content-visibility> from [hidden\] to [visible\] at (0) should be [hidden\]]
expected: FAIL
[CSS Transitions with transition: all: property <content-visibility> from [hidden\] to [visible\] at (-1) should be [hidden\]]
expected: FAIL
[CSS Transitions with transition: all: property <content-visibility> from [hidden\] to [visible\] at (0) should be [hidden\]]
expected: FAIL
[CSS Animations: property <content-visibility> from [hidden\] to [visible\] at (0.1) should be [visible\]]
expected: FAIL
[Web Animations: property <content-visibility> from [hidden\] to [visible\] at (0.1) should be [visible\]]
expected: FAIL