border-inline-valid.html (1083B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Logical Properties and Values: parsing border-inline with valid values</title> 6 <link rel="help" href="https://drafts.csswg.org/css-logical/#propdef-border-inline"> 7 <meta name="assert" content="border-inline supports the full grammar '<line-width> || <line-style> || <color>'."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/parsing-testcommon.js"></script> 11 </head> 12 <body> 13 <script> 14 // Similar to css-backgrounds/parsing/border-valid.html 15 16 test_valid_value("border-inline", "1px dotted red"); 17 test_valid_value("border-inline", "double", ["double", "medium double"]); 18 19 test_valid_value("border-inline-start", "green double thin", "thin double green"); 20 test_valid_value("border-inline-start", "green", ["green", "medium none green"]); 21 test_valid_value("border-inline-end", "thin", ["thin", "thin none"]); 22 test_valid_value("border-inline-end", "calc(10px - 0.5em) dotted red", "calc(-0.5em + 10px) dotted red"); 23 </script> 24 </body> 25 </html>