summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/parsing/page-invalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/parsing/page-invalid.html')
-rw-r--r--testing/web-platform/tests/css/css-page/parsing/page-invalid.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/parsing/page-invalid.html b/testing/web-platform/tests/css/css-page/parsing/page-invalid.html
new file mode 100644
index 0000000000..2c373a7d7f
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/parsing/page-invalid.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-page-3/#using-named-pages">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/parsing-testcommon.js"></script>
+<script>
+ test_invalid_value("page", "not valid");
+ test_invalid_value("page", "not,valid");
+ test_invalid_value("page", "123px");
+ test_invalid_value("page", "calc(10%+1px)");
+ test_invalid_value("page", "default");
+</script>