Commit bec886ac authored by Antonio Gomes's avatar Antonio Gomes Committed by Commit Bot

[css-flexbox]: Migrate multiline-shrink-to-fit.html to WPT

BUG=1063749
R=cbiesinger@chromium.org

Change-Id: Id12f61879857b18eef099acdcb7bee2d3741850e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132986Reviewed-by: default avatarDavid Grogan <dgrogan@chromium.org>
Commit-Queue: Antonio Gomes <tonikitoo@igalia.com>
Cr-Commit-Position: refs/heads/master@{#755553}
parent be9f8beb
<!DOCTYPE html>
<html>
<title>CSS Flexbox: multiline column flexboxes and shrink-to-fit.</title>
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#intrinsic-sizes">
<link rel="match" href="reference/multiline-shrink-to-fit-ref.html">
<meta name="assert" content="This test ensures that multiline column flexboxes shrink-to-fit works properly."/>
<style>
.flexbox {
display: flex;
background-color: #aaa;
position: relative;
flex-wrap: wrap;
flex-direction: column;
float: left;
align-content: flex-start;
display: flex;
background-color: #aaa;
position: relative;
flex-wrap: wrap;
flex-direction: column;
float: left;
align-content: flex-start;
}
.flexbox > * {
flex: none;
flex: none;
}
.flexbox :nth-child(1) {
background-color: lightblue;
background-color: lightblue;
}
.flexbox :nth-child(2) {
background-color: lightgreen;
background-color: lightgreen;
}
.flexbox :nth-child(3) {
background-color: pink;
background-color: pink;
}
.flexbox :nth-child(4) {
background-color: yellow;
background-color: yellow;
}
</style>
<body>
<p>Test to make sure that multiline column flexboxes shrink-to-fit properly.</p>
<div class="flexbox">
<div style="width: 100px; height: 20px"></div>
......
......@@ -31,7 +31,6 @@ td {
</style>
<body>
<p>Test to make sure that multiline column flexboxes shrink-to-fit properly.</p>
<div class="testcase" style="height: 60px; width: 100px">
<div style="width: 100px; height: 20px"></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