blob: 193163314c3d1a532bc095f3c0fa5c269bcebcc0 [file] [log] [blame]
<!DOCTYPE html>
| Flexbox unit test from csswg.
<html><head><meta charset="utf-8">
<title>CSS Flexbox Test: Indefinite % flex-basis should cause height to be ignored</title>
<link href="" rel="author" title="Google LLC">
<link href="" rel="help">
<link href="reference/ref-filled-green-100px-square.htm" rel="match">
body {
margin: 0px;
background-color: white;
font-family: Roboto;
font-size: 16px;
#container {
background-color: red;
display: flex;
width: 100px;
flex-direction: column;
#item {
flex: 0 0 0%;
height: 500px;
background-color: red;
#child {
width: 100px; /* Cobalt does not support sizing from intrinsic ratio */
height: 100px;
background-color: green;
<span>Test passes if there is a filled green square and no red.</span>
<div id="container">
<div id="item">
<div id="child"></div>