summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/parsing/animation-range-start-invalid.html
blob: 32357d8bd4c3b2e6e4e89cec57ce4b27734e4c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/scroll-animations-1/#propdef-animation-range">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_invalid_value("animation-range-start", "peek 50%");
test_invalid_value("animation-range-start", "50% contain");
test_invalid_value("animation-range-start", "50% cover");
test_invalid_value("animation-range-start", "50% entry");
test_invalid_value("animation-range-start", "50% enter");
test_invalid_value("animation-range-start", "50% exit");
test_invalid_value("animation-range-start", "contain contain");
test_invalid_value("animation-range-start", "none");
test_invalid_value("animation-range-start", "cover 50% enter 50%");
</script>