gecko-dev/testing/web-platform/tests/css/css-text/parsing/line-break-valid.html
Eric Willigers a785aa8e25 Bug 1523562 [wpt PR 14962] - [css-text] Parsing of CSS Text properties, a=testonly
Automatic update from web-platform-tests
[css-text] Parsing of CSS Text properties (#14962)

Test that CSS Text 3 properties accept the grammar
from the specification
https://www.w3.org/TR/css-text-3/#property-index
--

wpt-commits: ad7a8f60ff24f1acf7e4a7e3acdf9fd1ebe70b2d
wpt-pr: 14962
2019-02-07 21:50:53 +00:00

21 lines
742 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Text Module Test: parsing line-break with valid values</title>
<link rel="help" href="https://www.w3.org/TR/css-text-3/#propdef-line-break">
<meta name="assert" content="line-break supports the full grammar 'auto | loose | normal | strict | 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_valid_value("line-break", "auto");
test_valid_value("line-break", "loose");
test_valid_value("line-break", "normal");
test_valid_value("line-break", "strict");
test_valid_value("line-break", "anywhere");
</script>
</body>
</html>