justify-content-computed.html (1276B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Box Alignment Level 3: getComputedStyle().justifyContent</title> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-content"> 7 <meta name="assert" content="justify-content computed value is as specified."> 8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/css/support/computed-testcommon.js"></script> 11 </head> 12 <body> 13 <div id="target"></div> 14 <script> 15 test_computed_value("justify-content", "normal"); 16 17 test_computed_value("justify-content", "space-between"); 18 test_computed_value("justify-content", "space-around"); 19 test_computed_value("justify-content", "space-evenly"); 20 test_computed_value("justify-content", "stretch"); 21 22 test_computed_value("justify-content", "center"); 23 test_computed_value("justify-content", "start"); 24 test_computed_value("justify-content", "end"); 25 test_computed_value("justify-content", "flex-start"); 26 test_computed_value("justify-content", "flex-end"); 27 test_computed_value("justify-content", "unsafe end"); 28 test_computed_value("justify-content", "safe flex-start"); 29 test_computed_value("justify-content", "left"); 30 test_computed_value("justify-content", "unsafe right"); 31 </script> 32 </body> 33 </html>