-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Expand file tree
/
Copy pathborder-shape-valid.html
More file actions
17 lines (17 loc) · 958 Bytes
/
border-shape-valid.html
File metadata and controls
17 lines (17 loc) · 958 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Borders and Box Decorations 4 Test: Parsing 'border-shape' with valid values</title>
<link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-shape">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script>
test_valid_value("border-shape", "none");
test_valid_value("border-shape", "circle()");
test_valid_value("border-shape", "polygon(10px 10px, 100px 10px, 10px 100px)");
test_valid_value("border-shape", "shape(from 0px 0px, hline to 100px, vline to 100px, close)");
test_valid_value("border-shape", "circle() circle()");
test_valid_value("border-shape", "circle() polygon(10px 10px, 100px 10px, 10px 100px)");
test_valid_value("border-shape", "circle() border-box circle() content-box");
test_valid_value("border-shape", "circle() margin-box circle() view-box");
</script>