wpt / css / css-align / parsing / align-self-computed.html

Status: PASS | Duration: 61ms | Subtests: 14/14 | 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
Property align-self value 'auto'PASS
Property align-self value 'normal'PASS
Property align-self value 'stretch'PASS
Property align-self value 'baseline'PASS
Property align-self value 'last baseline'PASS
Property align-self value 'center'PASS
Property align-self value 'start'PASS
Property align-self value 'end'PASS
Property align-self value 'self-start'PASS
Property align-self value 'self-end'PASS
Property align-self value 'flex-start'PASS
Property align-self value 'flex-end'PASS
Property align-self value 'unsafe center'PASS
Property align-self value 'safe self-end'PASS

/css/css-align/parsing/align-self-computed.html

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Box Alignment Level 3: getComputedStyle().alignSelf</title>
<link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-align-self">
<meta name="assert" content="align-self computed value is as specified.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
</head>
<body>
<div id="target"></div>
<script>
test_computed_value("align-self", "auto");
test_computed_value("align-self", "normal");
test_computed_value("align-self", "stretch");

test_computed_value("align-self", "baseline");
test_computed_value("align-self", "last baseline");

test_computed_value("align-self", "center");
test_computed_value("align-self", "start");
test_computed_value("align-self", "end");
test_computed_value("align-self", "self-start");
test_computed_value("align-self", "self-end");
test_computed_value("align-self", "flex-start");
test_computed_value("align-self", "flex-end");
test_computed_value("align-self", "unsafe center");
test_computed_value("align-self", "safe self-end");
</script>
</body>
</html>