summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/overlay/overlay-valid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-position/overlay/overlay-valid.html')
-rw-r--r--testing/web-platform/tests/css/css-position/overlay/overlay-valid.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/overlay/overlay-valid.html b/testing/web-platform/tests/css/css-position/overlay/overlay-valid.html
new file mode 100644
index 0000000000..8d808ac6dc
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/overlay/overlay-valid.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<title>CSS Positioned Layout Module Test: parsing overlay with valid values</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>
+ // overlay: none | auto
+ test_valid_value("overlay", "none");
+ test_valid_value("overlay", "auto");
+ test_valid_value("overlay", "inherit");
+ test_valid_value("overlay", "initial");
+ test_valid_value("overlay", "revert");
+ test_valid_value("overlay", "unset");
+</script>