layout/reftests/css-valuesandunits/unit-vh-vw-overflow-scroll-iframe.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <style>
     2   body { overflow: scroll }
     3   div {
     4     width: 10px;
     5     height: 10px;
     6     background-color: #d64203;
     7   }
     8 </style>
    10 <body>
    11   <div style="width: 50vw"></div>
    12   <div style="height: 25vh"></div>
    13   <div style="width: 35vmin"></div>
    14   <div style="height: 25vmax"></div>
    16   <!--
    17   Ensure that the scroller positioned the same way as it would be in the
    18   'overflow: auto' case. We'll have scrollbars either way, but we don't
    19   want the '!=' reftest to spuriously succeed because of the scrollers.
    20   -->
    21   <div style="width: 500px; height: 500px; background-color: black">
    22 </body>

mercurial