<!DOCTYPE html>
<div>
This test reproduced the wrong call to LayerScrollableArea::updateAfterLayout()
from LayoutBox::setLocationAndUpdateOverflowControlsIfNeeded() which caused incorrect
LayoutBlock::baselinePosition() for later layout.
</div>
<div style="vertical-align: baseline; display: inline-block">
  <div id="left" style="display: inline-block; width: 100.4px; background-color: green">left
  </div><!-- No whitespace --><div id="right" style="display: inline-block; width: 300.4px; background-color: yellow; font-size: 100px">
    <span style="position: relative; top: -10px">right</span>
  </div>
</div>
