https://github.com/web-platform-tests/wpt
Raw File
Tip revision: f234546e7a085b82058d2ab0b43b3396e256405c authored by Ovidio Henriquez on 23 March 2018, 17:54:47 UTC
bluetooth: Impl. setNextWriteResponse (descriptor)
Tip revision: f234546
percentage-widths-001-ref.html
<!DOCTYPE html>
<link rel="author" title="Google Inc." href="http://www.google.com/">
<style>
body {
  position: relative;
  width: 600px;
  height: 800px;
}

#container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
}

#top-bar {
  background-color: green;
  width: 100px;
}

#content {
  background-color: blue;
  width: 500px;
}
</style>


<div id="container">
  <div id="top-bar">
  Tests that percentage widths get resolved correctly when the flexbox is
  </div>
  <div id="content">
  absolutely positioned without an explicit width. You should see no red.
  </div>
</div>


back to top