layout/reftests/css-valuesandunits/unit-vh-vw-overflow-scroll-iframe.html
author Birunthan Mohanathas <birunthan@mohanathas.com>
Sun, 08 Dec 2013 21:52:54 -0500
changeset 159462 e0776db3b102510504fdcf57b7f65dfa1da3b46d
parent 126894 ccd3d04a3d437a51e0ef5725e0bc5f65375bda1c
permissions -rw-r--r--
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo

<style>
  body { overflow: scroll }
  div {
    width: 10px;
    height: 10px;
    background-color: #d64203;
  }
</style>

<body>
  <div style="width: 50vw"></div>
  <div style="height: 25vh"></div>
  <div style="width: 35vmin"></div>
  <div style="height: 25vmax"></div>

  <!--
  Ensure that the scroller positioned the same way as it would be in the
  'overflow: auto' case. We'll have scrollbars either way, but we don't
  want the '!=' reftest to spuriously succeed because of the scrollers.
  -->
  <div style="width: 500px; height: 500px; background-color: black">
</body>