<!DOCTYPE html>
<title>CSS Test: Absolutely positioned children of flexboxes</title>
<link rel="author" title="Google Inc." href="http://www.google.com/">
<link rel="help" href="https://drafts.csswg.org/css-flexbox/#abspos-items">
<meta name="flags" content="dom">
<meta name="assert" content="Checks that we correctly handle when a flex item
becomes absolutely positioned">
<style>
#flex {
  display: flex;
  position: relative;
  background: red;
  width: 500px;
  height: 200px;
}

#item {
  background: green