gecko-dev/testing/web-platform/tests/css/css-align/parsing/row-gap-valid.html
Eric Willigers ca81fcb719 Bug 1572907 [wpt PR 18364] - [css-align] Parsing of row-gap, a=testonly
Automatic update from web-platform-tests
[css-align] Parsing of row-gap (#18364)

row-gap is 'normal' or a non-negative length-percentage.
https://drafts.csswg.org/css-align-3/#propdef-row-gap
--

wpt-commits: 26c82a64e8db717dbe256b61bded37c50a1eea5e
wpt-pr: 18364
2019-08-15 02:16:46 +00:00

22 lines
723 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Box Alignment Level 3: parsing row-gap with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-row-gap">
<meta name="assert" content="row-gap supports the full grammar 'normal | <length-percentage>'.">
<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("row-gap", "normal");
test_valid_value("row-gap", "10px");
test_valid_value("row-gap", "20%");
test_valid_value("row-gap", "calc(20% + 10px)");
test_valid_value("row-gap", "0", "0px");
</script>
</body>
</html>