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 word-wrap with invalid values</title>
<meta name="assert" content="word-wrap supports only the grammar 'normal | break-word | anywhere'.">
<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("word-wrap", "auto");
test_invalid_value("word-wrap", "normal break-word");
test_invalid_value("word-wrap", "anywhere anywhere");
</script>
</body>
</html>