Automatic update from web-platform-tests [Align] Parse `flow-start` and `flow-end` keyword Parse the `flow-start` and `flow-end` keywords and ensure that they evaluate to the same value as `start` and `end` when no placement reversals are applied. The change is gated behind a separate flag from grid lanes, since it will apply to all layout modes. We decided we wanted those keywords in the resolution of this CSSWG issue [1]. A follow-up change will be needed to implement and test `flow-start` and `flow-end` when `fill-reverse` and `track-reverse` are applied, as well as for using the `kFlowStart/End` keyword in the code instead of `kFlexStart/End`. Copies of tests were added in both the `css-flex` and `css-align` folders. [1] https://github.com/w3c/csswg-drafts/issues/14052 Bug: 343257585, 555299635 Change-Id: I5dc0707fbcfeff3674d1884aaf38afa1c9e860fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8307932 Reviewed-by: Alison Maher <almaher@microsoft.com> Commit-Queue: Celeste Pan <celestepan@microsoft.com> Cr-Commit-Position: refs/heads/main@{#1693943} -- wpt-commits: 272061587f284327e2f620b29c6444e7a193f628 wpt-pr: 62469
39 lines
1.4 KiB
HTML
39 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Box Alignment Level 3: getComputedStyle().alignContent</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-align-3/#propdef-align-content">
|
|
<meta name="assert" content="align-content 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-content", "normal");
|
|
|
|
test_computed_value("align-content", "baseline");
|
|
test_computed_value("align-content", "last baseline");
|
|
|
|
test_computed_value("align-content", "space-between");
|
|
test_computed_value("align-content", "space-around");
|
|
test_computed_value("align-content", "space-evenly");
|
|
test_computed_value("align-content", "stretch");
|
|
|
|
test_computed_value("align-content", "center");
|
|
test_computed_value("align-content", "start");
|
|
test_computed_value("align-content", "end");
|
|
test_computed_value("align-content", "flex-start");
|
|
test_computed_value("align-content", "flex-end");
|
|
test_computed_value("align-content", "flow-start");
|
|
test_computed_value("align-content", "flow-end");
|
|
test_computed_value("align-content", "safe flow-start");
|
|
test_computed_value("align-content", "unsafe flow-end");
|
|
test_computed_value("align-content", "unsafe end");
|
|
test_computed_value("align-content", "safe flex-start");
|
|
</script>
|
|
</body>
|
|
</html>
|