1
0
Fork 0
firefox/testing/web-platform/tests/css/css-align/parsing/align-self-computed.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

33 lines
1.2 KiB
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>