Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
            
- /css/css-align/content-distribution/place-content-shorthand-001.html - WPT Dashboard Interop Dashboard
 
 
<!DOCTYPE html>
<title>CSS Box Alignment: place-content shorthand - single values specified</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<meta name="assert" content="Check that setting a single value to place-content expands to such value set in both 'align-content' and 'justify-content'." />
<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>
<script>
    let classes = Object.assign({"Normal":"normal"}, contentPositionClasses, distributionClasses, overflowClasses);
    for (var key in classes) {
        let value = classes[key];
        test(function() {
            checkPlaceShorhandLonghands("place-content", "align-content", "justify-content", value);
        }, "Checking place-content: " + value);
    }
</script>