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