summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/parsing/border-spacing-invalid.html
blob: 47fd283ccfb4fabdb73ed0853d3f4942bb54a7c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Table Module Test: parsing border-spacing with invalid values</title>
<link rel="help" href="https://drafts.csswg.org/css-tables/#propdef-border-spacing">
<meta name="assert" content="border-spacing supports only the grammar '<length>{1,2}'.">
<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("border-spacing", "10%");
test_invalid_value("border-spacing", "-20px");
test_invalid_value("border-spacing", "30");
test_invalid_value("border-spacing", "40px 50px 60px");
</script>
</body>
</html>