Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing text-spacing-trim with invalid values</title>
<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("text-spacing-trim", "none");
test_invalid_value("text-spacing-trim", "normal space-all");
test_invalid_value("text-spacing-trim", "normal space-first");
test_invalid_value("text-spacing-trim", "auto space-all");
test_invalid_value("text-spacing-trim", "auto space-first");
test_invalid_value("text-spacing-trim", "allow-end");
test_invalid_value("text-spacing-trim", "trim-auto");
test_invalid_value("text-spacing-trim", "allow-end space-first");
test_invalid_value("text-spacing-trim", "space-first allow-end");
</script>
</body>
</html>