<!DOCTYPE HTML>
<html class="reftest-print">
<title>Test for setting and handling of mIsTopOfPage on floats</title>
<body style="margin: 0">
<div style="float: left">
  <div><div style="display:inline-block; vertical-align: top; height: 3in; width: 1in; background: aqua"></div></div>
  <div><div style="display:inline-block; vertical-align: top; height: 1in; width: 1in; background: yellow"></div></div>
</div>