blob: bd95302c3f2869f93eebdb3aff017a9fdcee2f9a [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Box Alignment: place-self shorthand - single values specified</title>
<link rel="author" title="Javier Fernandez" href="" />
<link rel="help" href="" />
<meta name="assert" content="Check that setting a single value to place-self expands to such value set in both 'align-self' and 'justify-self'." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/css-align/resources/alignment-parsing-utils.js"></script>
<div id="log"></div>
let classes = Object.assign({"Auto":"auto", "Normal":"normal", "Stretch":"stretch"}, selfPositionClasses,
baselineClasses, overflowClasses);
for (var key in classes) {
let value = classes[key];
test(function() {
checkPlaceShorhandLonghands("place-self", "align-self", "justify-self", value);
}, "Checking place-self: " + value);