On chrome 47 (correct behavior):
On chrome 47, that div with .scroll is scrolling correctly, taking height 100% using flex.
On firefox (wrong behavior):
While on firefox, that div with .scroll is using the content height and not scrolling properly.
What is the cross-browser solution to this problem?
for (var i = 0; i < 100; i++)
  $(".scroll").append("Dynamic content<br>");body,
html {
  margin: 0;
  padding: 0;
}
.container {
  box-sizing: border-box;
  position: absolute;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.content {
  background: yellow;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.scroll {
  flex: 1 1 auto;
  overflow: scroll;
}<div class="container">
  
  <div class="bar">Small</div>
  
  <div class="content">
    
    <div>Static content</div>
    <div class="scroll"></div>
    <div>Static content</div>
    
  </div>
  
  <div class="footer">Small</div>
  
</div>Question updated to distinguish between Chrome 47 and Chrome 48.
 
    