blob: aa9962191acf7f4ef6a00a776cbab0d18855a14c [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Box Alignment: place-content shorthand - Shorthand 'specified' and 'resolved' value</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 the place-content's 'specified' and 'resolved' values serialization." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../resources/alignment-parsing-utils.js"></script>
<div id="log"></div>
<div id="test"></div>
<script>
var values = ["normal"].concat(contentPositionValues, distributionValues, baselineValues);
values.forEach(function(alignValue) {
[""].concat(values).forEach(function(justifyValue) {
var value = (alignValue + " " + justifyValue).trim();
test(function() {
checkPlaceShorhand("place-content", alignValue, justifyValue)
}, "Checking place-content: " + value);
});
});
</script>