diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html')
-rw-r--r-- | testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html b/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html new file mode 100644 index 0000000000..b618bcb5da --- /dev/null +++ b/testing/web-platform/tests/css/css-ruby/parsing/ruby-merge-invalid.html @@ -0,0 +1,23 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="utf-8"> +<title>CSS Ruby Layout: parsing ruby-merge with invalid values</title> +<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property"> +<meta name="assert" content="ruby-merge supports only the grammar 'separate | merge | auto'."> +<script src="/resources/testharness.js"></script> +<script src="/resources/testharnessreport.js"></script> +<script src="/css/support/parsing-testcommon.js"></script> +</head> +<body> +<script> +test_invalid_value("ruby-merge", "none"); +test_invalid_value("ruby-merge", "collapse"); +test_invalid_value("ruby-merge", "10px"); + +test_invalid_value("ruby-merge", "merge separate"); +test_invalid_value("ruby-merge", "merge auto"); +test_invalid_value("ruby-merge", "auto separate"); +</script> +</body> +</html> |