blob: 40890775ca563101f4ebcb4d46ecd439bececb61 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing word-wrap with invalid values</title>
<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-word-wrap">
<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>