Commit a54c8ab7 authored by Julie Jeongeun Kim's avatar Julie Jeongeun Kim Committed by Commit Bot

[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 <dgrogan@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#754076}
parent c9f1ffe0
<!DOCTYPE html>
<title>CSS Flexbox: justify-content: space-between on the last item of a column</title>
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#flex-containers">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#justify-content-property">
<link rel="bookmark" href="https://crbug.com/690024">
<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.">
<style>
.flexbox {
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 500px;
}
</style>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../../resources/check-layout-th.js"></script>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/check-layout-th.js"></script>
<body onload="checkLayout('.flexbox')">
<div class="flexbox" data-expected-height="500">
<div>First item</div>
<div>Second item</div>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment