blob: 6c14c7751bb2ec963ef772d32e56542d369b7d70 [file] [edit]
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Overflow: parsing continue with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow-4/#propdef-continue">
<meta name="assert" content="continue supports only the grammar 'normal | discard | collapse', as well as '-webkit-legacy' for legacy compatibility.">
<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("continue", 'none');
test_invalid_value("continue", 'auto');
test_invalid_value("continue", 'auto discard');
test_invalid_value("continue", 'auto collapse');
test_invalid_value("continue", 'auto -webkit-legacy');
test_invalid_value("continue", 'normal discard');
test_invalid_value("continue", 'normal collapse');
test_invalid_value("continue", 'normal -webkit-legacy');
test_invalid_value("continue", 'collapse -webkit-legacy');
</script>
</body>
</html>