border-shape-valid.html (958B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Borders and Box Decorations 4 Test: Parsing 'border-shape' with valid values</title> 4 <link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-shape"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/css/support/parsing-testcommon.js"></script> 8 <script> 9 test_valid_value("border-shape", "none"); 10 test_valid_value("border-shape", "circle()"); 11 test_valid_value("border-shape", "polygon(10px 10px, 100px 10px, 10px 100px)"); 12 test_valid_value("border-shape", "shape(from 0px 0px, hline to 100px, vline to 100px, close)"); 13 test_valid_value("border-shape", "circle() circle()"); 14 test_valid_value("border-shape", "circle() polygon(10px 10px, 100px 10px, 10px 100px)"); 15 test_valid_value("border-shape", "circle() border-box circle() content-box"); 16 test_valid_value("border-shape", "circle() margin-box circle() view-box"); 17 </script>