| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>CSS Box Alignment: place-self shorthand - Shorthand 'specified' and 'reso
lved' value</title> |
| 3 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com"
/> |
| 4 <link rel="help" href="http://www.w3.org/TR/css3-align/#place-self-property" /> |
| 5 <meta name="assert" content="Check the place-self's 'specified' and 'resolved' v
alues serialization." /> |
| 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> |
| 8 <script src="../resources/alignment-parsing-utils.js"></script> |
| 9 <div id="log"></div> |
| 10 <script> |
| 11 var values = ["auto", "normal", "stretch"].concat(selfPositionValues, baseli
neValues); |
| 12 values.forEach(function(alignValue) { |
| 13 [""].concat(values).forEach(function(justifyValue) { |
| 14 var value = (alignValue + " " + justifyValue).trim(); |
| 15 test(function() { |
| 16 checkPlaceShorhand("place-self", alignValue, justifyValue) |
| 17 }, "Checking place-self: " + value); |
| 18 }); |
| 19 }); |
| 20 </script> |
| OLD | NEW |