Skip to content

Commit 87d5aa9

Browse files
jkim-juliechromium-wpt-export-bot
authored andcommitted
[css-flexbox] Move justify-content-space-between.html to WPT
This CL migrates this test out of third_party/blink/web_tests/css3/flexbox and into the WPT-specific directory, adding links to the relevant specs and a test assertion describing its purpose and renames it to justify-content_space-between-002.html. Bug: 1063749 Change-Id: Ib4c2a87c230e1e8865be868e7bfc7d5273bcc865 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2121639 Commit-Queue: David Grogan <[email protected]> Reviewed-by: Robert Ma <[email protected]> Reviewed-by: David Grogan <[email protected]> Cr-Commit-Position: refs/heads/master@{#754076}
1 parent a2c62c8 commit 87d5aa9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<title>CSS Flexbox: justify-content: space-between on the last item of a column</title>
3+
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-containers">
4+
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#justify-content-property">
5+
<link rel="bookmark" href="https://crbug.com/690024">
6+
<meta name="assert" content="This test checks when processing the last item on a column we should not add justify-content space to the row height.">
7+
<style>
8+
.flexbox {
9+
display: flex;
10+
flex-direction: column;
11+
justify-content: space-between;
12+
min-height: 500px;
13+
}
14+
</style>
15+
<script src="/resources/testharness.js"></script>
16+
<script src="/resources/testharnessreport.js"></script>
17+
<script src="/resources/check-layout-th.js"></script>
18+
<body onload="checkLayout('.flexbox')">
19+
<div class="flexbox" data-expected-height="500">
20+
<div>First item</div>
21+
<div>Second item</div>
22+
</div>

0 commit comments

Comments
 (0)