place-content-computed.html (1979B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Box Alignment Level 3: getComputedStyle().placeContent</title> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-place-content"> 7 <meta name="assert" content="place-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("place-content", "normal normal", "normal"); 16 17 test_computed_value("place-content", "first baseline", "baseline start"); 18 test_computed_value("place-content", "baseline", "baseline start"); 19 test_computed_value("place-content", "first baseline start", "baseline start"); 20 test_computed_value("place-content", "last baseline", "last baseline start"); 21 test_computed_value("place-content", "first baseline stretch", "baseline stretch"); 22 test_computed_value("place-content", "last baseline flex-start"); 23 24 test_computed_value("place-content", "baseline stretch"); 25 26 test_computed_value("place-content", "space-between"); 27 test_computed_value("place-content", "space-around"); 28 test_computed_value("place-content", "space-evenly"); 29 test_computed_value("place-content", "stretch"); 30 31 test_computed_value("place-content", "center"); 32 test_computed_value("place-content", "end"); 33 test_computed_value("place-content", "flex-start flex-start", "flex-start"); 34 test_computed_value("place-content", "unsafe end unsafe end", "unsafe end"); 35 test_computed_value("place-content", "safe flex-start"); 36 37 test_computed_value("place-content", "normal stretch"); 38 test_computed_value("place-content", "baseline space-around"); 39 test_computed_value("place-content", "space-evenly unsafe end"); 40 test_computed_value("place-content", "center normal"); 41 42 test_computed_value("place-content", "normal right"); 43 test_computed_value("place-content", "baseline unsafe left"); 44 </script> 45 </body> 46 </html>