blob: fb5dce1b13428e5887a66b8a2a378cc540d99c47 [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Box Alignment: place-self shorthand - Shorthand 'specified' and 'resolved' value</title>
<link rel="author" title="Javier Fernandez" href="" />
<link rel="help" href="" />
<meta name="assert" content="Check the place-self's 'specified' and 'resolved' values serialization." />
<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,
for (var key1 in classes) {
let alignValue = classes[key1];
let classes2 = Object.assign({"Left":"left", "Right":"right"}, classes);
for (var key2 in classes2) {
let justifyValue = classes2[key2];
var value = (alignValue + " " + justifyValue).trim();
test(function() {
checkPlaceShorhand("place-self", value, alignValue, justifyValue)
}, "Checking place-self: " + value);