summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html')
-rw-r--r--testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html b/testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html
new file mode 100644
index 0000000000..a667f26ea6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<title>CSS Positioned Layout Module Test: 'overlay' is a valid transition-property value</title>
+<link rel="help" href="https://drafts.csswg.org/css-position-4/#overlay">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/parsing-testcommon.js"></script>
+<script src="/css/support/computed-testcommon.js"></script>
+<div id="target"></div>
+<script>
+ test_valid_value("transition-property", "overlay");
+ test_valid_value("transition", "overlay 2s", "overlay 2s ease 0s");
+
+ test_computed_value("transition-property", "overlay");
+ test_computed_value("transition", "overlay 1s", "overlay 1s ease 0s");
+</script>