summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html')
-rw-r--r--testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html b/testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html
index 10ceed5b2c..75e0977fa1 100644
--- a/testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html
+++ b/testing/web-platform/tests/css/css-sizing/animation/height-interpolation.html
@@ -66,6 +66,12 @@ test_no_interpolation({
to: '20px',
});
+test_no_interpolation({
+ property: 'height',
+ from: 'auto',
+ to: '20px',
+});
+
test_interpolation({
property: 'height',
from: '0px',
@@ -78,4 +84,41 @@ test_interpolation({
{at: 1, expect: '100px'},
{at: 1.5, expect: '150px'}
]);
+
+test_no_interpolation({
+ property: 'height',
+ from: 'auto',
+ to: 'min-content',
+});
+
+test_no_interpolation({
+ property: 'height',
+ from: 'fit-content',
+ to: '20px',
+});
+
+test_no_interpolation({
+ property: 'height',
+ from: 'max-content',
+ to: 'fit-content',
+});
+
+test_no_interpolation({
+ property: 'height',
+ from: 'max-content',
+ to: 'stretch',
+});
+
+test_no_interpolation({
+ property: 'height',
+ from: 'max-content',
+ to: neutralKeyframe,
+});
+
+test_no_interpolation({
+ property: 'height',
+ from: neutralKeyframe,
+ to: 'fit-content',
+});
+
</script>