blob: a946ef3ed6ad453a532be8bfcc1f523d618a621d [file] [log] [blame]
<!DOCTYPE html>
<title>CSS Box Alignment: place-self shorthand - initial value</title>
<link rel="author" title="Javier Fernandez" href="" />
<link rel="help" href="" />
<meta name="assert" content="Check that place-self's 'initial' value expands to 'align-self' and 'justify-self'." />
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
var div = document.createElement("div");
document.body.appendChild(div);["align-self"] = "start";["justify-self"] = "end";
div.setAttribute("style", "place-self: initial");
test(function() {
"initial", "place-self specified value for align-self");
}, "Check place-self: initial - align-self expanded value");
test(function() {
"initial", "place-self specified value for justify-self");
}, "Check place-self: initial - justify-self expanded value");