wpt / css / css-align / default-alignment / parse-justify-items-004.html

Status: PASS | Duration: 77ms | Subtests: 32/32 | Open test on wpt.live | wpt.fyi

Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)

SubtestStatusMessage
Checking invalid combination - justify-items: autoPASS
Checking invalid combination - justify-items: space-aroundPASS
Checking invalid combination - justify-items: auto safePASS
Checking invalid combination - justify-items: auto leftPASS
Checking invalid combination - justify-items: normal unsafePASS
Checking invalid combination - justify-items: normal stretchPASS
Checking invalid combination - justify-items: baseline normalPASS
Checking invalid combination - justify-items: baseline centerPASS
Checking invalid combination - justify-items: first baseline centerPASS
Checking invalid combination - justify-items: last baseline centerPASS
Checking invalid combination - justify-items: baseline lastPASS
Checking invalid combination - justify-items: baseline firstPASS
Checking invalid combination - justify-items: stretch unsafePASS
Checking invalid combination - justify-items: stretch rightPASS
Checking invalid combination - justify-items: unsafe unsafePASS
Checking invalid combination - justify-items: unsafe safePASS
Checking invalid combination - justify-items: center startPASS
Checking invalid combination - justify-items: unsafe stretchPASS
Checking invalid combination - justify-items: safe stretchPASS
Checking invalid combination - justify-items: baseline safePASS
Checking invalid combination - justify-items: unsafe baselinePASS
Checking invalid combination - justify-items: unsafe safe leftPASS
Checking invalid combination - justify-items: unsafe left safePASS
Checking invalid combination - justify-items: left safe unsafe safePASS
Checking invalid combination - justify-items: start safePASS
Checking invalid combination - justify-items: safePASS
Checking invalid combination - justify-items: legacy startPASS
Checking invalid combination - justify-items: legacy endPASS
Checking invalid combination - justify-items: legacy right unsafePASS
Checking invalid combination - justify-items: legacy autoPASS
Checking invalid combination - justify-items: legacy stretchPASS
Checking invalid combination - justify-items: legacy left rightPASS

/css/css-align/default-alignment/parse-justify-items-004.html

<!DOCTYPE html>
<meta charset=utf-8>
<title>Default-Alignment: justify-items - invalid values</title>
<link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" />
<link rel="help" href="https://drafts.csswg.org/css-align-3/#default-alignment" />
<link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-justify-items" />
<meta name="assert" content="Check bad combinations of specified values."/>
<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>
    element = document.createElement("div");
    document.body.appendChild(element);

    let values = ["auto", "space-around"].concat(invalidPositionValues, invalidLegacyValues);

    values.forEach(function(value) {
        test(function() {
            checkBadValues(element, "justifyItems", "justify-items",  value);
        }, "Checking invalid combination - justify-items: " + value);
    });

</script>