summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/overlay/overlay-transition-property.html
blob: a667f26ea6a42a2dde565d4eeb7f28cb98aacbc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>