mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
Automatic update from web-platform-tests [css-multicol] property parsing, computed values (#14259) Test that CSS Multi-column Layout properties parse exactly the grammar specified in the spec. https://drafts.csswg.org/css-multicol/ Test that computed values are as specified, with lengths made absolute. -- wpt-commits: fa234f78976ca7abea803fceb3eb53ad3a8603d2 wpt-pr: 14259
24 lines
895 B
HTML
24 lines
895 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Multi-column Layout: parsing column-rule-width with invalid values</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-multicol/#propdef-column-rule-width">
|
|
<meta name="assert" content="column-rule-width supports only the <line-width> grammar '<length> | thin | medium | thick'.">
|
|
<meta name="assert" content="column-rule-width rejects negative lengths.">
|
|
<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("column-rule-width", "auto");
|
|
|
|
test_invalid_value("column-rule-width", "10");
|
|
test_invalid_value("column-rule-width", "-20px");
|
|
test_invalid_value("column-rule-width", "30%");
|
|
|
|
test_invalid_value("column-rule-width", "medium 40px");
|
|
</script>
|
|
</body>
|
|
</html>
|