blob: 6a79d04109f8e6032f8e42509b6f917774a8f5e4 [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Box Alignment: place-content shorthand - multiple values specified</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel="help" href="http://www.w3.org/TR/css3-align/#propdef-place-content" />
<meta name="assert" content="Check that setting two values to place-content sets the first one to 'align-content' and the second one to 'justify-content'." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/alignment-parsing-utils.js"></script>
<div id="log"></div>
<script>
var values1 = ["normal"].concat(contentPositionValues, distributionValues, baselineValues);
var values2 = contentPositionValues.concat(distributionValues, baselineValues);
values1.forEach(function(alignValue) {
values2.forEach(function(justifyValue) {
test(function() { checkPlaceContent(alignValue, justifyValue) },
"place-content: " + alignValue + " " + justifyValue);
});
});
</script>